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.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.0009081/0.0009081, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.0009735/0.0009735, allocations: 185.3 kB / 24.09 MB, free: 416 kB / 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 1.022/1.022, allocations: 177.1 MB / 204.5 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.68/1.68, allocations: 359 MB / 0.6055 GB, free: 10.85 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 0.7875 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.597e-05/1.74e-05, allocations: 4.844 kB / 0.7875 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.003439/0.003457, allocations: 3.938 MB / 0.7914 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00169/0.005147, allocations: 1.35 MB / 0.7927 GB, free: 6.926 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002403/0.005387, allocations: 27.81 kB / 0.7927 GB, free: 6.898 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.000242/0.005629, allocations: 134.6 kB / 0.7928 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002176/0.005847, allocations: 194.6 kB / 0.793 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005054/0.006352, allocations: 409 kB / 0.7934 GB, free: 6.18 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0005874/0.006939, allocations: 0.9785 MB / 0.7944 GB, free: 5.199 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003278/0.007267, allocations: 290.6 kB / 0.7946 GB, free: 4.891 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003815/0.007648, allocations: 0.4989 MB / 0.7951 GB, free: 4.391 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002002/0.007849, allocations: 236.5 kB / 0.7954 GB, free: 4.16 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 7.217e-05/0.007921, allocations: 88 kB / 0.7954 GB, free: 4.074 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.056e-05/0.007991, allocations: 88 kB / 0.7955 GB, free: 3.988 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 9.883e-05/0.00809, allocations: 182.3 kB / 0.7957 GB, free: 3.812 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001447/0.008235, allocations: 243.4 kB / 0.7959 GB, free: 3.574 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000411/0.008646, allocations: 0.572 MB / 0.7965 GB, free: 3 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.744e-06/0.008648, allocations: 0 / 0.7965 GB, free: 3 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.011e-06/0.008649, allocations: 3.938 kB / 0.7965 GB, free: 2.996 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.008654, allocations: 0 / 0.7965 GB, free: 2.996 MB / 0.7448 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.0009905/0.009644, allocations: 1.162 MB / 0.7976 GB, free: 1.789 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.16e-05/0.009676, allocations: 9.188 kB / 0.7976 GB, free: 1.781 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001067/0.009783, allocations: 136.4 kB / 0.7978 GB, free: 1.648 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004738/0.01026, allocations: 0.5367 MB / 0.7983 GB, free: 1.086 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.805e-05/0.01028, allocations: 41.69 kB / 0.7983 GB, free: 1.043 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.799e-05/0.01034, allocations: 64.92 kB / 0.7984 GB, free: 0.9805 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005662/0.01091, allocations: 492.6 kB / 0.7989 GB, free: 468 kB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.01092, allocations: 4.125 kB / 0.7989 GB, free: 464 kB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.037e-05/0.01095, allocations: 28.31 kB / 0.7989 GB, free: 436 kB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.01097, allocations: 19.94 kB / 0.7989 GB, free: 416 kB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002246/0.01119, allocations: 188 kB / 0.7991 GB, free: 232 kB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00142/0.01261, allocations: 1.721 MB / 0.8008 GB, free: 14.46 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002751/0.01288, allocations: 246.5 kB / 0.801 GB, free: 14.2 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001142/0.013, allocations: 102.5 kB / 0.8011 GB, free: 14.1 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.795e-05/0.01303, allocations: 12.5 kB / 0.8011 GB, free: 14.09 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001854/0.01321, allocations: 168.7 kB / 0.8013 GB, free: 13.91 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=49): time 1.513e-06/0.01321, allocations: 0 / 0.8013 GB, free: 13.91 MB / 0.7605 GB Notification: Performance of matching and sorting (n=49): time 0.0003773/0.01359, allocations: 345.6 kB / 0.8016 GB, free: 13.57 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.511e-05/0.01362, allocations: 61.25 kB / 0.8017 GB, free: 13.5 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002481/0.01386, allocations: 443 kB / 0.8021 GB, free: 13.05 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.398e-05/0.01389, allocations: 33.7 kB / 0.8021 GB, free: 13.01 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001633/0.01405, allocations: 383.5 kB / 0.8025 GB, free: 12.63 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 8.232e-05/0.01413, allocations: 175.4 kB / 0.8027 GB, free: 12.46 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.576e-05/0.01423, allocations: 99.95 kB / 0.8027 GB, free: 12.35 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.01436, allocations: 0.541 MB / 0.8033 GB, free: 11.8 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.533e-05/0.01445, allocations: 82.97 kB / 0.8034 GB, free: 11.71 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/0.01458, allocations: 193.8 kB / 0.8035 GB, free: 11.48 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002154/0.0148, allocations: 272.8 kB / 0.8038 GB, free: 11.17 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.0148, allocations: 0 / 0.8038 GB, free: 11.17 MB / 0.7605 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.000348/0.01515, allocations: 422.2 kB / 0.8042 GB, free: 10.74 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.625e-05/0.01517, allocations: 33.7 kB / 0.8042 GB, free: 10.7 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.01518, allocations: 0 / 0.8042 GB, free: 10.7 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.01519, allocations: 4.969 kB / 0.8042 GB, free: 10.7 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002381/0.01543, allocations: 111.9 kB / 0.8043 GB, free: 10.59 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.01544, allocations: 7.938 kB / 0.8044 GB, free: 10.58 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001256/0.01556, allocations: 56.94 kB / 0.8044 GB, free: 10.53 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.92e-05/0.01558, allocations: 16 kB / 0.8044 GB, free: 10.51 MB / 0.7605 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.0001252/0.01571, allocations: 189.1 kB / 0.8046 GB, free: 10.32 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.378e-05/0.01576, allocations: 76.28 kB / 0.8047 GB, free: 10.24 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.427e-05/0.01582, allocations: 62.09 kB / 0.8047 GB, free: 10.18 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.01583, allocations: 7.938 kB / 0.8047 GB, free: 10.18 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/0.01583, allocations: 2.438 kB / 0.8047 GB, free: 10.18 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/0.01584, allocations: 11.91 kB / 0.8048 GB, free: 10.16 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006619/0.0165, allocations: 0.7616 MB / 0.8055 GB, free: 9.367 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.0165, allocations: 0 / 0.8055 GB, free: 9.367 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002159/0.01672, allocations: 99.83 kB / 0.8056 GB, free: 9.27 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.01672, allocations: 6.906 kB / 0.8056 GB, free: 9.266 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.744e-05/0.01674, allocations: 7.984 kB / 0.8056 GB, free: 9.258 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.01674, allocations: 4 kB / 0.8056 GB, free: 9.254 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.01674, allocations: 3.938 kB / 0.8056 GB, free: 9.25 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005539/0.0173, allocations: 0.5097 MB / 0.8061 GB, free: 8.719 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 9.426e-05/0.01739, allocations: 99.45 kB / 0.8062 GB, free: 8.621 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.128e-05/0.01742, allocations: 12.94 kB / 0.8062 GB, free: 8.609 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.01753, allocations: 15.98 kB / 0.8062 GB, free: 8.594 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.557e-05/0.01759, allocations: 45.48 kB / 0.8063 GB, free: 8.551 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-05/0.0176, allocations: 8 kB / 0.8063 GB, free: 8.543 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001313/0.01773, allocations: 275 kB / 0.8066 GB, free: 8.277 MB / 0.7605 GB Notification: Performance of sort global known variables: time 7e-08/0.01773, allocations: 1.031 kB / 0.8066 GB, free: 8.277 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002575/0.01799, allocations: 143.6 kB / 0.8067 GB, free: 8.137 MB / 0.7605 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 8.954e-05/0.01808, allocations: 120.2 kB / 0.8068 GB, free: 8.012 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0002813/0.01836, allocations: 317.9 kB / 0.8071 GB, free: 7.684 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.233e-06/0.01836, allocations: 4.25 kB / 0.8071 GB, free: 7.68 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001181/0.01848, allocations: 127.5 kB / 0.8072 GB, free: 7.551 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004016/0.01888, allocations: 162.7 kB / 0.8074 GB, free: 7.402 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00134/0.02022, allocations: 1.149 MB / 0.8085 GB, free: 6.211 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.648e-05/0.0203, allocations: 137.9 kB / 0.8086 GB, free: 6.055 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.000139/0.02044, allocations: 56.53 kB / 0.8087 GB, free: 5.996 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002111/0.02065, allocations: 190.1 kB / 0.8089 GB, free: 5.809 MB / 0.7605 GB Notification: Performance of SimCode: time 9.02e-07/0.02065, allocations: 4 kB / 0.8089 GB, free: 5.805 MB / 0.7605 GB Notification: Performance of Templates: time 0.008334/0.02898, allocations: 6.338 MB / 0.8151 GB, free: 15.62 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.Continuous.Examples.LimPIDWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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: 4.897207302972674]