Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 105.7 kB / 16.45 MB, free: 6.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 196.5 kB / 19.41 MB, free: 3.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.666/2.666, allocations: 476.7 MB / 0.7611 GB, free: 11.29 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="Buildings_11_Buildings_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="Buildings_11_Buildings_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 63.89 kB / 1.104 GB, free: 9.316 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7711/0.7731, allocations: 168.7 MB / 1.269 GB, free: 5.184 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.006342/0.7795, allocations: 4.144 MB / 1.273 GB, free: 1.023 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002814/0.7823, allocations: 1.333 MB / 1.274 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004679/0.7827, allocations: 19.94 kB / 1.274 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0003583/0.7831, allocations: 126.7 kB / 1.274 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003675/0.7835, allocations: 186.4 kB / 1.274 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008732/0.7843, allocations: 419.5 kB / 1.275 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0009721/0.7853, allocations: 0.9592 MB / 1.276 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004905/0.7858, allocations: 312.1 kB / 1.276 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000367/0.7862, allocations: 322.8 kB / 1.276 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003597/0.7865, allocations: 342.3 kB / 1.277 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001134/0.7866, allocations: 92 kB / 1.277 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001116/0.7868, allocations: 88 kB / 1.277 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001579/0.7869, allocations: 183.4 kB / 1.277 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003296/0.7872, allocations: 390 kB / 1.277 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001049/0.7883, allocations: 1.066 MB / 1.278 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.7883, allocations: 0 / 1.278 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.273e-06/0.7883, allocations: 3.938 kB / 1.278 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.128e-05/0.7883, allocations: 8 kB / 1.278 GB, free: 11.19 MB / 0.9825 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.001813/0.7901, allocations: 1.092 MB / 1.279 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.7902, allocations: 11.97 kB / 1.279 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001185/0.7903, allocations: 102.6 kB / 1.28 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001291/0.7904, allocations: 88.42 kB / 1.28 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009458/0.7913, allocations: 0.5694 MB / 1.28 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.801e-05/0.7914, allocations: 45.69 kB / 1.28 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.913e-05/0.7915, allocations: 64.33 kB / 1.28 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00105/0.7925, allocations: 0.6076 MB / 1.281 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.763e-05/0.7926, allocations: 8 kB / 1.281 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.857e-05/0.7926, allocations: 20 kB / 1.281 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.285e-05/0.7926, allocations: 12 kB / 1.281 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009856/0.7936, allocations: 468.9 kB / 1.281 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002895/0.7965, allocations: 1.993 MB / 1.283 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009019/0.7974, allocations: 422.2 kB / 1.284 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004529/0.7979, allocations: 226.6 kB / 1.284 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.917e-05/0.7979, allocations: 8.438 kB / 1.284 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005374/0.7984, allocations: 257.3 kB / 1.284 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=49): time 1.904e-06/0.7984, allocations: 3.938 kB / 1.284 GB, free: 5 MB / 0.9825 GB Notification: Performance of matching and sorting (n=49): time 0.001307/0.7997, allocations: 0.5885 MB / 1.285 GB, free: 4.402 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.408e-05/0.7998, allocations: 63.84 kB / 1.285 GB, free: 4.328 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000518/0.8003, allocations: 438 kB / 1.285 GB, free: 3.891 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.246e-05/0.8004, allocations: 37.7 kB / 1.285 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002499/0.8006, allocations: 329.6 kB / 1.286 GB, free: 3.52 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001414/0.8008, allocations: 170.5 kB / 1.286 GB, free: 3.352 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001457/0.8009, allocations: 98.19 kB / 1.286 GB, free: 3.25 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001864/0.8011, allocations: 362.8 kB / 1.286 GB, free: 2.887 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003942/0.8015, allocations: 169 kB / 1.286 GB, free: 2.723 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004452/0.8019, allocations: 249.8 kB / 1.287 GB, free: 2.453 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008404/0.8028, allocations: 456 kB / 1.287 GB, free: 1.977 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.8028, allocations: 0 / 1.287 GB, free: 1.977 MB / 0.9825 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001052/0.8038, allocations: 0.5744 MB / 1.288 GB, free: 1.391 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.736e-05/0.8039, allocations: 33.7 kB / 1.288 GB, free: 1.352 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.8039, allocations: 0 / 1.288 GB, free: 1.352 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.8039, allocations: 4 kB / 1.288 GB, free: 1.348 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004951/0.8044, allocations: 115.8 kB / 1.288 GB, free: 1.234 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.8044, allocations: 4 kB / 1.288 GB, free: 1.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003042/0.8047, allocations: 55.64 kB / 1.288 GB, free: 1.176 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.356e-05/0.8047, allocations: 20.16 kB / 1.288 GB, free: 1.156 MB / 0.9825 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 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,conNoRes.trigger.y,conWitRes.trigger.y,$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.0002542/0.805, allocations: 209.7 kB / 1.288 GB, free: 0.9414 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.051e-05/0.8051, allocations: 63.56 kB / 1.288 GB, free: 0.8789 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001216/0.8052, allocations: 65.58 kB / 1.288 GB, free: 0.8125 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/0.8052, allocations: 7.938 kB / 1.288 GB, free: 0.8047 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.8052, allocations: 0 / 1.288 GB, free: 0.8047 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.8052, allocations: 3.984 kB / 1.288 GB, free: 0.8008 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00184/0.8071, allocations: 1.182 MB / 1.289 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.8071, allocations: 0 / 1.289 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004705/0.8075, allocations: 91.83 kB / 1.289 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.8075, allocations: 0 / 1.289 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.738e-05/0.8076, allocations: 15.98 kB / 1.289 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.8076, allocations: 4 kB / 1.289 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.798e-06/0.8076, allocations: 4 kB / 1.289 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001335/0.8089, allocations: 0.7616 MB / 1.29 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002055/0.8091, allocations: 180.6 kB / 1.29 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.364e-05/0.8092, allocations: 12 kB / 1.29 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002769/0.8095, allocations: 23.97 kB / 1.29 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.706e-05/0.8096, allocations: 36.39 kB / 1.29 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.821e-05/0.8096, allocations: 12 kB / 1.29 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003482/0.8099, allocations: 314.9 kB / 1.291 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8099, allocations: 3.938 kB / 1.291 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004559/0.8104, allocations: 139.6 kB / 1.291 GB, free: 13.95 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * 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.001693/0.8121, allocations: 1.314 MB / 1.292 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0009193/0.813, allocations: 469 kB / 1.293 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.813, allocations: 0 / 1.293 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004064/0.8134, allocations: 206.4 kB / 1.293 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007225/0.8141, allocations: 151.7 kB / 1.293 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007407/0.8215, allocations: 4.829 MB / 1.298 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005181/0.8221, allocations: 0.8899 MB / 1.299 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002853/0.8223, allocations: 60.59 kB / 1.299 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003136/0.8227, allocations: 219.2 kB / 1.299 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of SimCode: time 8.62e-07/0.8227, allocations: 0 / 1.299 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03893/0.8616, allocations: 11.38 MB / 1.31 GB, free: 10.45 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.768/9.629, allocations: 10.48 kB / 1.31 GB, free: 10.44 MB / 1.014 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_Continuous_Examples_LimPIDWithReset_fmu --startTime=0 --stopTime=600 --stepSize=0.119713 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_Continuous_Examples_LimPIDWithReset.fmu > Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_Continuous_Examples_LimPIDWithReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 15.768488578964025]