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.001326/0.001326, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001503/0.001503, allocations: 216.1 kB / 23.03 MB, free: 4.922 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.504/1.504, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.319/3.319, allocations: 0.5003 GB / 0.8062 GB, free: 28.29 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="Buildings_latest_Buildings_Controls_Continuous_Examples_LimPIDWithReset",fmuType="cs",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.001997/0.001997, allocations: 61.81 kB / 1.17 GB, free: 19.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4174/0.4194, allocations: 179 MB / 1.345 GB, free: 132 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.007559/0.427, allocations: 3.748 MB / 1.349 GB, free: 12.35 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.005099/0.4321, allocations: 1.325 MB / 1.35 GB, free: 11.02 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001594/0.4337, allocations: 27.81 kB / 1.35 GB, free: 10.99 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.000798/0.4345, allocations: 126.7 kB / 1.35 GB, free: 10.87 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001071/0.4355, allocations: 186.4 kB / 1.351 GB, free: 10.68 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001484/0.437, allocations: 425.4 kB / 1.351 GB, free: 10.27 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.00172/0.4387, allocations: 0.9554 MB / 1.352 GB, free: 9.316 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008481/0.4396, allocations: 306.9 kB / 1.352 GB, free: 8.996 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008428/0.4404, allocations: 338.8 kB / 1.352 GB, free: 8.664 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007804/0.4412, allocations: 342.3 kB / 1.353 GB, free: 8.328 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0003258/0.4415, allocations: 92 kB / 1.353 GB, free: 8.238 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002908/0.4418, allocations: 88 kB / 1.353 GB, free: 8.152 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0002669/0.4421, allocations: 183.3 kB / 1.353 GB, free: 7.973 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0005574/0.4427, allocations: 302.6 kB / 1.353 GB, free: 7.676 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001516/0.4442, allocations: 1.078 MB / 1.355 GB, free: 6.594 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.4442, allocations: 4 kB / 1.355 GB, free: 6.59 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.485e-06/0.4442, allocations: 0 / 1.355 GB, free: 6.59 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.894e-05/0.4442, allocations: 0 / 1.355 GB, free: 6.59 MB / 1.045 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.002995/0.4472, allocations: 1.08 MB / 1.356 GB, free: 5.465 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/0.4473, allocations: 12.03 kB / 1.356 GB, free: 5.453 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.92e-05/0.4473, allocations: 13.5 kB / 1.356 GB, free: 5.441 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001775/0.4475, allocations: 98.7 kB / 1.356 GB, free: 5.336 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002088/0.4477, allocations: 92.41 kB / 1.356 GB, free: 5.246 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00109/0.4488, allocations: 0.5077 MB / 1.356 GB, free: 4.711 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.148e-05/0.4488, allocations: 45.67 kB / 1.356 GB, free: 4.664 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/0.449, allocations: 64.33 kB / 1.356 GB, free: 4.602 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001281/0.4502, allocations: 0.6616 MB / 1.357 GB, free: 3.902 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.157e-05/0.4503, allocations: 0 / 1.357 GB, free: 3.902 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.108e-05/0.4503, allocations: 27.92 kB / 1.357 GB, free: 3.875 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.648e-05/0.4503, allocations: 16 kB / 1.357 GB, free: 3.859 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009795/0.4513, allocations: 464.9 kB / 1.357 GB, free: 3.406 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002979/0.4543, allocations: 1.771 MB / 1.359 GB, free: 1.578 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009284/0.4552, allocations: 422.6 kB / 1.36 GB, free: 1.152 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004517/0.4557, allocations: 218.1 kB / 1.36 GB, free: 0.9375 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 4.211e-05/0.4557, allocations: 8.375 kB / 1.36 GB, free: 0.9297 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006063/0.4563, allocations: 269.3 kB / 1.36 GB, free: 0.6523 MB / 1.045 GB Notification: Performance of pre-optimization done (n=49): time 2.976e-06/0.4563, allocations: 0 / 1.36 GB, free: 0.6523 MB / 1.045 GB Notification: Performance of matching and sorting (n=49): time 0.001387/0.4577, allocations: 0.5775 MB / 1.361 GB, free: 72 kB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.126e-05/0.4578, allocations: 59.84 kB / 1.361 GB, free: 0 / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005922/0.4584, allocations: 450 kB / 1.361 GB, free: 15.55 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.164e-05/0.4584, allocations: 37.7 kB / 1.361 GB, free: 15.5 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002816/0.4587, allocations: 332.9 kB / 1.362 GB, free: 15.18 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001643/0.4589, allocations: 174.5 kB / 1.362 GB, free: 15 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001629/0.459, allocations: 94.3 kB / 1.362 GB, free: 14.9 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001934/0.4592, allocations: 362.8 kB / 1.362 GB, free: 14.54 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004287/0.4596, allocations: 194.9 kB / 1.362 GB, free: 14.34 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004893/0.4601, allocations: 276.4 kB / 1.363 GB, free: 14.04 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008446/0.461, allocations: 455 kB / 1.363 GB, free: 13.55 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.461, allocations: 4 kB / 1.363 GB, free: 13.55 MB / 1.061 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001177/0.4622, allocations: 0.5941 MB / 1.364 GB, free: 12.94 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.617e-05/0.4622, allocations: 35.56 kB / 1.364 GB, free: 12.9 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.4622, allocations: 4 kB / 1.364 GB, free: 12.9 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.078e-05/0.4622, allocations: 4 kB / 1.364 GB, free: 12.89 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005217/0.4628, allocations: 120.1 kB / 1.364 GB, free: 12.78 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.334e-05/0.4628, allocations: 4 kB / 1.364 GB, free: 12.77 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003433/0.4631, allocations: 51.66 kB / 1.364 GB, free: 12.72 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.399e-05/0.4632, allocations: 23.98 kB / 1.364 GB, free: 12.7 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.0003248/0.4635, allocations: 207.2 kB / 1.364 GB, free: 12.49 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.922e-05/0.4636, allocations: 67.55 kB / 1.364 GB, free: 12.42 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001484/0.4637, allocations: 65.58 kB / 1.364 GB, free: 12.36 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.4637, allocations: 4 kB / 1.364 GB, free: 12.35 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.4637, allocations: 4 kB / 1.364 GB, free: 12.35 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.4637, allocations: 7.828 kB / 1.364 GB, free: 12.34 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001883/0.4656, allocations: 1.076 MB / 1.365 GB, free: 11.22 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.4656, allocations: 0 / 1.365 GB, free: 11.22 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004889/0.4661, allocations: 91.88 kB / 1.365 GB, free: 11.13 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.4661, allocations: 0 / 1.365 GB, free: 11.13 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.08e-05/0.4662, allocations: 19.98 kB / 1.365 GB, free: 11.11 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.4662, allocations: 7.938 kB / 1.365 GB, free: 11.11 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.4662, allocations: 0 / 1.365 GB, free: 11.11 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001413/0.4676, allocations: 0.7612 MB / 1.366 GB, free: 10.33 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001995/0.4678, allocations: 95.58 kB / 1.366 GB, free: 10.23 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.757e-05/0.4679, allocations: 8 kB / 1.366 GB, free: 10.23 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002854/0.4681, allocations: 31.97 kB / 1.366 GB, free: 10.2 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.4682, allocations: 32.38 kB / 1.366 GB, free: 10.16 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.314e-05/0.4683, allocations: 12 kB / 1.366 GB, free: 10.15 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004067/0.4687, allocations: 310.9 kB / 1.367 GB, free: 9.852 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.4687, allocations: 0 / 1.367 GB, free: 9.852 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005189/0.4692, allocations: 147.6 kB / 1.367 GB, free: 9.707 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.001768/0.471, allocations: 1.325 MB / 1.368 GB, free: 8.348 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001051/0.472, allocations: 478.4 kB / 1.368 GB, free: 7.867 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.472, allocations: 0.5 kB / 1.368 GB, free: 7.867 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0004514/0.4725, allocations: 214.3 kB / 1.369 GB, free: 7.656 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008314/0.4733, allocations: 155.2 kB / 1.369 GB, free: 7.512 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007946/0.4813, allocations: 4.903 MB / 1.374 GB, free: 2.449 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003235/0.4816, allocations: 300.5 kB / 1.374 GB, free: 2.129 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0003133/0.4819, allocations: 60.58 kB / 1.374 GB, free: 2.066 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003406/0.4822, allocations: 219.4 kB / 1.374 GB, free: 1.852 MB / 1.061 GB Notification: Performance of SimCode: time 1.513e-06/0.4822, allocations: 3.938 kB / 1.374 GB, free: 1.848 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04139/0.5236, allocations: 12.18 MB / 1.386 GB, free: 5.965 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.07/12.6, allocations: 7 kB / 1.386 GB, free: 5.961 MB / 1.076 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.022666329983622]