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.001856/0.001856, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001887/0.001887, allocations: 214.6 kB / 22.99 MB, free: 4.945 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.524/1.524, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.288/3.288, allocations: 0.5107 GB / 0.8166 GB, free: 17.8 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: translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5012,variableFilter="time|TSet.y|plaWitRes.temSen.T|plaNoRes.temSen.T|conWitRes.conPID.trigger|conWitRes.conPID.controlError|conNoRes.conPID.controlError",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset") translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5012,variableFilter="time|TSet.y|plaWitRes.temSen.T|plaNoRes.temSen.T|conWitRes.conPID.trigger|conWitRes.conPID.controlError|conNoRes.conPID.controlError",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset") [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.00221/0.00221, allocations: 69.02 kB / 1.187 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4841/0.4864, allocations: 181.8 MB / 1.365 GB, free: 13.62 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.006331/0.4927, allocations: 3.773 MB / 1.368 GB, free: 9.824 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002821/0.4955, allocations: 1.317 MB / 1.37 GB, free: 8.5 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003656/0.4959, allocations: 35.81 kB / 1.37 GB, free: 8.465 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0003861/0.4963, allocations: 126.7 kB / 1.37 GB, free: 8.34 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003876/0.4967, allocations: 182.4 kB / 1.37 GB, free: 8.16 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009768/0.4976, allocations: 420 kB / 1.37 GB, free: 7.754 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001095/0.4987, allocations: 0.9593 MB / 1.371 GB, free: 6.789 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005802/0.4993, allocations: 286.6 kB / 1.371 GB, free: 6.488 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004392/0.4997, allocations: 346.7 kB / 1.372 GB, free: 6.148 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004068/0.5001, allocations: 294.4 kB / 1.372 GB, free: 5.859 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001416/0.5003, allocations: 92 kB / 1.372 GB, free: 5.77 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001378/0.5004, allocations: 88 kB / 1.372 GB, free: 5.684 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001811/0.5006, allocations: 175.4 kB / 1.372 GB, free: 5.512 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0003253/0.5009, allocations: 310.5 kB / 1.373 GB, free: 5.207 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.00126/0.5022, allocations: 1.078 MB / 1.374 GB, free: 4.125 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.5022, allocations: 0 / 1.374 GB, free: 4.125 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.954e-06/0.5022, allocations: 0 / 1.374 GB, free: 4.125 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.096e-05/0.5022, allocations: 0 / 1.374 GB, free: 4.125 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.002033/0.5042, allocations: 1.076 MB / 1.375 GB, free: 3.004 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.5043, allocations: 8.031 kB / 1.375 GB, free: 2.996 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001535/0.5044, allocations: 92.38 kB / 1.375 GB, free: 2.906 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001009/0.5055, allocations: 0.4999 MB / 1.375 GB, free: 2.387 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.947e-05/0.5055, allocations: 49.62 kB / 1.375 GB, free: 2.34 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00011/0.5056, allocations: 64.33 kB / 1.376 GB, free: 2.277 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001188/0.5068, allocations: 0.6658 MB / 1.376 GB, free: 1.574 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.419e-05/0.5068, allocations: 0 / 1.376 GB, free: 1.574 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.593e-05/0.5069, allocations: 24 kB / 1.376 GB, free: 1.551 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.845e-05/0.5069, allocations: 16 kB / 1.376 GB, free: 1.535 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009941/0.5079, allocations: 453 kB / 1.377 GB, free: 1.094 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002854/0.5107, allocations: 1.694 MB / 1.378 GB, free: 15.35 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009441/0.5117, allocations: 421.5 kB / 1.379 GB, free: 14.92 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004603/0.5121, allocations: 226 kB / 1.379 GB, free: 14.7 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 4.5e-05/0.5122, allocations: 12.38 kB / 1.379 GB, free: 14.69 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005727/0.5128, allocations: 261.4 kB / 1.379 GB, free: 14.42 MB / 1.076 GB Notification: Performance of pre-optimization done (n=49): time 2.795e-06/0.5128, allocations: 0 / 1.379 GB, free: 14.42 MB / 1.076 GB Notification: Performance of matching and sorting (n=49): time 0.001328/0.5141, allocations: 0.5729 MB / 1.38 GB, free: 13.84 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.714e-05/0.5142, allocations: 63.83 kB / 1.38 GB, free: 13.77 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005478/0.5147, allocations: 442.4 kB / 1.38 GB, free: 13.33 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.364e-05/0.5147, allocations: 33.7 kB / 1.38 GB, free: 13.29 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002784/0.515, allocations: 332.9 kB / 1.381 GB, free: 12.96 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001546/0.5152, allocations: 174.5 kB / 1.381 GB, free: 12.79 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001673/0.5153, allocations: 94.34 kB / 1.381 GB, free: 12.69 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0002223/0.5156, allocations: 366.8 kB / 1.381 GB, free: 12.32 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004426/0.516, allocations: 190.9 kB / 1.381 GB, free: 12.13 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000482/0.5165, allocations: 276.4 kB / 1.382 GB, free: 11.82 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008674/0.5174, allocations: 459 kB / 1.382 GB, free: 11.34 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.5174, allocations: 0 / 1.382 GB, free: 11.34 MB / 1.076 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001147/0.5185, allocations: 0.5902 MB / 1.383 GB, free: 10.73 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.828e-05/0.5186, allocations: 33.7 kB / 1.383 GB, free: 10.69 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.5186, allocations: 3.938 kB / 1.383 GB, free: 10.69 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.218e-05/0.5186, allocations: 8 kB / 1.383 GB, free: 10.68 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00051/0.5191, allocations: 116.1 kB / 1.383 GB, free: 10.57 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.255e-05/0.5191, allocations: 4 kB / 1.383 GB, free: 10.56 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003333/0.5194, allocations: 59.64 kB / 1.383 GB, free: 10.5 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.721e-05/0.5195, allocations: 16 kB / 1.383 GB, free: 10.49 MB / 1.076 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.000295/0.5198, allocations: 209.7 kB / 1.383 GB, free: 10.27 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.246e-05/0.5199, allocations: 59.61 kB / 1.383 GB, free: 10.21 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001487/0.52, allocations: 69.38 kB / 1.383 GB, free: 10.15 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-06/0.52, allocations: 8 kB / 1.383 GB, free: 10.14 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/0.52, allocations: 0 / 1.383 GB, free: 10.14 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.767e-06/0.52, allocations: 7.984 kB / 1.383 GB, free: 10.13 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001786/0.5218, allocations: 0.9905 MB / 1.384 GB, free: 9.102 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/0.5218, allocations: 7.875 kB / 1.384 GB, free: 9.094 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004821/0.5223, allocations: 95.88 kB / 1.384 GB, free: 9 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/0.5223, allocations: 4 kB / 1.384 GB, free: 8.996 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.284e-05/0.5224, allocations: 15.94 kB / 1.384 GB, free: 8.98 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.5224, allocations: 4 kB / 1.384 GB, free: 8.977 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.5224, allocations: 3.984 kB / 1.384 GB, free: 8.973 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001468/0.5238, allocations: 0.7613 MB / 1.385 GB, free: 8.199 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001874/0.524, allocations: 95.45 kB / 1.385 GB, free: 8.105 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.525e-05/0.5241, allocations: 12 kB / 1.385 GB, free: 8.094 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002818/0.5244, allocations: 27.98 kB / 1.385 GB, free: 8.066 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/0.5245, allocations: 36.36 kB / 1.385 GB, free: 8.031 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.774e-05/0.5245, allocations: 12 kB / 1.385 GB, free: 8.02 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003698/0.5249, allocations: 295.1 kB / 1.385 GB, free: 7.73 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.5249, allocations: 0 / 1.385 GB, free: 7.73 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004805/0.5253, allocations: 147.6 kB / 1.386 GB, free: 7.586 MB / 1.076 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.0001474/0.5255, allocations: 109.8 kB / 1.386 GB, free: 7.473 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0009922/0.5265, allocations: 494.3 kB / 1.386 GB, free: 6.973 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.5265, allocations: 0 / 1.386 GB, free: 6.973 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0004207/0.5269, allocations: 202.4 kB / 1.386 GB, free: 6.777 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007632/0.5277, allocations: 157.2 kB / 1.387 GB, free: 6.629 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002877/0.5306, allocations: 1.386 MB / 1.388 GB, free: 5.199 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003253/0.5309, allocations: 288.7 kB / 1.388 GB, free: 4.895 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001595/0.531, allocations: 47.42 kB / 1.388 GB, free: 4.852 MB / 1.076 GB Notification: Performance of SimCode: time 6.01e-07/0.531, allocations: 0 / 1.388 GB, free: 4.852 MB / 1.076 GB Notification: Performance of Templates: time 0.01251/0.5435, allocations: 7.808 MB / 1.396 GB, free: 13.08 MB / 1.092 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 800] 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: 12.418900988064706]