Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.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.0009455/0.0009455, 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.0009708/0.0009708, allocations: 181 kB / 24.09 MB, free: 420 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.9441/0.9441, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.898/1.898, allocations: 377.9 MB / 0.624 GB, free: 8.418 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.Logical.Validation.Edge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|edge1.u|edge1.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|edge1.u|edge1.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.675e-06/2.675e-06, allocations: 0.7656 kB / 0.812 GB, free: 1.453 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.378e-05/2.646e-05, allocations: 2.312 kB / 0.812 GB, free: 1.449 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.004647/0.004673, allocations: 0.7596 MB / 0.8128 GB, free: 0.707 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001382/0.006055, allocations: 1.183 MB / 0.8139 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.095e-05/0.006106, allocations: 4.781 kB / 0.8139 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.996e-05/0.006136, allocations: 3.938 kB / 0.8139 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 8.657e-05/0.006222, allocations: 17.55 kB / 0.8139 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004031/0.006625, allocations: 131.6 kB / 0.8141 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001462/0.006772, allocations: 113.3 kB / 0.8142 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 7.993e-05/0.006851, allocations: 11.98 kB / 0.8142 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001178/0.006969, allocations: 67.88 kB / 0.8142 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 8.147e-05/0.007051, allocations: 35.94 kB / 0.8143 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.383e-05/0.007075, allocations: 13.75 kB / 0.8143 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003066/0.01014, allocations: 23.98 kB / 0.8143 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.342e-05/0.01016, allocations: 11.92 kB / 0.8143 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.255e-05/0.01021, allocations: 35.97 kB / 0.8144 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001465/0.01035, allocations: 91.69 kB / 0.8144 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.01036, allocations: 4.719 kB / 0.8145 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.81e-07/0.01036, allocations: 0 / 0.8145 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.156e-06/0.01036, allocations: 0.8125 kB / 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.0004165/0.01078, allocations: 431.7 kB / 0.8149 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.01081, allocations: 8.031 kB / 0.8149 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.241e-05/0.01085, allocations: 16.88 kB / 0.8149 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.783e-05/0.01093, allocations: 116.5 kB / 0.815 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.01094, allocations: 8.375 kB / 0.815 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.626e-05/0.01096, allocations: 10.97 kB / 0.815 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001108/0.01107, allocations: 62.88 kB / 0.8151 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.01108, allocations: 192 / 0.8151 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.614e-06/0.01109, allocations: 4.375 kB / 0.8151 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.01109, allocations: 384 / 0.8151 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.932e-05/0.01112, allocations: 15.92 kB / 0.8151 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003046/0.01143, allocations: 292.9 kB / 0.8154 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.134e-05/0.01151, allocations: 43.77 kB / 0.8154 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.222e-05/0.01153, allocations: 16.34 kB / 0.8154 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 8.125e-06/0.01154, allocations: 5.656 kB / 0.8154 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.288e-05/0.01163, allocations: 73.02 kB / 0.8155 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=8): time 4.087e-06/0.01163, allocations: 3.984 kB / 0.8155 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.0001746/0.01181, allocations: 93.5 kB / 0.8156 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.811e-05/0.01184, allocations: 55.91 kB / 0.8157 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.414e-05/0.01192, allocations: 182.4 kB / 0.8158 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.01194, allocations: 29.7 kB / 0.8159 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.369e-05/0.012, allocations: 139.6 kB / 0.816 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.547e-05/0.01202, allocations: 19.89 kB / 0.816 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.285e-05/0.01208, allocations: 44.5 kB / 0.8161 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.0122, allocations: 496.1 kB / 0.8165 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.085e-05/0.01226, allocations: 61.67 kB / 0.8166 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.787e-05/0.01234, allocations: 101.5 kB / 0.8167 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001019/0.01244, allocations: 121 kB / 0.8168 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.01244, allocations: 1.094 kB / 0.8168 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002175/0.01266, allocations: 197.9 kB / 0.817 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.971e-05/0.01269, allocations: 45.56 kB / 0.817 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.01269, allocations: 4.844 kB / 0.817 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.01271, allocations: 0 / 0.817 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.762e-05/0.01276, allocations: 11.94 kB / 0.817 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.359e-06/0.01277, allocations: 6.219 kB / 0.8171 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.709e-05/0.01287, allocations: 27.91 kB / 0.8171 GB, free: 12 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.698e-05/0.01288, allocations: 8 kB / 0.8171 GB, free: 11.99 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,edge1.y,edge1.u,$PRE.edge1.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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.003093/0.01598, allocations: 171.3 kB / 0.8172 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.575e-05/0.01599, allocations: 7.953 kB / 0.8173 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.088e-05/0.01602, allocations: 12.38 kB / 0.8173 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.01602, allocations: 0 / 0.8173 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-06/0.01603, allocations: 4 kB / 0.8173 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.01603, allocations: 0 / 0.8173 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002535/0.01628, allocations: 318 kB / 0.8176 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.01628, allocations: 1.562 kB / 0.8176 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.567e-05/0.01631, allocations: 4.062 kB / 0.8176 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.01631, allocations: 7.938 kB / 0.8176 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.563e-06/0.01632, allocations: 4 kB / 0.8176 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.01632, allocations: 4.469 kB / 0.8176 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.01632, allocations: 0 / 0.8176 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002732/0.0166, allocations: 220.5 kB / 0.8178 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.112e-05/0.01661, allocations: 16.45 kB / 0.8178 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.01662, allocations: 3.984 kB / 0.8178 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.117e-05/0.01667, allocations: 5.375 kB / 0.8178 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.164e-05/0.01671, allocations: 11.98 kB / 0.8178 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.6e-06/0.01671, allocations: 0 / 0.8178 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.398e-05/0.01676, allocations: 132.3 kB / 0.818 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01676, allocations: 0 / 0.818 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002367/0.01699, allocations: 24 kB / 0.818 GB, free: 11.01 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: 7 (edge1.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0001084/0.0171, allocations: 108.4 kB / 0.8181 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001739/0.01728, allocations: 164.4 kB / 0.8183 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.01728, allocations: 0 / 0.8183 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.698e-05/0.01731, allocations: 31.61 kB / 0.8183 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002358/0.01755, allocations: 11.94 kB / 0.8183 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002798/0.01783, allocations: 166.8 kB / 0.8185 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.246e-05/0.01787, allocations: 63.22 kB / 0.8185 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.564e-05/0.0179, allocations: 9.453 kB / 0.8185 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.909e-05/0.01799, allocations: 86.19 kB / 0.8186 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of SimCode: time 6.91e-07/0.01799, allocations: 0 / 0.8186 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of Templates: time 0.006598/0.02458, allocations: 1.757 MB / 0.8203 GB, free: 8.598 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Edge.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.188800068106502]