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.001273/0.001273, allocations: 82.64 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.00161/0.00161, allocations: 181 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 0.9738/0.9738, allocations: 177.1 MB / 204.5 MB, free: 5.531 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.964/1.964, allocations: 377.9 MB / 0.624 GB, free: 8.43 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 2.504e-06/2.504e-06, allocations: 0 / 0.812 GB, free: 1.508 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.687e-05/2.938e-05, allocations: 2.312 kB / 0.812 GB, free: 1.504 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.002431/0.00246, allocations: 0.7377 MB / 0.8127 GB, free: 0.7852 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001816/0.004276, allocations: 1.245 MB / 0.8139 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.491e-05/0.004351, allocations: 0 / 0.8139 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 4.364e-05/0.004395, allocations: 4.719 kB / 0.8139 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 9.068e-05/0.004486, allocations: 7.922 kB / 0.8139 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006823/0.005168, allocations: 145.9 kB / 0.8141 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000271/0.005439, allocations: 115.7 kB / 0.8142 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001441/0.005583, allocations: 15.92 kB / 0.8142 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001871/0.00577, allocations: 63.94 kB / 0.8143 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001194/0.00589, allocations: 44.91 kB / 0.8143 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.346e-05/0.005923, allocations: 8 kB / 0.8143 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.643e-05/0.006019, allocations: 27.98 kB / 0.8143 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.852e-05/0.006048, allocations: 8.891 kB / 0.8143 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.125e-05/0.006109, allocations: 39.91 kB / 0.8144 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002944/0.006404, allocations: 97.03 kB / 0.8145 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.006411, allocations: 0 / 0.8145 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.994e-06/0.006413, allocations: 0 / 0.8145 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.006419, allocations: 0 / 0.8145 GB, free: 14.96 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.0007049/0.007124, allocations: 431.9 kB / 0.8149 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.715e-05/0.007181, allocations: 8.031 kB / 0.8149 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001911/0.007372, allocations: 20.83 kB / 0.8149 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.007498, allocations: 116.5 kB / 0.815 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.331e-05/0.007521, allocations: 5.281 kB / 0.815 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.137e-05/0.007543, allocations: 8.359 kB / 0.815 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000198/0.007741, allocations: 79.39 kB / 0.8151 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.007753, allocations: 192 / 0.8151 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.007765, allocations: 1 kB / 0.8151 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.007774, allocations: 0.9062 kB / 0.8151 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.046e-05/0.007815, allocations: 11.92 kB / 0.8151 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005186/0.008333, allocations: 289.6 kB / 0.8154 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/0.008435, allocations: 38.98 kB / 0.8154 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.458e-05/0.00846, allocations: 16.3 kB / 0.8155 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.824e-05/0.008488, allocations: 5.375 kB / 0.8155 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001545/0.008642, allocations: 73.03 kB / 0.8155 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 2.064e-06/0.008644, allocations: 0 / 0.8155 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0002269/0.008871, allocations: 82.94 kB / 0.8156 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.907e-05/0.00891, allocations: 59.41 kB / 0.8157 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.009022, allocations: 177.8 kB / 0.8158 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.514e-05/0.009047, allocations: 30.8 kB / 0.8159 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.091e-05/0.009118, allocations: 138.9 kB / 0.816 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.319e-05/0.009141, allocations: 15.89 kB / 0.816 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.032e-05/0.009212, allocations: 40.19 kB / 0.816 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001601/0.009372, allocations: 0.4884 MB / 0.8165 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.771e-05/0.009459, allocations: 58.52 kB / 0.8166 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.599e-05/0.009555, allocations: 96.34 kB / 0.8167 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001217/0.009677, allocations: 101.6 kB / 0.8168 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.00968, allocations: 0 / 0.8168 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000283/0.009963, allocations: 193.7 kB / 0.817 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.446e-05/0.01001, allocations: 42.81 kB / 0.817 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.01001, allocations: 80 / 0.817 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.01003, allocations: 0 / 0.817 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.933e-05/0.01013, allocations: 13.34 kB / 0.817 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.01013, allocations: 3.984 kB / 0.817 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000128/0.01026, allocations: 37.39 kB / 0.817 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.892e-05/0.01028, allocations: 4 kB / 0.8171 GB, free: 12.06 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.000108/0.01039, allocations: 168.5 kB / 0.8172 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.473e-05/0.01041, allocations: 15.92 kB / 0.8172 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001601/0.01057, allocations: 76.92 kB / 0.8173 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.01058, allocations: 0 / 0.8173 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-06/0.01058, allocations: 0 / 0.8173 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.01058, allocations: 0 / 0.8173 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002764/0.01086, allocations: 306 kB / 0.8176 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.01086, allocations: 0 / 0.8176 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.337e-05/0.01092, allocations: 12 kB / 0.8176 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.01092, allocations: 8.438 kB / 0.8176 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.176e-06/0.01093, allocations: 4.516 kB / 0.8176 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.01093, allocations: 0 / 0.8176 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.01093, allocations: 1.938 kB / 0.8176 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001809/0.01111, allocations: 215.9 kB / 0.8178 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.288e-05/0.01113, allocations: 11.89 kB / 0.8178 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.885e-05/0.01115, allocations: 4 kB / 0.8178 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.384e-05/0.01122, allocations: 4 kB / 0.8178 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.712e-05/0.01126, allocations: 8.875 kB / 0.8179 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-06/0.01126, allocations: 4 kB / 0.8179 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.642e-05/0.01132, allocations: 131.8 kB / 0.818 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9.1e-08/0.01132, allocations: 0 / 0.818 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002967/0.01162, allocations: 20.66 kB / 0.818 GB, free: 11.02 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.0001784/0.01179, allocations: 110 kB / 0.8181 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002367/0.01203, allocations: 156.6 kB / 0.8183 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.01203, allocations: 0 / 0.8183 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.193e-05/0.01208, allocations: 23.67 kB / 0.8183 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003374/0.01241, allocations: 18.7 kB / 0.8183 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005663/0.01298, allocations: 165.1 kB / 0.8185 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.604e-05/0.01303, allocations: 59.22 kB / 0.8185 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.538e-05/0.01306, allocations: 7.984 kB / 0.8185 GB, free: 10.42 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001039/0.01316, allocations: 87.12 kB / 0.8186 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of SimCode: time 1.072e-06/0.01317, allocations: 0 / 0.8186 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of Templates: time 0.0049/0.01807, allocations: 1.682 MB / 0.8202 GB, free: 8.707 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.150627271737903]