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.001062/0.001062, allocations: 87.58 kB / 20.45 MB, free: 4.113 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.001806/0.001806, allocations: 161 kB / 23.82 MB, free: 0.7461 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.9929/0.9929, allocations: 177.1 MB / 204.2 MB, free: 5.641 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.883/1.883, allocations: 377.9 MB / 0.6236 GB, free: 8.57 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.635e-06/2.635e-06, allocations: 0 / 0.8115 GB, free: 1.723 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.616e-05/2.879e-05, allocations: 6.25 kB / 0.8116 GB, free: 1.715 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.002096/0.002124, allocations: 0.7647 MB / 0.8123 GB, free: 0.9766 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001885/0.00401, allocations: 1.183 MB / 0.8135 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.397e-05/0.004074, allocations: 4 kB / 0.8135 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 4.137e-05/0.004115, allocations: 4.625 kB / 0.8135 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001089/0.004224, allocations: 8.5 kB / 0.8135 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006185/0.004842, allocations: 137.1 kB / 0.8136 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002222/0.005065, allocations: 115.8 kB / 0.8137 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001428/0.005207, allocations: 8 kB / 0.8137 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001691/0.005377, allocations: 72.89 kB / 0.8138 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001125/0.005489, allocations: 43.81 kB / 0.8138 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.85e-05/0.005528, allocations: 12.78 kB / 0.8138 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 8.051e-05/0.005608, allocations: 19.98 kB / 0.8139 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.187e-05/0.00564, allocations: 4 kB / 0.8139 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 7.705e-05/0.005717, allocations: 45.58 kB / 0.8139 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002547/0.005972, allocations: 95.69 kB / 0.814 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.005977, allocations: 4 kB / 0.814 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.824e-06/0.005979, allocations: 0 / 0.814 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.005985, allocations: 1.531 kB / 0.814 GB, free: 15.22 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.0006499/0.006635, allocations: 426.1 kB / 0.8144 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/0.006685, allocations: 8.031 kB / 0.8144 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.385e-05/0.006769, allocations: 16.89 kB / 0.8144 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.006911, allocations: 118.3 kB / 0.8145 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.656e-05/0.006938, allocations: 4.375 kB / 0.8146 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.769e-05/0.006965, allocations: 8.375 kB / 0.8146 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002109/0.007176, allocations: 62.94 kB / 0.8146 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.007188, allocations: 0.8125 kB / 0.8146 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.007202, allocations: 384 / 0.8146 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.007213, allocations: 1.281 kB / 0.8146 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.371e-05/0.007277, allocations: 23.86 kB / 0.8146 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004985/0.007775, allocations: 308.2 kB / 0.8149 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001345/0.00791, allocations: 52.42 kB / 0.815 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.233e-05/0.007952, allocations: 19.81 kB / 0.815 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.37e-05/0.007966, allocations: 2.594 kB / 0.815 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001415/0.008107, allocations: 80.95 kB / 0.8151 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=8): time 2.465e-06/0.008109, allocations: 0 / 0.8151 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.000273/0.008382, allocations: 97.62 kB / 0.8152 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.516e-05/0.008428, allocations: 55.41 kB / 0.8152 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.00854, allocations: 177.9 kB / 0.8154 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.1e-05/0.008571, allocations: 33.7 kB / 0.8154 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.593e-05/0.008647, allocations: 143.3 kB / 0.8156 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.867e-05/0.008676, allocations: 16.61 kB / 0.8156 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.099e-05/0.008757, allocations: 43.36 kB / 0.8156 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.008915, allocations: 496.7 kB / 0.8161 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001146/0.00903, allocations: 63.33 kB / 0.8162 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001267/0.009156, allocations: 108.1 kB / 0.8163 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001539/0.00931, allocations: 120.6 kB / 0.8164 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.009313, allocations: 0.5938 kB / 0.8164 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003481/0.009661, allocations: 214.7 kB / 0.8166 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.289e-05/0.009704, allocations: 37.69 kB / 0.8166 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.009712, allocations: 4 kB / 0.8166 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.009729, allocations: 1.375 kB / 0.8166 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.009831, allocations: 15.94 kB / 0.8166 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.009839, allocations: 3.984 kB / 0.8166 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001421/0.009981, allocations: 24.48 kB / 0.8167 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.178e-05/0.01, allocations: 9.125 kB / 0.8167 GB, free: 12.2 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.000116/0.01012, allocations: 168.6 kB / 0.8168 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.633e-05/0.01015, allocations: 20.84 kB / 0.8169 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.051e-05/0.01018, allocations: 4.5 kB / 0.8169 GB, free: 12 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.01018, allocations: 4.844 kB / 0.8169 GB, free: 12 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.01018, allocations: 4 kB / 0.8169 GB, free: 12 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.01019, allocations: 0 / 0.8169 GB, free: 12 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003478/0.01054, allocations: 343.5 kB / 0.8172 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.01054, allocations: 0 / 0.8172 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.726e-05/0.01059, allocations: 7.984 kB / 0.8172 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.01059, allocations: 0 / 0.8172 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.0106, allocations: 0 / 0.8172 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.0106, allocations: 2.781 kB / 0.8172 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.0106, allocations: 4 kB / 0.8172 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001942/0.0108, allocations: 235.8 kB / 0.8174 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.16e-05/0.01081, allocations: 3.953 kB / 0.8174 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.543e-05/0.01083, allocations: 4 kB / 0.8174 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.819e-05/0.0109, allocations: 7.938 kB / 0.8175 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.761e-05/0.01095, allocations: 7.984 kB / 0.8175 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.989e-06/0.01096, allocations: 4 kB / 0.8175 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.185e-05/0.01102, allocations: 140.6 kB / 0.8176 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1e-07/0.01102, allocations: 0 / 0.8176 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002877/0.01131, allocations: 24 kB / 0.8176 GB, free: 11.17 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.0001692/0.01148, allocations: 105.9 kB / 0.8177 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002794/0.01176, allocations: 164.7 kB / 0.8179 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.01176, allocations: 1.094 kB / 0.8179 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.841e-05/0.01182, allocations: 32.08 kB / 0.8179 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003241/0.01214, allocations: 20.73 kB / 0.8179 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004105/0.01255, allocations: 167.1 kB / 0.8181 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.575e-05/0.01261, allocations: 67.2 kB / 0.8182 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.58e-05/0.01264, allocations: 4 kB / 0.8182 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.671e-05/0.01268, allocations: 12.5 kB / 0.8182 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of SimCode: time 4.839e-06/0.01268, allocations: 0 / 0.8182 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of Templates: time 0.005208/0.01789, allocations: 1.736 MB / 0.8199 GB, free: 8.848 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.1715909210033715]