Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.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.000969/0.000969, allocations: 79.73 kB / 20.98 MB, free: 3.555 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.0009256/0.0009256, allocations: 165 kB / 24.28 MB, free: 264 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.009/1.009, allocations: 177.1 MB / 204.6 MB, free: 5.625 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.971/1.971, allocations: 377.8 MB / 0.6239 GB, free: 8.562 MB / 0.5886 GB " [Timeout remaining time 177] 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.OBC.CDL.Discrete.Validation.TriggeredMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|triggeredMax.u|triggeredMax.y|triggeredMax.trigger",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax") translateModel(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|triggeredMax.u|triggeredMax.y|triggeredMax.trigger",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.739e-06/4.739e-06, allocations: 3.984 kB / 0.8115 GB, free: 2.055 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.53e-05/4.004e-05, allocations: 4.984 kB / 0.8115 GB, free: 2.051 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.002245/0.002285, allocations: 0.7326 MB / 0.8122 GB, free: 1.34 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001869/0.004154, allocations: 1.242 MB / 0.8134 GB, free: 88 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.247e-05/0.004227, allocations: 4 kB / 0.8134 GB, free: 84 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 4.084e-05/0.004267, allocations: 7.922 kB / 0.8135 GB, free: 76 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 9.104e-05/0.004358, allocations: 6.375 kB / 0.8135 GB, free: 72 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006611/0.00502, allocations: 143.5 kB / 0.8136 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002214/0.005241, allocations: 119.7 kB / 0.8137 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.005363, allocations: 11.94 kB / 0.8137 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001598/0.005523, allocations: 73.33 kB / 0.8138 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001118/0.005634, allocations: 35.89 kB / 0.8138 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.136e-05/0.005666, allocations: 12 kB / 0.8138 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 8.599e-05/0.005752, allocations: 27.97 kB / 0.8139 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.139e-05/0.005783, allocations: 13.44 kB / 0.8139 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.875e-05/0.005852, allocations: 31.97 kB / 0.8139 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002398/0.006092, allocations: 103.7 kB / 0.814 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.006096, allocations: 0 / 0.814 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.603e-06/0.006098, allocations: 1.594 kB / 0.814 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.006105, allocations: 0 / 0.814 GB, free: 15.51 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006253/0.00673, allocations: 422.2 kB / 0.8144 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.374e-05/0.006784, allocations: 12.03 kB / 0.8144 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001582/0.006942, allocations: 21.81 kB / 0.8144 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.007057, allocations: 112.6 kB / 0.8145 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.982e-05/0.007077, allocations: 4.906 kB / 0.8146 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.514e-05/0.007102, allocations: 12.31 kB / 0.8146 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001895/0.007291, allocations: 63.47 kB / 0.8146 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.007301, allocations: 1.219 kB / 0.8146 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/0.007317, allocations: 12.34 kB / 0.8146 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.317e-06/0.007327, allocations: 384 / 0.8146 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.253e-05/0.007379, allocations: 12.59 kB / 0.8147 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005274/0.007907, allocations: 312.1 kB / 0.8149 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001182/0.008025, allocations: 44.36 kB / 0.815 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.469e-05/0.00806, allocations: 11.69 kB / 0.815 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.281e-05/0.008082, allocations: 8.016 kB / 0.815 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001445/0.008227, allocations: 78.12 kB / 0.8151 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 2.385e-06/0.008229, allocations: 0 / 0.8151 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0002764/0.008506, allocations: 93.67 kB / 0.8152 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.546e-05/0.008551, allocations: 52.34 kB / 0.8152 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.00867, allocations: 181.9 kB / 0.8154 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.687e-05/0.008697, allocations: 30.61 kB / 0.8154 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.35e-05/0.00877, allocations: 134.9 kB / 0.8156 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.176e-05/0.008792, allocations: 12.94 kB / 0.8156 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.938e-05/0.008872, allocations: 51.34 kB / 0.8156 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.009024, allocations: 492.1 kB / 0.8161 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001157/0.00914, allocations: 62.95 kB / 0.8161 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001227/0.009262, allocations: 104.4 kB / 0.8162 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001386/0.009401, allocations: 101.3 kB / 0.8163 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.009404, allocations: 0 / 0.8163 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000318/0.009722, allocations: 205.7 kB / 0.8165 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.556e-05/0.009767, allocations: 44.34 kB / 0.8166 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.009773, allocations: 1.531 kB / 0.8166 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.009789, allocations: 0 / 0.8166 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.009894, allocations: 16 kB / 0.8166 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.0099, allocations: 0 / 0.8166 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001329/0.01003, allocations: 33.08 kB / 0.8166 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.94e-05/0.01005, allocations: 4 kB / 0.8166 GB, free: 12.55 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition3,booPul.y,$PRE.booPul.y,$whenCondition1,triggeredMax.y,$PRE.triggeredMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * 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.000107/0.01016, allocations: 171.6 kB / 0.8168 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.365e-05/0.01018, allocations: 11.92 kB / 0.8168 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001771/0.01036, allocations: 78.11 kB / 0.8169 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.471e-06/0.01037, allocations: 4 kB / 0.8169 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.01037, allocations: 0 / 0.8169 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.01037, allocations: 0 / 0.8169 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002793/0.01065, allocations: 329.3 kB / 0.8172 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.01066, allocations: 0.5 kB / 0.8172 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.227e-05/0.01071, allocations: 13.92 kB / 0.8172 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.01071, allocations: 0 / 0.8172 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.01072, allocations: 3.938 kB / 0.8172 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.01072, allocations: 0 / 0.8172 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.01073, allocations: 0 / 0.8172 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001979/0.01092, allocations: 235.8 kB / 0.8174 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.182e-05/0.01094, allocations: 8.797 kB / 0.8175 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.358e-05/0.01096, allocations: 0 / 0.8175 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.531e-05/0.01103, allocations: 8.828 kB / 0.8175 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.618e-05/0.01108, allocations: 4 kB / 0.8175 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.067e-05/0.01109, allocations: 8.641 kB / 0.8175 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.228e-05/0.01114, allocations: 123.2 kB / 0.8176 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.01e-07/0.01114, allocations: 2.5 kB / 0.8176 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003171/0.01146, allocations: 24 kB / 0.8176 GB, free: 11.48 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition3,$whenCondition1,triggeredMax.y,booPul.y) * Number of discrete states: 1 (triggeredMax.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.0001713/0.01163, allocations: 111.2 kB / 0.8177 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002714/0.0119, allocations: 160.7 kB / 0.8179 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.0119, allocations: 2.938 kB / 0.8179 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.844e-05/0.01196, allocations: 23.67 kB / 0.8179 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003254/0.01229, allocations: 19.92 kB / 0.8179 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006598/0.01295, allocations: 159.8 kB / 0.8181 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.433e-05/0.01299, allocations: 63.2 kB / 0.8181 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.788e-05/0.01302, allocations: 5.094 kB / 0.8181 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.712e-05/0.01305, allocations: 12.5 kB / 0.8181 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of SimCode: time 1.012e-06/0.01305, allocations: 1.062 kB / 0.8181 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of Templates: time 0.003423/0.01647, allocations: 1.549 MB / 0.8197 GB, free: 9.359 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Discrete_Validation_TriggeredMax.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.237588701071218]