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.001045/0.001045, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009993/0.0009993, allocations: 161 kB / 23.82 MB, free: 0.75 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.9688/0.9688, allocations: 177.2 MB / 204.2 MB, free: 5.598 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.761/1.761, allocations: 359 MB / 0.6052 GB, free: 10.99 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.824e-06/1.824e-06, allocations: 0 / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.486e-05/2.668e-05, allocations: 5.125 kB / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.004163/0.004189, allocations: 4.029 MB / 0.791 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002369/0.006558, allocations: 1.346 MB / 0.7923 GB, free: 7.109 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005243/0.007082, allocations: 33.28 kB / 0.7923 GB, free: 7.078 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0003406/0.007423, allocations: 130.7 kB / 0.7925 GB, free: 6.949 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0003623/0.007785, allocations: 190.8 kB / 0.7926 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007431/0.008528, allocations: 419.2 kB / 0.793 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0009758/0.009504, allocations: 0.9669 MB / 0.794 GB, free: 5.387 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004562/0.00996, allocations: 294.6 kB / 0.7943 GB, free: 5.074 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005577/0.01052, allocations: 0.5038 MB / 0.7948 GB, free: 4.57 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002741/0.01079, allocations: 235.2 kB / 0.795 GB, free: 4.34 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 8.87e-05/0.01088, allocations: 88.59 kB / 0.7951 GB, free: 4.254 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.603e-05/0.01096, allocations: 88 kB / 0.7952 GB, free: 4.168 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 9.981e-05/0.01106, allocations: 180.1 kB / 0.7953 GB, free: 3.992 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.000186/0.01124, allocations: 247.4 kB / 0.7956 GB, free: 3.75 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005927/0.01184, allocations: 0.5686 MB / 0.7961 GB, free: 3.18 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.01184, allocations: 5.594 kB / 0.7961 GB, free: 3.176 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.533e-06/0.01184, allocations: 0 / 0.7961 GB, free: 3.176 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.168e-05/0.01185, allocations: 0 / 0.7961 GB, free: 3.176 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.001347/0.0132, allocations: 1.148 MB / 0.7972 GB, free: 1.984 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.01324, allocations: 8.031 kB / 0.7973 GB, free: 1.977 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001704/0.01341, allocations: 136.4 kB / 0.7974 GB, free: 1.844 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006484/0.01406, allocations: 0.534 MB / 0.7979 GB, free: 1.281 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.329e-05/0.01409, allocations: 49.67 kB / 0.798 GB, free: 1.23 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.014e-05/0.01416, allocations: 64.36 kB / 0.798 GB, free: 1.168 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00066/0.01482, allocations: 0.5186 MB / 0.7985 GB, free: 0.6055 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.943e-05/0.01484, allocations: 2.031 kB / 0.7985 GB, free: 0.6055 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.797e-05/0.01488, allocations: 20.38 kB / 0.7985 GB, free: 0.5859 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.397e-05/0.01489, allocations: 19.94 kB / 0.7986 GB, free: 0.5664 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003817/0.01528, allocations: 228.2 kB / 0.7988 GB, free: 352 kB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001895/0.01717, allocations: 1.796 MB / 0.8005 GB, free: 14.5 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004396/0.01761, allocations: 275.2 kB / 0.8008 GB, free: 14.21 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001727/0.01778, allocations: 130.2 kB / 0.8009 GB, free: 14.09 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 3.451e-05/0.01782, allocations: 12.48 kB / 0.8009 GB, free: 14.07 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002716/0.01809, allocations: 180.7 kB / 0.8011 GB, free: 13.89 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=49): time 2.866e-06/0.01809, allocations: 0 / 0.8011 GB, free: 13.89 MB / 0.7605 GB Notification: Performance of matching and sorting (n=49): time 0.0005924/0.01868, allocations: 389.2 kB / 0.8015 GB, free: 13.5 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.459e-05/0.01873, allocations: 64.69 kB / 0.8015 GB, free: 13.43 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003181/0.01905, allocations: 439.3 kB / 0.802 GB, free: 12.98 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.015e-05/0.01908, allocations: 39.67 kB / 0.802 GB, free: 12.94 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001808/0.01926, allocations: 383.6 kB / 0.8024 GB, free: 12.56 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 9.254e-05/0.01935, allocations: 170.5 kB / 0.8025 GB, free: 12.39 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/0.01945, allocations: 96 kB / 0.8026 GB, free: 12.29 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.01961, allocations: 0.5313 MB / 0.8031 GB, free: 11.74 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/0.01975, allocations: 103.6 kB / 0.8032 GB, free: 11.64 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001808/0.01994, allocations: 217.5 kB / 0.8034 GB, free: 11.38 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003118/0.02025, allocations: 300.7 kB / 0.8037 GB, free: 11.05 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.02025, allocations: 0 / 0.8037 GB, free: 11.05 MB / 0.7605 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0004789/0.02073, allocations: 450.8 kB / 0.8042 GB, free: 10.59 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.945e-05/0.02077, allocations: 34.83 kB / 0.8042 GB, free: 10.55 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/0.02078, allocations: 4 kB / 0.8042 GB, free: 10.55 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.02079, allocations: 8 kB / 0.8042 GB, free: 10.54 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002849/0.02108, allocations: 112.8 kB / 0.8043 GB, free: 10.43 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.02109, allocations: 7.938 kB / 0.8043 GB, free: 10.42 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001404/0.02123, allocations: 52.91 kB / 0.8044 GB, free: 10.37 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.421e-05/0.02125, allocations: 20 kB / 0.8044 GB, free: 10.35 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 (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.0001492/0.0214, allocations: 186.2 kB / 0.8046 GB, free: 10.16 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.062e-05/0.02146, allocations: 79.61 kB / 0.8046 GB, free: 10.08 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.757e-05/0.02154, allocations: 61.44 kB / 0.8047 GB, free: 10.02 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.02154, allocations: 4 kB / 0.8047 GB, free: 10.02 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.02155, allocations: 4.562 kB / 0.8047 GB, free: 10.02 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.02156, allocations: 4.703 kB / 0.8047 GB, free: 10.01 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008726/0.02243, allocations: 0.8715 MB / 0.8056 GB, free: 9.102 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.02243, allocations: 0 / 0.8056 GB, free: 9.102 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002471/0.02268, allocations: 87.89 kB / 0.8056 GB, free: 9.016 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.02268, allocations: 4.656 kB / 0.8056 GB, free: 9.012 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.426e-05/0.02271, allocations: 15.92 kB / 0.8057 GB, free: 8.996 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.02271, allocations: 4.781 kB / 0.8057 GB, free: 8.992 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.02271, allocations: 0 / 0.8057 GB, free: 8.992 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00056/0.02327, allocations: 0.5568 MB / 0.8062 GB, free: 8.414 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.02338, allocations: 99.45 kB / 0.8063 GB, free: 8.316 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.207e-05/0.02342, allocations: 15.94 kB / 0.8063 GB, free: 8.301 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/0.02354, allocations: 19.92 kB / 0.8063 GB, free: 8.281 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.466e-05/0.02362, allocations: 40.42 kB / 0.8064 GB, free: 8.242 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/0.02363, allocations: 8 kB / 0.8064 GB, free: 8.234 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001959/0.02383, allocations: 295 kB / 0.8067 GB, free: 7.949 MB / 0.7605 GB Notification: Performance of sort global known variables: time 7e-08/0.02383, allocations: 0 / 0.8067 GB, free: 7.949 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003112/0.02414, allocations: 139.6 kB / 0.8068 GB, free: 7.812 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 0.0001169/0.02426, allocations: 119.2 kB / 0.8069 GB, free: 7.688 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0004669/0.02473, allocations: 344.3 kB / 0.8072 GB, free: 7.328 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.02473, allocations: 0 / 0.8072 GB, free: 7.328 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001684/0.0249, allocations: 143.5 kB / 0.8074 GB, free: 7.188 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004664/0.02536, allocations: 163 kB / 0.8075 GB, free: 7.035 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001715/0.02708, allocations: 1.165 MB / 0.8087 GB, free: 5.828 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.643e-05/0.02716, allocations: 133.9 kB / 0.8088 GB, free: 5.676 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001762/0.02734, allocations: 68.53 kB / 0.8089 GB, free: 5.605 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.128e-05/0.02743, allocations: 36.5 kB / 0.8089 GB, free: 5.57 MB / 0.7605 GB Notification: Performance of SimCode: time 7.51e-07/0.02743, allocations: 0 / 0.8089 GB, free: 5.57 MB / 0.7605 GB Notification: Performance of Templates: time 0.008709/0.03614, allocations: 6.127 MB / 0.8149 GB, free: 15.59 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.91577663179487]