Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset.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.001565/0.001565, allocations: 114.5 kB / 18.94 MB, free: 2.934 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.001806/0.001806, allocations: 217 kB / 22.25 MB, free: 5.082 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.459/1.459, allocations: 230.6 MB / 256 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.267/3.267, allocations: 0.505 GB / 0.8101 GB, free: 22.01 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="Buildings_latest_Buildings_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="Buildings_latest_Buildings_Controls_Continuous_Examples_LimPIDWithReset",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.001971/0.001971, allocations: 66.41 kB / 1.177 GB, free: 17.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3326/0.3346, allocations: 180.2 MB / 1.353 GB, free: 8.473 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.006051/0.3406, allocations: 4.193 MB / 1.357 GB, free: 4.258 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.003193/0.3438, allocations: 1.36 MB / 1.358 GB, free: 2.891 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006454/0.3444, allocations: 31.81 kB / 1.358 GB, free: 2.859 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0005536/0.345, allocations: 130.7 kB / 1.358 GB, free: 2.73 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0007076/0.3457, allocations: 182.4 kB / 1.359 GB, free: 2.551 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001156/0.3469, allocations: 431.9 kB / 1.359 GB, free: 2.133 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001274/0.3481, allocations: 0.9554 MB / 1.36 GB, free: 1.176 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005239/0.3487, allocations: 310.6 kB / 1.36 GB, free: 0.8516 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004024/0.3491, allocations: 346.7 kB / 1.361 GB, free: 0.5117 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003753/0.3494, allocations: 330.4 kB / 1.361 GB, free: 192 kB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001073/0.3495, allocations: 92 kB / 1.361 GB, free: 100 kB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001098/0.3497, allocations: 92 kB / 1.361 GB, free: 8 kB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001597/0.3498, allocations: 183.5 kB / 1.361 GB, free: 15.82 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0003288/0.3501, allocations: 390.1 kB / 1.362 GB, free: 15.44 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.00105/0.3512, allocations: 1.066 MB / 1.363 GB, free: 14.37 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3512, allocations: 0 / 1.363 GB, free: 14.37 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3512, allocations: 0 / 1.363 GB, free: 14.37 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.768e-06/0.3512, allocations: 0 / 1.363 GB, free: 14.37 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001828/0.353, allocations: 1.084 MB / 1.364 GB, free: 13.24 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.3531, allocations: 12.03 kB / 1.364 GB, free: 13.23 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001252/0.3532, allocations: 98.7 kB / 1.364 GB, free: 13.12 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001244/0.3533, allocations: 84.42 kB / 1.364 GB, free: 13.04 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009326/0.3543, allocations: 0.5038 MB / 1.364 GB, free: 12.52 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.403e-05/0.3543, allocations: 49.67 kB / 1.364 GB, free: 12.47 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.131e-05/0.3544, allocations: 64.31 kB / 1.364 GB, free: 12.41 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001051/0.3554, allocations: 0.5998 MB / 1.365 GB, free: 11.78 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.347e-05/0.3555, allocations: 7.953 kB / 1.365 GB, free: 11.77 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.111e-05/0.3555, allocations: 31.98 kB / 1.365 GB, free: 11.74 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.829e-05/0.3556, allocations: 12 kB / 1.365 GB, free: 11.73 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009725/0.3565, allocations: 457 kB / 1.366 GB, free: 11.28 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002845/0.3594, allocations: 1.947 MB / 1.367 GB, free: 9.273 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008956/0.3603, allocations: 422.8 kB / 1.368 GB, free: 8.848 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004391/0.3607, allocations: 230 kB / 1.368 GB, free: 8.621 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.742e-05/0.3607, allocations: 4.438 kB / 1.368 GB, free: 8.617 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005517/0.3613, allocations: 257.3 kB / 1.368 GB, free: 8.352 MB / 1.061 GB Notification: Performance of pre-optimization done (n=49): time 2.034e-06/0.3613, allocations: 4 kB / 1.368 GB, free: 8.348 MB / 1.061 GB Notification: Performance of matching and sorting (n=49): time 0.001264/0.3626, allocations: 0.5885 MB / 1.369 GB, free: 7.758 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.097e-05/0.3626, allocations: 55.84 kB / 1.369 GB, free: 7.691 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005061/0.3631, allocations: 442 kB / 1.369 GB, free: 7.25 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.124e-05/0.3632, allocations: 37.7 kB / 1.369 GB, free: 7.207 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002545/0.3634, allocations: 336.8 kB / 1.37 GB, free: 6.871 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001434/0.3636, allocations: 174.5 kB / 1.37 GB, free: 6.699 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001422/0.3637, allocations: 90.34 kB / 1.37 GB, free: 6.602 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001701/0.3639, allocations: 366.8 kB / 1.37 GB, free: 6.234 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003953/0.3643, allocations: 165.2 kB / 1.37 GB, free: 6.074 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004418/0.3647, allocations: 250.7 kB / 1.371 GB, free: 5.801 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008535/0.3656, allocations: 451 kB / 1.371 GB, free: 5.32 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.3656, allocations: 0 / 1.371 GB, free: 5.32 MB / 1.061 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001053/0.3666, allocations: 0.5651 MB / 1.372 GB, free: 4.746 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.957e-05/0.3667, allocations: 37.69 kB / 1.372 GB, free: 4.703 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.3667, allocations: 0 / 1.372 GB, free: 4.703 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/0.3667, allocations: 8 kB / 1.372 GB, free: 4.695 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004878/0.3672, allocations: 116.1 kB / 1.372 GB, free: 4.582 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/0.3672, allocations: 4 kB / 1.372 GB, free: 4.578 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003126/0.3675, allocations: 63.59 kB / 1.372 GB, free: 4.516 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.623e-05/0.3675, allocations: 20 kB / 1.372 GB, free: 4.496 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 (conWitRes.trigger.y,conNoRes.trigger.y,TSet.T_start,$PRE.TSet.T_start,TSet.count,$PRE.TSet.count,$whenCondition1,$whenCondition2,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * 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 prepare postOptimizeDAE: time 0.000256/0.3678, allocations: 213.7 kB / 1.372 GB, free: 4.277 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.434e-05/0.3679, allocations: 59.56 kB / 1.372 GB, free: 4.219 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001405/0.368, allocations: 65.58 kB / 1.372 GB, free: 4.156 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/0.368, allocations: 8 kB / 1.372 GB, free: 4.148 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.368, allocations: 4 kB / 1.372 GB, free: 4.145 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.297e-06/0.368, allocations: 3.984 kB / 1.372 GB, free: 4.141 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001802/0.3698, allocations: 1.146 MB / 1.373 GB, free: 2.945 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.678e-06/0.3698, allocations: 3.984 kB / 1.373 GB, free: 2.941 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004674/0.3703, allocations: 95.83 kB / 1.373 GB, free: 2.848 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.758e-06/0.3703, allocations: 0 / 1.373 GB, free: 2.848 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.635e-05/0.3703, allocations: 15.98 kB / 1.374 GB, free: 2.832 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.439e-06/0.3703, allocations: 7.938 kB / 1.374 GB, free: 2.824 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.3703, allocations: 0 / 1.374 GB, free: 2.824 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001341/0.3717, allocations: 0.7652 MB / 1.374 GB, free: 2.043 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001745/0.3719, allocations: 91.58 kB / 1.374 GB, free: 1.953 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.37e-05/0.3719, allocations: 12 kB / 1.374 GB, free: 1.941 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000283/0.3722, allocations: 23.97 kB / 1.374 GB, free: 1.918 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.06e-05/0.3723, allocations: 36.38 kB / 1.374 GB, free: 1.879 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-05/0.3723, allocations: 12 kB / 1.374 GB, free: 1.867 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003458/0.3727, allocations: 310.9 kB / 1.375 GB, free: 1.566 MB / 1.061 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3727, allocations: 4 kB / 1.375 GB, free: 1.562 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004398/0.3731, allocations: 147.6 kB / 1.375 GB, free: 1.418 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (conNoRes.conPID.I.y,plaNoRes.cap1.T,plaNoRes.cap.T,conWitRes.conPID.I.y,plaWitRes.cap1.T,plaWitRes.cap.T) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,TSet.count,TSet.T_start,conNoRes.trigger.y) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001642/0.3748, allocations: 1.317 MB / 1.376 GB, free: 72 kB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000925/0.3757, allocations: 456.7 kB / 1.377 GB, free: 15.62 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3757, allocations: 0.5 kB / 1.377 GB, free: 15.62 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0004122/0.3761, allocations: 210.4 kB / 1.377 GB, free: 15.41 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007568/0.3768, allocations: 164.7 kB / 1.377 GB, free: 15.26 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007401/0.3842, allocations: 4.802 MB / 1.382 GB, free: 10.3 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005734/0.3848, allocations: 0.886 MB / 1.383 GB, free: 9.395 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002536/0.3851, allocations: 64.58 kB / 1.383 GB, free: 9.332 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003119/0.3854, allocations: 219.4 kB / 1.383 GB, free: 9.121 MB / 1.076 GB Notification: Performance of SimCode: time 5.11e-07/0.3854, allocations: 0 / 1.383 GB, free: 9.121 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04653/0.4319, allocations: 11.81 MB / 1.394 GB, free: 13.52 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.47/12.9, allocations: 6.375 kB / 1.394 GB, free: 13.52 MB / 1.092 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_Continuous_Examples_LimPIDWithReset_fmu --startTime=0 --stopTime=600 --stepSize=0.119713 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_Continuous_Examples_LimPIDWithReset.fmu > Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Continuous_Examples_LimPIDWithReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset.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: 20.762974043143913]