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.001149/0.001149, 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.001789/0.001789, 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.9597/0.9597, allocations: 177.1 MB / 204.2 MB, free: 5.262 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.914/1.914, allocations: 377.8 MB / 0.6236 GB, free: 8.551 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.414e-06/2.414e-06, allocations: 0 / 0.8115 GB, free: 1.699 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.184e-05/2.426e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.695 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001846/0.00187, allocations: 0.749 MB / 0.8123 GB, free: 0.9648 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001646/0.003515, allocations: 1.186 MB / 0.8134 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.333e-05/0.003569, allocations: 3.938 kB / 0.8134 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.599e-05/0.003605, allocations: 5.188 kB / 0.8135 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 8.549e-05/0.00369, allocations: 15.86 kB / 0.8135 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005079/0.004198, allocations: 134 kB / 0.8136 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001868/0.004385, allocations: 115.8 kB / 0.8137 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.004487, allocations: 11.98 kB / 0.8137 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001303/0.004617, allocations: 67.94 kB / 0.8138 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 9.175e-05/0.004709, allocations: 35.88 kB / 0.8138 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.852e-05/0.004737, allocations: 9.531 kB / 0.8138 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 7.041e-05/0.004807, allocations: 23.98 kB / 0.8138 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.817e-05/0.004836, allocations: 15.92 kB / 0.8139 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.412e-05/0.0049, allocations: 31.97 kB / 0.8139 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001975/0.005097, allocations: 97.09 kB / 0.814 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.0051, allocations: 0 / 0.814 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.72e-07/0.005101, allocations: 0 / 0.814 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.005105, allocations: 0 / 0.814 GB, free: 15.21 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.000561/0.005666, allocations: 430.6 kB / 0.8144 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.005712, allocations: 12.56 kB / 0.8144 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.044e-05/0.005783, allocations: 17.78 kB / 0.8144 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.005893, allocations: 112.6 kB / 0.8145 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.005913, allocations: 8.312 kB / 0.8145 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.564e-05/0.005939, allocations: 9.156 kB / 0.8145 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001874/0.006126, allocations: 67.45 kB / 0.8146 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.006138, allocations: 192 / 0.8146 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.00615, allocations: 1.75 kB / 0.8146 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.136e-06/0.006158, allocations: 4.375 kB / 0.8146 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.465e-05/0.006213, allocations: 11.92 kB / 0.8146 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004983/0.006711, allocations: 316.8 kB / 0.8149 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001316/0.006843, allocations: 51.05 kB / 0.815 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.608e-05/0.006889, allocations: 20.52 kB / 0.815 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 9.738e-06/0.006899, allocations: 0.5312 kB / 0.815 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001369/0.007036, allocations: 81.03 kB / 0.8151 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=8): time 2.144e-06/0.007038, allocations: 0.7812 kB / 0.8151 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.0002726/0.00731, allocations: 102.8 kB / 0.8152 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.65e-05/0.007347, allocations: 55.39 kB / 0.8152 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.007459, allocations: 173.9 kB / 0.8154 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.584e-05/0.007485, allocations: 29.7 kB / 0.8154 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003351/0.00782, allocations: 139.7 kB / 0.8156 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.762e-05/0.007848, allocations: 19.89 kB / 0.8156 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.667e-05/0.007935, allocations: 44.92 kB / 0.8156 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.008071, allocations: 0.4884 MB / 0.8161 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000115/0.008186, allocations: 61.69 kB / 0.8162 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001268/0.008313, allocations: 112.5 kB / 0.8163 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001509/0.008463, allocations: 124.4 kB / 0.8164 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.008466, allocations: 0 / 0.8164 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000335/0.008801, allocations: 216.8 kB / 0.8166 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.116e-05/0.008843, allocations: 37.7 kB / 0.8166 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.008849, allocations: 0 / 0.8166 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.548e-05/0.008874, allocations: 0 / 0.8166 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.008981, allocations: 12.48 kB / 0.8166 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.407e-06/0.00899, allocations: 4 kB / 0.8166 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000134/0.009124, allocations: 25.86 kB / 0.8167 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.767e-05/0.009152, allocations: 11.98 kB / 0.8167 GB, free: 12.18 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.0001184/0.00927, allocations: 170 kB / 0.8168 GB, free: 12 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.422e-05/0.009294, allocations: 11.89 kB / 0.8168 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.886e-05/0.009333, allocations: 12.44 kB / 0.8169 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.009336, allocations: 0 / 0.8169 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.009341, allocations: 9.047 kB / 0.8169 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.009345, allocations: 0 / 0.8169 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003349/0.00968, allocations: 333.4 kB / 0.8172 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.009682, allocations: 0.9062 kB / 0.8172 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.794e-05/0.00973, allocations: 11.92 kB / 0.8172 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.009733, allocations: 0.8438 kB / 0.8172 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.009744, allocations: 4 kB / 0.8172 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.009746, allocations: 1.281 kB / 0.8172 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.009747, allocations: 0 / 0.8172 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001986/0.009946, allocations: 231.8 kB / 0.8174 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.462e-05/0.00996, allocations: 7.953 kB / 0.8174 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.075e-05/0.009981, allocations: 0.75 kB / 0.8174 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.819e-05/0.01006, allocations: 7.984 kB / 0.8174 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.621e-05/0.01011, allocations: 10.36 kB / 0.8175 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.909e-06/0.01012, allocations: 4 kB / 0.8175 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.233e-05/0.01018, allocations: 139.2 kB / 0.8176 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1e-07/0.01018, allocations: 0 / 0.8176 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002859/0.01046, allocations: 27.94 kB / 0.8176 GB, free: 11.15 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.0001403/0.0106, allocations: 109.5 kB / 0.8177 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002781/0.01088, allocations: 165.1 kB / 0.8179 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.01088, allocations: 4 kB / 0.8179 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.901e-05/0.01094, allocations: 27.67 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.0003097/0.01125, allocations: 28.92 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.0003922/0.01165, allocations: 163.9 kB / 0.8181 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.486e-05/0.0117, allocations: 63.2 kB / 0.8182 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.21e-05/0.01173, allocations: 5.125 kB / 0.8182 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.819e-05/0.01177, allocations: 20.48 kB / 0.8182 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of SimCode: time 6.11e-07/0.01177, allocations: 0 / 0.8182 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of Templates: time 0.00463/0.0164, allocations: 1.601 MB / 0.8197 GB, free: 8.953 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.258942186366767]