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.001084/0.001084, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001039/0.001039, allocations: 169 kB / 24.28 MB, free: 280 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.9727/0.9727, allocations: 177.1 MB / 204.6 MB, free: 5.617 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.919/1.919, allocations: 377.8 MB / 0.6239 GB, free: 8.539 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.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.034e-06/2.034e-06, allocations: 0 / 0.8115 GB, free: 2.059 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.837e-05/2.041e-05, allocations: 3.406 kB / 0.8115 GB, free: 2.055 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001323/0.001343, allocations: 0.7542 MB / 0.8123 GB, free: 1.32 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001098/0.002441, allocations: 1.19 MB / 0.8134 GB, free: 120 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.945e-05/0.002491, allocations: 8.781 kB / 0.8135 GB, free: 112 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.692e-05/0.002518, allocations: 3.938 kB / 0.8135 GB, free: 108 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 7.177e-05/0.00259, allocations: 9.609 kB / 0.8135 GB, free: 100 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004/0.00299, allocations: 131.7 kB / 0.8136 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001419/0.003131, allocations: 121.2 kB / 0.8137 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.674e-05/0.003218, allocations: 15.94 kB / 0.8137 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.003325, allocations: 67.92 kB / 0.8138 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.275e-05/0.003398, allocations: 35.89 kB / 0.8138 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.251e-05/0.00342, allocations: 9.375 kB / 0.8138 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.235e-05/0.003473, allocations: 27.92 kB / 0.8139 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.103e-05/0.003494, allocations: 11.98 kB / 0.8139 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.508e-05/0.003549, allocations: 35.91 kB / 0.8139 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001416/0.00369, allocations: 97.48 kB / 0.814 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.003692, allocations: 0 / 0.814 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.32e-07/0.003693, allocations: 3.938 kB / 0.814 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.007e-06/0.003697, allocations: 0 / 0.814 GB, free: 15.55 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.004136, allocations: 431.2 kB / 0.8144 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.004169, allocations: 8.031 kB / 0.8144 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.262e-05/0.004222, allocations: 12.89 kB / 0.8144 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.365e-05/0.004305, allocations: 117.5 kB / 0.8145 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.004321, allocations: 8.375 kB / 0.8146 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.648e-05/0.004338, allocations: 4.375 kB / 0.8146 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001184/0.004456, allocations: 67.88 kB / 0.8146 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.004463, allocations: 192 / 0.8146 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.004473, allocations: 2.656 kB / 0.8146 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/0.004485, allocations: 384 / 0.8146 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.791e-05/0.004523, allocations: 19.86 kB / 0.8146 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003745/0.004897, allocations: 311.7 kB / 0.8149 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.969e-05/0.004997, allocations: 47.64 kB / 0.815 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.074e-05/0.005028, allocations: 20.33 kB / 0.815 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 7.514e-06/0.005035, allocations: 4 kB / 0.815 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.341e-05/0.005129, allocations: 77.59 kB / 0.8151 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=8): time 9.02e-07/0.00513, allocations: 1.594 kB / 0.8151 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.0001945/0.005324, allocations: 93.62 kB / 0.8152 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.262e-05/0.005357, allocations: 59.34 kB / 0.8152 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.563e-05/0.005442, allocations: 181.8 kB / 0.8154 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.321e-05/0.005466, allocations: 38.27 kB / 0.8154 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.334e-05/0.005519, allocations: 142.8 kB / 0.8156 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.575e-05/0.005535, allocations: 16.69 kB / 0.8156 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.978e-05/0.005584, allocations: 43.36 kB / 0.8156 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.005689, allocations: 0.4929 MB / 0.8161 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.934e-05/0.005759, allocations: 58.28 kB / 0.8162 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.365e-05/0.005842, allocations: 112.1 kB / 0.8163 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.867e-05/0.005941, allocations: 121.6 kB / 0.8164 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.005943, allocations: 0.9375 kB / 0.8164 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002029/0.006146, allocations: 206.1 kB / 0.8166 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.697e-05/0.006173, allocations: 37.64 kB / 0.8166 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.006177, allocations: 0.9688 kB / 0.8166 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.00619, allocations: 4 kB / 0.8166 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.719e-05/0.006257, allocations: 15.98 kB / 0.8166 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.006265, allocations: 6.188 kB / 0.8167 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.198e-05/0.006347, allocations: 19.98 kB / 0.8167 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.436e-05/0.006361, allocations: 11.98 kB / 0.8167 GB, free: 12.53 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 7.875e-05/0.00644, allocations: 165.7 kB / 0.8168 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.244e-05/0.006452, allocations: 15.95 kB / 0.8169 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.307e-05/0.006475, allocations: 12.44 kB / 0.8169 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.006477, allocations: 0 / 0.8169 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.006481, allocations: 7.984 kB / 0.8169 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.006484, allocations: 0 / 0.8169 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002219/0.006706, allocations: 345.2 kB / 0.8172 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.006707, allocations: 0 / 0.8172 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.199e-05/0.006729, allocations: 7.984 kB / 0.8172 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.00673, allocations: 1.094 kB / 0.8172 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.006739, allocations: 3.984 kB / 0.8172 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.006739, allocations: 0.5 kB / 0.8172 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.006741, allocations: 4 kB / 0.8172 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001143/0.006855, allocations: 236.3 kB / 0.8174 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.121e-06/0.006861, allocations: 8.5 kB / 0.8175 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.645e-05/0.006878, allocations: 4 kB / 0.8175 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.691e-05/0.006915, allocations: 9.609 kB / 0.8175 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.767e-05/0.006952, allocations: 11.97 kB / 0.8175 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.68e-06/0.006958, allocations: 4 kB / 0.8175 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.955e-05/0.006997, allocations: 131.2 kB / 0.8176 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.006998, allocations: 5.156 kB / 0.8176 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001677/0.007165, allocations: 20 kB / 0.8176 GB, free: 11.49 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.0001039/0.007269, allocations: 100.3 kB / 0.8177 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001895/0.007459, allocations: 169.8 kB / 0.8179 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.00746, allocations: 0.9375 kB / 0.8179 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.636e-05/0.007497, allocations: 31.61 kB / 0.8179 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001861/0.007683, allocations: 20.92 kB / 0.8179 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002829/0.007965, allocations: 159.9 kB / 0.8181 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.607e-05/0.008002, allocations: 67.2 kB / 0.8182 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.224e-05/0.008024, allocations: 5.125 kB / 0.8182 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.615e-05/0.00805, allocations: 16.48 kB / 0.8182 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of SimCode: time 9.52e-07/0.008051, allocations: 1.031 kB / 0.8182 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of Templates: time 0.003029/0.01108, allocations: 1.57 MB / 0.8197 GB, free: 9.328 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.2004620369989425]