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.0009634/0.0009634, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001101/0.001101, allocations: 173 kB / 23.03 MB, free: 1.543 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.9216/0.9216, allocations: 177.1 MB / 203.4 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] 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 1.929/1.929, allocations: 429.5 MB / 0.6733 GB, free: 4.039 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.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=5007,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=5007,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: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 0.8781 GB, free: 6.379 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.546e-05/2.682e-05, allocations: 5.562 kB / 0.8781 GB, free: 6.375 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.004129/0.004156, allocations: 4.038 MB / 0.8821 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00207/0.006226, allocations: 1.359 MB / 0.8834 GB, free: 0.9766 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003919/0.006618, allocations: 27.81 kB / 0.8834 GB, free: 0.9492 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0002898/0.006908, allocations: 118.8 kB / 0.8835 GB, free: 0.832 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002991/0.007207, allocations: 198.8 kB / 0.8837 GB, free: 0.6406 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006384/0.007845, allocations: 419.3 kB / 0.8841 GB, free: 236 kB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0007597/0.008605, allocations: 0.9795 MB / 0.8851 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003716/0.008976, allocations: 282.7 kB / 0.8853 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004492/0.009426, allocations: 0.5028 MB / 0.8858 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002322/0.009658, allocations: 236 kB / 0.8861 GB, free: 14.22 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 7.916e-05/0.009737, allocations: 88 kB / 0.8861 GB, free: 14.13 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 7.242e-05/0.009809, allocations: 89.66 kB / 0.8862 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 9.26e-05/0.009902, allocations: 175.4 kB / 0.8864 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001959/0.0101, allocations: 247.3 kB / 0.8866 GB, free: 13.63 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0006103/0.01071, allocations: 0.572 MB / 0.8872 GB, free: 13.06 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.01071, allocations: 0.5 kB / 0.8872 GB, free: 13.06 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.212e-06/0.01071, allocations: 0 / 0.8872 GB, free: 13.06 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.006e-05/0.01072, allocations: 1.688 kB / 0.8872 GB, free: 13.06 MB / 0.8542 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.001229/0.01195, allocations: 1.147 MB / 0.8883 GB, free: 11.87 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.01199, allocations: 8.031 kB / 0.8883 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001497/0.01214, allocations: 136.4 kB / 0.8885 GB, free: 11.73 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005637/0.01271, allocations: 0.5444 MB / 0.889 GB, free: 11.15 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.777e-05/0.01274, allocations: 49.62 kB / 0.889 GB, free: 11.11 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.511e-05/0.0128, allocations: 62.03 kB / 0.8891 GB, free: 11.05 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006147/0.01342, allocations: 0.5147 MB / 0.8896 GB, free: 10.49 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.94e-05/0.01343, allocations: 8.125 kB / 0.8896 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.703e-05/0.01347, allocations: 29 kB / 0.8896 GB, free: 10.45 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.347e-05/0.01349, allocations: 16.75 kB / 0.8896 GB, free: 10.44 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003583/0.01384, allocations: 224.4 kB / 0.8899 GB, free: 10.22 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001744/0.01559, allocations: 1.791 MB / 0.8916 GB, free: 8.371 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004138/0.016, allocations: 291.4 kB / 0.8919 GB, free: 8.07 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001618/0.01616, allocations: 117.1 kB / 0.892 GB, free: 7.953 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.002e-05/0.01619, allocations: 12.5 kB / 0.892 GB, free: 7.941 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002474/0.01644, allocations: 179.9 kB / 0.8922 GB, free: 7.754 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=49): time 2.725e-06/0.01644, allocations: 0 / 0.8922 GB, free: 7.754 MB / 0.8542 GB Notification: Performance of matching and sorting (n=49): time 0.0005646/0.01701, allocations: 384.8 kB / 0.8926 GB, free: 7.371 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.485e-05/0.01704, allocations: 59.84 kB / 0.8926 GB, free: 7.301 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003151/0.01736, allocations: 455.2 kB / 0.893 GB, free: 6.84 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.001e-05/0.01739, allocations: 37.7 kB / 0.8931 GB, free: 6.797 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001809/0.01757, allocations: 371.6 kB / 0.8934 GB, free: 6.43 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 9.157e-05/0.01766, allocations: 174.5 kB / 0.8936 GB, free: 6.258 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.01776, allocations: 99.98 kB / 0.8937 GB, free: 6.152 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002159/0.01798, allocations: 0.5313 MB / 0.8942 GB, free: 5.609 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001454/0.01813, allocations: 102.9 kB / 0.8943 GB, free: 5.504 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001807/0.01831, allocations: 213.9 kB / 0.8945 GB, free: 5.25 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003144/0.01862, allocations: 308.7 kB / 0.8948 GB, free: 4.906 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.01862, allocations: 0 / 0.8948 GB, free: 4.906 MB / 0.8542 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0006145/0.01924, allocations: 448.6 kB / 0.8952 GB, free: 4.449 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.759e-05/0.01928, allocations: 44.19 kB / 0.8953 GB, free: 4.402 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.01928, allocations: 4 kB / 0.8953 GB, free: 4.398 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.0193, allocations: 4 kB / 0.8953 GB, free: 4.395 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002957/0.01959, allocations: 107.8 kB / 0.8954 GB, free: 4.289 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.0196, allocations: 11.94 kB / 0.8954 GB, free: 4.277 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001439/0.01975, allocations: 51.66 kB / 0.8955 GB, free: 4.227 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.341e-05/0.01977, allocations: 19.94 kB / 0.8955 GB, free: 4.207 MB / 0.8542 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.0001436/0.01991, allocations: 192.6 kB / 0.8957 GB, free: 4.008 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.951e-05/0.01997, allocations: 71.62 kB / 0.8957 GB, free: 3.938 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.879e-05/0.02004, allocations: 65.44 kB / 0.8958 GB, free: 3.875 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.02005, allocations: 4 kB / 0.8958 GB, free: 3.871 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.02005, allocations: 7.938 kB / 0.8958 GB, free: 3.863 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.02006, allocations: 0 / 0.8958 GB, free: 3.863 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008805/0.02094, allocations: 0.8665 MB / 0.8966 GB, free: 2.957 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.02094, allocations: 0 / 0.8966 GB, free: 2.957 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002558/0.0212, allocations: 91.89 kB / 0.8967 GB, free: 2.867 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.0212, allocations: 4 kB / 0.8967 GB, free: 2.863 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.593e-05/0.02122, allocations: 15.94 kB / 0.8967 GB, free: 2.848 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.02123, allocations: 0 / 0.8967 GB, free: 2.848 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.02123, allocations: 0 / 0.8967 GB, free: 2.848 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005649/0.02179, allocations: 0.5604 MB / 0.8973 GB, free: 2.266 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001128/0.02191, allocations: 95.45 kB / 0.8974 GB, free: 2.172 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.012e-05/0.02195, allocations: 15.94 kB / 0.8974 GB, free: 2.156 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/0.02207, allocations: 19.98 kB / 0.8974 GB, free: 2.137 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.03e-05/0.02214, allocations: 36.44 kB / 0.8975 GB, free: 2.102 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.906e-05/0.02216, allocations: 12 kB / 0.8975 GB, free: 2.09 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001901/0.02235, allocations: 295 kB / 0.8977 GB, free: 1.801 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.02235, allocations: 0 / 0.8977 GB, free: 1.801 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002911/0.02264, allocations: 139.7 kB / 0.8979 GB, free: 1.664 MB / 0.8542 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.0001047/0.02275, allocations: 114.4 kB / 0.898 GB, free: 1.543 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004078/0.02315, allocations: 348.6 kB / 0.8983 GB, free: 1.18 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.02316, allocations: 0 / 0.8983 GB, free: 1.18 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000165/0.02332, allocations: 139.5 kB / 0.8985 GB, free: 1.039 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004695/0.02379, allocations: 163.1 kB / 0.8986 GB, free: 0.8867 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001632/0.02542, allocations: 1.173 MB / 0.8998 GB, free: 15.67 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.321e-05/0.02551, allocations: 137.8 kB / 0.8999 GB, free: 15.52 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001596/0.02567, allocations: 60.56 kB / 0.8999 GB, free: 15.45 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.194e-05/0.02576, allocations: 44.48 kB / 0.9 GB, free: 15.41 MB / 0.8698 GB Notification: Performance of SimCode: time 5.61e-07/0.02576, allocations: 0 / 0.9 GB, free: 15.41 MB / 0.8698 GB Notification: Performance of Templates: time 0.008653/0.03441, allocations: 6.12 MB / 0.906 GB, free: 9.422 MB / 0.8698 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Examples.LimPIDWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.229626826941967]