Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001975/0.001975, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003221/0.003221, allocations: 216.4 kB / 22.25 MB, free: 4.852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.486/1.486, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.212/3.212, allocations: 0.4892 GB / 0.7943 GB, free: 35.49 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00231/0.00231, allocations: 68.75 kB / 1.153 GB, free: 25.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.3333, allocations: 176.1 MB / 1.325 GB, free: 2.363 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.005925/0.3392, allocations: 3.099 MB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003264/0.3425, allocations: 1.691 MB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002058/0.3427, allocations: 7.938 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.00113/0.3438, allocations: 339.9 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005827/0.3444, allocations: 215.1 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005123/0.3449, allocations: 175.6 kB / 1.33 GB, free: 12.83 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004795/0.3454, allocations: 323 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003766/0.3457, allocations: 177.4 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003066/0.3461, allocations: 147.5 kB / 1.331 GB, free: 12.19 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003773/0.3464, allocations: 163.4 kB / 1.331 GB, free: 12.03 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.313e-05/0.3465, allocations: 20 kB / 1.331 GB, free: 12.01 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004199/0.3469, allocations: 215.5 kB / 1.331 GB, free: 11.8 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001484/0.3471, allocations: 103.8 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001507/0.3472, allocations: 103.5 kB / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007387/0.3479, allocations: 426.5 kB / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3479, allocations: 4 kB / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.164e-06/0.3479, allocations: 0 / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.094e-05/0.348, allocations: 4 kB / 1.332 GB, free: 11.17 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001199/0.3492, allocations: 485.3 kB / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.3492, allocations: 8.031 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.587e-05/0.3493, allocations: 62.7 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007895/0.3501, allocations: 92.69 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004745/0.3506, allocations: 206 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.71e-05/0.3506, allocations: 16.8 kB / 1.333 GB, free: 10.26 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001281/0.3507, allocations: 28.55 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007626/0.3515, allocations: 424 kB / 1.333 GB, free: 9.777 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.192e-05/0.3515, allocations: 3.938 kB / 1.333 GB, free: 9.773 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.447e-05/0.3515, allocations: 8 kB / 1.333 GB, free: 9.766 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001088/0.3517, allocations: 32.41 kB / 1.333 GB, free: 9.734 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005629/0.3522, allocations: 305.5 kB / 1.334 GB, free: 9.438 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002095/0.3543, allocations: 1.085 MB / 1.335 GB, free: 8.289 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004986/0.3548, allocations: 218.3 kB / 1.335 GB, free: 8.066 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001747/0.355, allocations: 110.5 kB / 1.335 GB, free: 7.957 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001256/0.3551, allocations: 11.98 kB / 1.335 GB, free: 7.945 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.567e-05/0.3551, allocations: 34.56 kB / 1.335 GB, free: 7.902 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 1.693e-06/0.3551, allocations: 0 / 1.335 GB, free: 7.902 MB / 1.029 GB Notification: Performance of matching and sorting (n=19): time 0.001518/0.3567, allocations: 0.7246 MB / 1.336 GB, free: 7.148 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.292e-05/0.3567, allocations: 51.41 kB / 1.336 GB, free: 7.086 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002572/0.357, allocations: 198.7 kB / 1.336 GB, free: 6.883 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.667e-05/0.357, allocations: 33.7 kB / 1.336 GB, free: 6.844 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001578/0.3572, allocations: 164.2 kB / 1.336 GB, free: 6.68 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.903e-05/0.3573, allocations: 67.42 kB / 1.336 GB, free: 6.613 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001362/0.3574, allocations: 57.69 kB / 1.336 GB, free: 6.551 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001942/0.3576, allocations: 326.8 kB / 1.337 GB, free: 6.223 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000199/0.3578, allocations: 115.9 kB / 1.337 GB, free: 6.109 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000263/0.358, allocations: 173.9 kB / 1.337 GB, free: 5.918 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005117/0.3586, allocations: 291.6 kB / 1.337 GB, free: 5.613 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.3586, allocations: 4 kB / 1.337 GB, free: 5.609 MB / 1.029 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000899/0.3595, allocations: 420 kB / 1.338 GB, free: 5.191 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.3595, allocations: 8 kB / 1.338 GB, free: 5.184 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.3595, allocations: 0 / 1.338 GB, free: 5.184 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004437/0.3599, allocations: 104.7 kB / 1.338 GB, free: 5.078 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002624/0.3602, allocations: 51.95 kB / 1.338 GB, free: 5.027 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002659/0.3628, allocations: 1.76 MB / 1.339 GB, free: 3.152 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002735/0.3631, allocations: 19.95 kB / 1.339 GB, free: 3.133 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.211e-05/0.3632, allocations: 11.98 kB / 1.339 GB, free: 3.121 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003318/0.3635, allocations: 159.4 kB / 1.34 GB, free: 2.957 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.49e-05/0.3636, allocations: 15.91 kB / 1.34 GB, free: 2.941 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005836/0.3641, allocations: 304.9 kB / 1.34 GB, free: 2.637 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.3641, allocations: 4 kB / 1.34 GB, free: 2.633 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3641, allocations: 3.984 kB / 1.34 GB, free: 2.629 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.3642, allocations: 4.125 kB / 1.34 GB, free: 2.625 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00118/0.3653, allocations: 0.6513 MB / 1.341 GB, free: 1.918 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.3653, allocations: 4.062 kB / 1.341 GB, free: 1.914 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003126/0.3656, allocations: 59.83 kB / 1.341 GB, free: 1.855 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.176e-06/0.3657, allocations: 7.938 kB / 1.341 GB, free: 1.848 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.229e-05/0.3657, allocations: 4 kB / 1.341 GB, free: 1.844 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.3657, allocations: 4 kB / 1.341 GB, free: 1.84 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3657, allocations: 0 / 1.341 GB, free: 1.84 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008145/0.3665, allocations: 0.5062 MB / 1.341 GB, free: 1.312 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001292/0.3666, allocations: 43.81 kB / 1.341 GB, free: 1.27 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.703e-05/0.3667, allocations: 4 kB / 1.341 GB, free: 1.266 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001862/0.3668, allocations: 19.91 kB / 1.341 GB, free: 1.246 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.95e-05/0.3669, allocations: 19.98 kB / 1.341 GB, free: 1.227 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-05/0.3669, allocations: 8 kB / 1.341 GB, free: 1.219 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001657/0.3671, allocations: 148 kB / 1.341 GB, free: 1.07 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3671, allocations: 0 / 1.341 GB, free: 1.07 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000403/0.3675, allocations: 64 kB / 1.341 GB, free: 1.008 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (loa.q[1],loa.q[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001194/0.3687, allocations: 1.059 MB / 1.342 GB, free: 15.91 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0008209/0.3695, allocations: 406.6 kB / 1.343 GB, free: 15.5 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.3695, allocations: 0 / 1.343 GB, free: 15.5 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001911/0.3697, allocations: 115.9 kB / 1.343 GB, free: 15.39 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000414/0.3701, allocations: 32.53 kB / 1.343 GB, free: 15.36 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00458/0.3747, allocations: 2.895 MB / 1.346 GB, free: 12.34 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001917/0.3749, allocations: 165.2 kB / 1.346 GB, free: 12.16 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002026/0.3751, allocations: 61.89 kB / 1.346 GB, free: 12.1 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001342/0.3752, allocations: 63.41 kB / 1.346 GB, free: 12.04 MB / 1.045 GB Notification: Performance of SimCode: time 5.51e-07/0.3752, allocations: 3.938 kB / 1.346 GB, free: 12.03 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05017/0.4254, allocations: 5.721 MB / 1.352 GB, free: 6.484 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.85, allocations: 4.953 kB / 1.352 GB, free: 6.48 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor.fmu > Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.653547558002174]