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.001377/0.001377, allocations: 80.3 kB / 21.47 MB, free: 3.027 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.00145/0.00145, allocations: 165.9 kB / 24.86 MB, free: 9.258 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.9815/0.9815, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.887/1.887, allocations: 377.9 MB / 0.6247 GB, free: 8.438 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 1.213e-06/1.213e-06, allocations: 0.9844 kB / 0.8128 GB, free: 1.469 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.464e-05/1.585e-05, allocations: 3.438 kB / 0.8128 GB, free: 1.465 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001241/0.001257, allocations: 0.7425 MB / 0.8135 GB, free: 0.7383 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001117/0.002374, allocations: 1.19 MB / 0.8147 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.49e-05/0.002419, allocations: 0.7812 kB / 0.8147 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.171e-05/0.002441, allocations: 3.938 kB / 0.8147 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 5.773e-05/0.002499, allocations: 21.55 kB / 0.8147 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005249/0.003024, allocations: 127.6 kB / 0.8148 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001956/0.003219, allocations: 121.3 kB / 0.8149 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.762e-05/0.003307, allocations: 7.984 kB / 0.815 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001163/0.003423, allocations: 67.88 kB / 0.815 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 8.525e-05/0.003508, allocations: 35.94 kB / 0.8151 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.281e-05/0.003531, allocations: 9.375 kB / 0.8151 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 6.272e-05/0.003594, allocations: 27.92 kB / 0.8151 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.123e-05/0.003615, allocations: 8 kB / 0.8151 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.624e-05/0.003661, allocations: 39.89 kB / 0.8151 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001598/0.003821, allocations: 89.56 kB / 0.8152 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.003826, allocations: 0 / 0.8152 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.82e-07/0.003827, allocations: 3.938 kB / 0.8152 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.003832, allocations: 3.938 kB / 0.8152 GB, free: 14.98 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.0005202/0.004352, allocations: 435.3 kB / 0.8156 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.004387, allocations: 8.031 kB / 0.8156 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.651e-05/0.004433, allocations: 12.89 kB / 0.8157 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.162e-05/0.004525, allocations: 118.1 kB / 0.8158 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.004542, allocations: 8.375 kB / 0.8158 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.47e-05/0.004556, allocations: 4.375 kB / 0.8158 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/0.004673, allocations: 66.92 kB / 0.8158 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.004682, allocations: 2.781 kB / 0.8159 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.004691, allocations: 4.375 kB / 0.8159 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.004699, allocations: 4.375 kB / 0.8159 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.212e-05/0.004731, allocations: 15.86 kB / 0.8159 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003564/0.005088, allocations: 288.3 kB / 0.8162 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.877e-05/0.005187, allocations: 35.84 kB / 0.8162 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.416e-05/0.005211, allocations: 27.81 kB / 0.8162 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 8.707e-06/0.00522, allocations: 0.5312 kB / 0.8162 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001063/0.005326, allocations: 74.67 kB / 0.8163 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=8): time 1.803e-06/0.005328, allocations: 0 / 0.8163 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.0001822/0.00551, allocations: 97.53 kB / 0.8164 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.005549, allocations: 59.34 kB / 0.8164 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.223e-05/0.005631, allocations: 170.4 kB / 0.8166 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.005652, allocations: 33.7 kB / 0.8166 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.37e-05/0.005706, allocations: 147.3 kB / 0.8168 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.717e-05/0.005723, allocations: 12.73 kB / 0.8168 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.317e-05/0.005776, allocations: 39.36 kB / 0.8168 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.005901, allocations: 0.4934 MB / 0.8173 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.453e-05/0.005966, allocations: 57.67 kB / 0.8174 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.01e-05/0.006036, allocations: 104 kB / 0.8175 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.487e-05/0.006131, allocations: 121.6 kB / 0.8176 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.006133, allocations: 0.9062 kB / 0.8176 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002027/0.006336, allocations: 193.7 kB / 0.8178 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.46e-05/0.00637, allocations: 44.14 kB / 0.8178 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.006376, allocations: 2.156 kB / 0.8178 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.006388, allocations: 7.984 kB / 0.8178 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.746e-05/0.006456, allocations: 11.98 kB / 0.8178 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.00646, allocations: 3.938 kB / 0.8178 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.294e-05/0.006553, allocations: 30.56 kB / 0.8179 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.482e-05/0.006567, allocations: 8 kB / 0.8179 GB, free: 12.02 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 9.402e-05/0.006661, allocations: 164.6 kB / 0.818 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.423e-05/0.006676, allocations: 7.953 kB / 0.818 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.663e-05/0.006702, allocations: 20.36 kB / 0.818 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.006704, allocations: 0 / 0.818 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.006707, allocations: 1.625 kB / 0.818 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.00671, allocations: 0 / 0.818 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002528/0.006963, allocations: 314 kB / 0.8183 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.006965, allocations: 0 / 0.8183 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.907e-05/0.006994, allocations: 8.484 kB / 0.8184 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.006997, allocations: 8.469 kB / 0.8184 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.929e-06/0.007002, allocations: 1.344 kB / 0.8184 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.007003, allocations: 0 / 0.8184 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.007004, allocations: 0 / 0.8184 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000121/0.007125, allocations: 227.8 kB / 0.8186 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.159e-05/0.007137, allocations: 8.797 kB / 0.8186 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/0.007152, allocations: 8 kB / 0.8186 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.773e-05/0.007189, allocations: 0.6562 kB / 0.8186 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.944e-05/0.007219, allocations: 11.98 kB / 0.8186 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.264e-06/0.007226, allocations: 11.67 kB / 0.8186 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.465e-05/0.007271, allocations: 131.2 kB / 0.8187 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.007271, allocations: 3.938 kB / 0.8187 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001971/0.007468, allocations: 31.98 kB / 0.8188 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: 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.0001344/0.007602, allocations: 100.1 kB / 0.8189 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001989/0.007801, allocations: 156.7 kB / 0.819 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.007803, allocations: 0 / 0.819 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.706e-05/0.00784, allocations: 29.39 kB / 0.819 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.0002226/0.008063, allocations: 23.3 kB / 0.8191 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003354/0.008398, allocations: 167.8 kB / 0.8192 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.447e-05/0.008443, allocations: 64.33 kB / 0.8193 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.726e-05/0.00847, allocations: 4 kB / 0.8193 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.865e-05/0.008569, allocations: 95.27 kB / 0.8194 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of SimCode: time 1.092e-06/0.00857, allocations: 0 / 0.8194 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of Templates: time 0.003618/0.01219, allocations: 1.779 MB / 0.8211 GB, free: 8.586 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.23393296264112]