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.0009547/0.0009547, 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.001719/0.001719, 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.9635/0.9635, allocations: 177.2 MB / 204.2 MB, free: 5.59 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.826/1.826, allocations: 377.8 MB / 0.6236 GB, free: 8.52 MB / 0.5886 GB " [Timeout remaining time 178] 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 2.044e-06/2.044e-06, allocations: 0 / 0.8115 GB, free: 1.73 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.737e-05/1.942e-05, allocations: 3.625 kB / 0.8115 GB, free: 1.727 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.001258/0.001278, allocations: 0.7404 MB / 0.8123 GB, free: 1.008 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001423/0.002701, allocations: 1.242 MB / 0.8135 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.53e-05/0.002746, allocations: 4 kB / 0.8135 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.356e-05/0.00278, allocations: 3.938 kB / 0.8135 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.197e-05/0.002852, allocations: 11.86 kB / 0.8135 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004529/0.003305, allocations: 144.7 kB / 0.8136 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000145/0.00345, allocations: 117.3 kB / 0.8137 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.614e-05/0.003536, allocations: 11.92 kB / 0.8137 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001045/0.00364, allocations: 71.88 kB / 0.8138 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.535e-05/0.003716, allocations: 35.88 kB / 0.8139 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.852e-05/0.003744, allocations: 13.41 kB / 0.8139 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 6.535e-05/0.00381, allocations: 27.98 kB / 0.8139 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.041e-05/0.00383, allocations: 7.984 kB / 0.8139 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.008e-05/0.00388, allocations: 35.91 kB / 0.8139 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001458/0.004026, allocations: 101.2 kB / 0.814 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.004028, allocations: 0 / 0.814 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.62e-07/0.004029, allocations: 0 / 0.814 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.004033, allocations: 0 / 0.814 GB, free: 15.18 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.0004386/0.004471, allocations: 423.3 kB / 0.8144 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.004507, allocations: 15.97 kB / 0.8144 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001016/0.004608, allocations: 20.83 kB / 0.8145 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.84e-05/0.004687, allocations: 125 kB / 0.8146 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.0047, allocations: 4.906 kB / 0.8146 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.523e-05/0.004715, allocations: 4.375 kB / 0.8146 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001167/0.004832, allocations: 67.83 kB / 0.8147 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.004838, allocations: 4.188 kB / 0.8147 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.004848, allocations: 1.156 kB / 0.8147 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.004854, allocations: 384 / 0.8147 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.809e-05/0.004892, allocations: 20.45 kB / 0.8147 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003537/0.005245, allocations: 308.9 kB / 0.815 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.564e-05/0.005321, allocations: 35.06 kB / 0.815 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.429e-05/0.005345, allocations: 16.92 kB / 0.815 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.508e-05/0.00536, allocations: 4 kB / 0.815 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.184e-05/0.005452, allocations: 84.89 kB / 0.8151 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 9.31e-07/0.005453, allocations: 0.8438 kB / 0.8151 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0001883/0.005641, allocations: 89.73 kB / 0.8152 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.005676, allocations: 55.94 kB / 0.8153 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.948e-05/0.005755, allocations: 170.7 kB / 0.8154 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.005773, allocations: 33.7 kB / 0.8154 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.184e-05/0.005825, allocations: 139.8 kB / 0.8156 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.458e-05/0.00584, allocations: 7.906 kB / 0.8156 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.896e-05/0.005889, allocations: 47.36 kB / 0.8156 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.005992, allocations: 0.4931 MB / 0.8161 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.81e-05/0.00606, allocations: 57.62 kB / 0.8162 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.385e-05/0.006134, allocations: 101.7 kB / 0.8163 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.164e-05/0.006226, allocations: 104.4 kB / 0.8164 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/0.006228, allocations: 0.75 kB / 0.8164 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001956/0.006424, allocations: 201.8 kB / 0.8166 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.774e-05/0.006452, allocations: 37.69 kB / 0.8166 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.006456, allocations: 1.562 kB / 0.8166 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.006468, allocations: 4 kB / 0.8166 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.702e-05/0.006535, allocations: 15.92 kB / 0.8166 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.00654, allocations: 3.938 kB / 0.8166 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.975e-05/0.00663, allocations: 32.97 kB / 0.8167 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/0.006646, allocations: 7.984 kB / 0.8167 GB, free: 12.21 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 7.24e-05/0.006718, allocations: 167.8 kB / 0.8168 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.091e-05/0.006729, allocations: 7.938 kB / 0.8168 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000117/0.006846, allocations: 82.19 kB / 0.8169 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.006851, allocations: 7.984 kB / 0.8169 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.006855, allocations: 7.938 kB / 0.8169 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.006858, allocations: 0 / 0.8169 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001793/0.007037, allocations: 325.3 kB / 0.8172 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.007039, allocations: 4.5 kB / 0.8172 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.691e-05/0.007066, allocations: 8 kB / 0.8172 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.007069, allocations: 1.938 kB / 0.8172 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.852e-06/0.007076, allocations: 0 / 0.8172 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.007077, allocations: 0 / 0.8172 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.007078, allocations: 4 kB / 0.8172 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001158/0.007193, allocations: 223.8 kB / 0.8175 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.364e-06/0.007201, allocations: 8.609 kB / 0.8175 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.007216, allocations: 3.984 kB / 0.8175 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.524e-05/0.007252, allocations: 10.38 kB / 0.8175 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.423e-05/0.007286, allocations: 3.984 kB / 0.8175 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.007292, allocations: 4 kB / 0.8175 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.728e-05/0.007329, allocations: 131.2 kB / 0.8176 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.00733, allocations: 4 kB / 0.8176 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001671/0.007497, allocations: 16 kB / 0.8176 GB, free: 11.14 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.0001035/0.0076, allocations: 110.2 kB / 0.8177 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001734/0.007774, allocations: 156.7 kB / 0.8179 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.007775, allocations: 0 / 0.8179 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.865e-05/0.007814, allocations: 31.61 kB / 0.8179 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001828/0.007997, allocations: 16.8 kB / 0.8179 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004331/0.00843, allocations: 164 kB / 0.8181 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.38e-05/0.008463, allocations: 60.34 kB / 0.8182 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.253e-05/0.008486, allocations: 4 kB / 0.8182 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.894e-05/0.008515, allocations: 17.55 kB / 0.8182 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of SimCode: time 5.91e-07/0.008516, allocations: 3.938 kB / 0.8182 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of Templates: time 0.003604/0.01212, allocations: 1.672 MB / 0.8198 GB, free: 8.898 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: 4.992085252888501]