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.001296/0.001296, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002827/0.004123, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001658/0.001658, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001802/0.00346, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.021/1.021, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08862/1.11, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.812/1.812, allocations: 378.4 MB / 0.6079 GB, free: 7.715 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5122/2.325, allocations: 123.3 MB / 0.7283 GB, free: 5.754 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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=5007,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=5007,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 3.397e-06/3.397e-06, allocations: 4 kB / 0.7296 GB, free: 4.477 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.168e-05/2.508e-05, allocations: 2.312 kB / 0.7296 GB, free: 4.473 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.005495/0.00552, allocations: 4.014 MB / 0.7335 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.003185/0.008706, allocations: 1.421 MB / 0.7349 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005198/0.009225, allocations: 27.81 kB / 0.735 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0003482/0.009574, allocations: 130.7 kB / 0.7351 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0004839/0.01006, allocations: 194.1 kB / 0.7353 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008799/0.01094, allocations: 412.8 kB / 0.7357 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.001059/0.012, allocations: 0.9623 MB / 0.7366 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005104/0.01251, allocations: 302.6 kB / 0.7369 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008835/0.01339, allocations: 0.5672 MB / 0.7374 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003489/0.01374, allocations: 235.2 kB / 0.7377 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.000124/0.01386, allocations: 88.5 kB / 0.7377 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001164/0.01398, allocations: 88 kB / 0.7378 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001294/0.01411, allocations: 136.4 kB / 0.738 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0002393/0.01435, allocations: 203.6 kB / 0.7382 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0006905/0.01504, allocations: 0.527 MB / 0.7387 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.642e-05/0.01505, allocations: 0 / 0.7387 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.613e-06/0.01506, allocations: 0 / 0.7387 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.151e-05/0.01508, allocations: 0 / 0.7387 GB, free: 11.21 MB / 0.7136 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.001637/0.01671, allocations: 1.112 MB / 0.7398 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.01676, allocations: 12.56 kB / 0.7398 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000172/0.01693, allocations: 105.8 kB / 0.7399 GB, free: 9.953 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007192/0.01765, allocations: 420.1 kB / 0.7403 GB, free: 9.516 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.706e-05/0.01768, allocations: 41.69 kB / 0.7403 GB, free: 9.477 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.657e-05/0.01777, allocations: 60.38 kB / 0.7404 GB, free: 9.418 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006827/0.01845, allocations: 495.2 kB / 0.7408 GB, free: 8.898 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.512e-05/0.01848, allocations: 4.141 kB / 0.7408 GB, free: 8.895 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.48e-05/0.01852, allocations: 25.56 kB / 0.7409 GB, free: 8.871 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.944e-05/0.01854, allocations: 23.92 kB / 0.7409 GB, free: 8.848 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003419/0.01888, allocations: 159.5 kB / 0.741 GB, free: 8.691 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001659/0.02054, allocations: 1.287 MB / 0.7423 GB, free: 7.375 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002862/0.02083, allocations: 231.5 kB / 0.7425 GB, free: 7.137 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.582e-05/0.02093, allocations: 98.25 kB / 0.7426 GB, free: 7.039 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.836e-05/0.02095, allocations: 8.5 kB / 0.7426 GB, free: 7.031 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001824/0.02114, allocations: 166.9 kB / 0.7428 GB, free: 6.859 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=49): time 2.304e-06/0.02114, allocations: 0.6562 kB / 0.7428 GB, free: 6.859 MB / 0.7136 GB Notification: Performance of matching and sorting (n=49): time 0.0003198/0.02146, allocations: 250.8 kB / 0.743 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.284e-05/0.02149, allocations: 64.64 kB / 0.7431 GB, free: 6.535 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002148/0.02171, allocations: 383.2 kB / 0.7434 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.479e-05/0.02173, allocations: 33.7 kB / 0.7435 GB, free: 6.109 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/0.02185, allocations: 283.4 kB / 0.7437 GB, free: 5.832 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.759e-05/0.02194, allocations: 170.5 kB / 0.7439 GB, free: 5.664 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.164e-05/0.02203, allocations: 94.28 kB / 0.744 GB, free: 5.566 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001808/0.02221, allocations: 375.2 kB / 0.7444 GB, free: 5.191 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.461e-05/0.02229, allocations: 82.98 kB / 0.7444 GB, free: 5.105 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001157/0.02241, allocations: 162.5 kB / 0.7446 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002093/0.02262, allocations: 265.6 kB / 0.7448 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.02262, allocations: 0 / 0.7448 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0002817/0.0229, allocations: 327.9 kB / 0.7452 GB, free: 4.289 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.622e-05/0.02295, allocations: 31.73 kB / 0.7452 GB, free: 4.254 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.02296, allocations: 5.031 kB / 0.7452 GB, free: 4.25 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.02297, allocations: 4 kB / 0.7452 GB, free: 4.246 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003156/0.02329, allocations: 144.7 kB / 0.7453 GB, free: 4.105 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.02329, allocations: 4 kB / 0.7453 GB, free: 4.102 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001265/0.02342, allocations: 56.48 kB / 0.7454 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.643e-05/0.02344, allocations: 12 kB / 0.7454 GB, free: 4.035 MB / 0.7136 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,TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,conNoRes.trigger.y,conWitRes.trigger.y,$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.0001124/0.02355, allocations: 145.2 kB / 0.7455 GB, free: 3.887 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.061e-05/0.02359, allocations: 47.95 kB / 0.7456 GB, free: 3.84 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.528e-05/0.02365, allocations: 61.45 kB / 0.7456 GB, free: 3.781 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.02366, allocations: 4 kB / 0.7457 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.02366, allocations: 3.938 kB / 0.7457 GB, free: 3.773 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.02367, allocations: 10.77 kB / 0.7457 GB, free: 3.766 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005756/0.02425, allocations: 0.5759 MB / 0.7462 GB, free: 3.164 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.02425, allocations: 0 / 0.7462 GB, free: 3.164 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002741/0.02452, allocations: 123.2 kB / 0.7463 GB, free: 3.047 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.375e-05/0.0246, allocations: 67.42 kB / 0.7464 GB, free: 2.98 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.02461, allocations: 4 kB / 0.7464 GB, free: 2.977 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/0.02463, allocations: 5.938 kB / 0.7464 GB, free: 2.973 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.02463, allocations: 4 kB / 0.7464 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.02463, allocations: 3.938 kB / 0.7464 GB, free: 2.965 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003535/0.02499, allocations: 403.5 kB / 0.7468 GB, free: 2.555 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.289e-05/0.02502, allocations: 12 kB / 0.7468 GB, free: 2.543 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.02513, allocations: 16.64 kB / 0.7468 GB, free: 2.527 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.022e-05/0.02519, allocations: 41.17 kB / 0.7469 GB, free: 2.488 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/0.0252, allocations: 12 kB / 0.7469 GB, free: 2.477 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001172/0.02532, allocations: 165.3 kB / 0.747 GB, free: 2.312 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.02532, allocations: 0 / 0.747 GB, free: 2.312 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002512/0.02557, allocations: 144.3 kB / 0.7472 GB, free: 2.172 MB / 0.7136 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.0001043/0.02567, allocations: 93.52 kB / 0.7473 GB, free: 2.074 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002783/0.02595, allocations: 312 kB / 0.7476 GB, free: 1.75 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.808e-05/0.02597, allocations: 17.05 kB / 0.7476 GB, free: 1.734 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001439/0.02611, allocations: 145.6 kB / 0.7477 GB, free: 1.594 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006854/0.0268, allocations: 1.171 MB / 0.7489 GB, free: 220 kB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003894/0.03069, allocations: 1.149 MB / 0.75 GB, free: 15.03 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.114e-05/0.03077, allocations: 137.9 kB / 0.7501 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001771/0.03095, allocations: 62.91 kB / 0.7502 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002144/0.03117, allocations: 162.5 kB / 0.7503 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of SimCode: time 1.532e-06/0.03117, allocations: 0 / 0.7503 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of Templates: time 0.008872/0.04004, allocations: 6.526 MB / 0.7567 GB, free: 8.41 MB / 0.7292 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.Continuous.Examples.LimPIDWithReset/Buildings_12_Buildings.Controls.Continuous.Examples.LimPIDWithReset.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.093637531623244]