Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001036/0.001036, allocations: 80.39 kB / 21.47 MB, free: 3.031 MB / 18.57 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.001039/0.001039, allocations: 167.9 kB / 24.87 MB, free: 9.258 MB / 18.57 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 0.9907/0.9907, allocations: 177.1 MB / 205.3 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.879/1.879, allocations: 377.9 MB / 0.6247 GB, free: 8.441 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: 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_12_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_12_Buildings.Controls.Continuous.Examples.LimPIDWithReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.8127 GB, free: 1.52 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.63e-05/1.781e-05, allocations: 2.312 kB / 0.8127 GB, free: 1.516 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.003745/0.003763, allocations: 3.938 MB / 0.8166 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002135/0.005898, allocations: 1.359 MB / 0.8179 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00037/0.006268, allocations: 27.81 kB / 0.8179 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.000269/0.006537, allocations: 130.6 kB / 0.8181 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002827/0.00682, allocations: 193.9 kB / 0.8182 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006252/0.007445, allocations: 408.6 kB / 0.8186 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0006748/0.00812, allocations: 0.9785 MB / 0.8196 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003853/0.008505, allocations: 294.6 kB / 0.8199 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004517/0.008957, allocations: 0.4955 MB / 0.8203 GB, free: 9.684 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002227/0.00918, allocations: 239.2 kB / 0.8206 GB, free: 9.449 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 7.96e-05/0.009259, allocations: 89.31 kB / 0.8207 GB, free: 9.363 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 6.793e-05/0.009327, allocations: 88 kB / 0.8207 GB, free: 9.277 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 9.667e-05/0.009424, allocations: 179.4 kB / 0.8209 GB, free: 9.102 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001642/0.009588, allocations: 248.5 kB / 0.8212 GB, free: 8.859 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004488/0.01004, allocations: 0.5681 MB / 0.8217 GB, free: 8.289 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.01004, allocations: 0 / 0.8217 GB, free: 8.289 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.082e-06/0.01004, allocations: 0.5 kB / 0.8217 GB, free: 8.289 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.01005, allocations: 0.875 kB / 0.8217 GB, free: 8.289 MB / 0.7761 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.001102/0.01115, allocations: 1.159 MB / 0.8228 GB, free: 7.086 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.065e-05/0.01118, allocations: 9.594 kB / 0.8229 GB, free: 7.078 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001396/0.01132, allocations: 144.3 kB / 0.823 GB, free: 6.938 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000531/0.01185, allocations: 0.5286 MB / 0.8235 GB, free: 6.375 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.18e-05/0.01188, allocations: 45.69 kB / 0.8235 GB, free: 6.332 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.919e-05/0.01195, allocations: 64.36 kB / 0.8236 GB, free: 6.27 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000529/0.01248, allocations: 496.3 kB / 0.8241 GB, free: 5.742 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.825e-05/0.0125, allocations: 192 / 0.8241 GB, free: 5.742 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.536e-05/0.01253, allocations: 20.97 kB / 0.8241 GB, free: 5.723 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.516e-05/0.01255, allocations: 19.94 kB / 0.8241 GB, free: 5.703 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002517/0.0128, allocations: 187.3 kB / 0.8243 GB, free: 5.52 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001698/0.0145, allocations: 1.721 MB / 0.826 GB, free: 3.754 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003289/0.01483, allocations: 248.1 kB / 0.8262 GB, free: 3.496 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001201/0.01495, allocations: 105.1 kB / 0.8263 GB, free: 3.391 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.961e-05/0.01498, allocations: 17.2 kB / 0.8263 GB, free: 3.375 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002207/0.0152, allocations: 175.8 kB / 0.8265 GB, free: 3.191 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=49): time 2.064e-06/0.0152, allocations: 3.438 kB / 0.8265 GB, free: 3.191 MB / 0.7761 GB Notification: Performance of matching and sorting (n=49): time 0.0004495/0.01565, allocations: 336.7 kB / 0.8268 GB, free: 2.859 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/0.01569, allocations: 67.83 kB / 0.8269 GB, free: 2.781 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002926/0.01598, allocations: 435 kB / 0.8273 GB, free: 2.34 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.027e-05/0.01601, allocations: 37.7 kB / 0.8273 GB, free: 2.297 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002051/0.01622, allocations: 379.5 kB / 0.8277 GB, free: 1.922 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001174/0.01634, allocations: 174.5 kB / 0.8279 GB, free: 1.75 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001503/0.01649, allocations: 103.9 kB / 0.828 GB, free: 1.641 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002218/0.01671, allocations: 0.5396 MB / 0.8285 GB, free: 1.09 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001633/0.01687, allocations: 84.09 kB / 0.8286 GB, free: 1.004 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002249/0.0171, allocations: 193.8 kB / 0.8288 GB, free: 0.7695 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002772/0.01737, allocations: 280.3 kB / 0.829 GB, free: 468 kB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.01738, allocations: 0 / 0.829 GB, free: 468 kB / 0.7761 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0004194/0.0178, allocations: 410.9 kB / 0.8294 GB, free: 40 kB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.299e-05/0.01783, allocations: 29.7 kB / 0.8294 GB, free: 4 kB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.106e-06/0.01784, allocations: 4 kB / 0.8295 GB, free: 0 / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.672e-05/0.01786, allocations: 4.703 kB / 0.8295 GB, free: 15.99 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002774/0.01814, allocations: 121.6 kB / 0.8296 GB, free: 15.88 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.01815, allocations: 4 kB / 0.8296 GB, free: 15.88 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001387/0.01829, allocations: 59.55 kB / 0.8296 GB, free: 15.82 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.939e-05/0.01831, allocations: 12 kB / 0.8296 GB, free: 15.8 MB / 0.7917 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 (conNoRes.conPID.I.trigger_internal,conWitRes.trigger.y,conNoRes.trigger.y,TSet.T_start,$PRE.TSet.T_start,TSet.count,$PRE.TSet.count,$whenCondition1,$whenCondition2) * 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.0001372/0.01844, allocations: 191.9 kB / 0.8298 GB, free: 15.61 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.826e-05/0.0185, allocations: 63.67 kB / 0.8299 GB, free: 15.55 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.112e-05/0.01857, allocations: 65.44 kB / 0.83 GB, free: 15.48 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.01858, allocations: 8 kB / 0.83 GB, free: 15.48 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.01858, allocations: 0 / 0.83 GB, free: 15.48 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.01859, allocations: 7.922 kB / 0.83 GB, free: 15.47 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007267/0.01931, allocations: 0.7616 MB / 0.8307 GB, free: 14.67 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.01932, allocations: 0.9375 kB / 0.8307 GB, free: 14.67 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002267/0.01954, allocations: 95.89 kB / 0.8308 GB, free: 14.58 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.01955, allocations: 1.094 kB / 0.8308 GB, free: 14.58 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.047e-05/0.01957, allocations: 12 kB / 0.8308 GB, free: 14.57 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.01957, allocations: 4 kB / 0.8308 GB, free: 14.56 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.01957, allocations: 8.984 kB / 0.8308 GB, free: 14.55 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004441/0.02002, allocations: 0.5217 MB / 0.8313 GB, free: 14.01 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/0.02013, allocations: 98.92 kB / 0.8314 GB, free: 13.92 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.555e-05/0.02016, allocations: 8 kB / 0.8314 GB, free: 13.91 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.02028, allocations: 23.98 kB / 0.8315 GB, free: 13.89 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.907e-05/0.02034, allocations: 32.38 kB / 0.8315 GB, free: 13.86 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.671e-05/0.02036, allocations: 15.98 kB / 0.8315 GB, free: 13.84 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0001457/0.0205, allocations: 271 kB / 0.8318 GB, free: 13.58 MB / 0.7917 GB Notification: Performance of sort global known variables: time 7e-08/0.0205, allocations: 0 / 0.8318 GB, free: 13.58 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0002678/0.02077, allocations: 147.6 kB / 0.8319 GB, free: 13.44 MB / 0.7917 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 9.584e-05/0.02086, allocations: 112.8 kB / 0.832 GB, free: 13.32 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.000301/0.02117, allocations: 324.9 kB / 0.8323 GB, free: 12.99 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.02117, allocations: 0 / 0.8323 GB, free: 12.99 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0001273/0.02129, allocations: 131.5 kB / 0.8324 GB, free: 12.86 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004158/0.02171, allocations: 154.4 kB / 0.8326 GB, free: 12.71 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001402/0.02311, allocations: 1.169 MB / 0.8337 GB, free: 11.5 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.928e-05/0.02319, allocations: 129.9 kB / 0.8339 GB, free: 11.35 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001475/0.02334, allocations: 60.55 kB / 0.8339 GB, free: 11.29 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002154/0.02355, allocations: 186.1 kB / 0.8341 GB, free: 11.11 MB / 0.7917 GB Notification: Performance of SimCode: time 8.31e-07/0.02355, allocations: 4 kB / 0.8341 GB, free: 11.1 MB / 0.7917 GB Notification: Performance of Templates: time 0.008418/0.03197, allocations: 6.455 MB / 0.8404 GB, free: 4.797 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.Continuous.Examples.LimPIDWithReset.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Buildings_12_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Buildings_12_Buildings.Controls.Continuous.Examples.LimPIDWithReset.sim & ./Buildings_12_Buildings.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.Continuous.Examples.LimPIDWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_Continuous_Examples_LimPIDWithReset.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.226467065047473]