Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.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.0009584/0.0009584, 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.001127/0.001127, 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.9465/0.9465, allocations: 177.2 MB / 204.2 MB, free: 5.645 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.84/1.84, allocations: 377.9 MB / 0.6236 GB, free: 8.555 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.And,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|and1.u1|and1.u2|and1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|and1.u1|and1.u2|and1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.695e-06/2.695e-06, allocations: 0 / 0.8116 GB, free: 1.699 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.038e-05/3.307e-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.And): time 0.001735/0.001768, allocations: 0.6705 MB / 0.8122 GB, free: 1.047 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001368/0.003136, allocations: 1.238 MB / 0.8134 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.817e-05/0.003184, allocations: 0 / 0.8134 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.222e-05/0.003216, allocations: 3.938 kB / 0.8134 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 8.066e-05/0.003297, allocations: 16.52 kB / 0.8134 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005757/0.003873, allocations: 209 kB / 0.8136 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002006/0.004073, allocations: 172.4 kB / 0.8138 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.18e-05/0.004165, allocations: 10.41 kB / 0.8138 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/0.004278, allocations: 91.86 kB / 0.8139 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001123/0.00439, allocations: 59.84 kB / 0.814 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.931e-05/0.004419, allocations: 15.94 kB / 0.814 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 6.856e-05/0.004488, allocations: 27.98 kB / 0.814 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.17e-05/0.00451, allocations: 4 kB / 0.814 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.308e-05/0.004573, allocations: 51.94 kB / 0.8141 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001798/0.004753, allocations: 136.6 kB / 0.8142 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.004758, allocations: 4 kB / 0.8142 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.312e-06/0.00476, allocations: 0.9062 kB / 0.8142 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.369e-06/0.004764, allocations: 4 kB / 0.8142 GB, free: 15.01 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004582/0.005222, allocations: 464.9 kB / 0.8146 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.005262, allocations: 8.031 kB / 0.8146 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.6e-05/0.005328, allocations: 16.89 kB / 0.8147 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.559e-05/0.005423, allocations: 109.9 kB / 0.8148 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.00544, allocations: 8.375 kB / 0.8148 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.227e-05/0.005463, allocations: 8.375 kB / 0.8148 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.53e-05/0.005558, allocations: 50.17 kB / 0.8148 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.005567, allocations: 2.125 kB / 0.8148 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.005577, allocations: 384 / 0.8148 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.005585, allocations: 4.312 kB / 0.8148 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.697e-05/0.005612, allocations: 19.92 kB / 0.8149 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000382/0.005994, allocations: 319.7 kB / 0.8152 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.677e-05/0.006071, allocations: 36.75 kB / 0.8152 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.393e-05/0.006095, allocations: 19.7 kB / 0.8152 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 7.223e-06/0.006102, allocations: 0 / 0.8152 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001084/0.00621, allocations: 89.81 kB / 0.8153 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.193e-06/0.006211, allocations: 0 / 0.8153 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0002201/0.006432, allocations: 97.89 kB / 0.8154 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/0.006469, allocations: 55.88 kB / 0.8154 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.89e-05/0.006558, allocations: 178.4 kB / 0.8156 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.326e-05/0.006581, allocations: 34.23 kB / 0.8156 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.848e-05/0.00664, allocations: 138.9 kB / 0.8158 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.318e-05/0.006653, allocations: 13.08 kB / 0.8158 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.778e-05/0.006721, allocations: 59.33 kB / 0.8159 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.006834, allocations: 0.4884 MB / 0.8163 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001127/0.006946, allocations: 111.9 kB / 0.8164 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001173/0.007064, allocations: 159.2 kB / 0.8166 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001309/0.007195, allocations: 158.9 kB / 0.8167 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.007197, allocations: 0 / 0.8167 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003145/0.007511, allocations: 325 kB / 0.817 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.563e-05/0.007557, allocations: 68.23 kB / 0.8171 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.007562, allocations: 0 / 0.8171 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.007578, allocations: 5.281 kB / 0.8171 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.968e-05/0.007597, allocations: 0 / 0.8171 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.007605, allocations: 7.984 kB / 0.8171 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000173/0.007778, allocations: 36.81 kB / 0.8172 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.345e-05/0.007801, allocations: 17.08 kB / 0.8172 GB, free: 11.64 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: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,and1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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 8.752e-05/0.007889, allocations: 168.5 kB / 0.8173 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.496e-05/0.007904, allocations: 17.27 kB / 0.8174 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.45e-05/0.007928, allocations: 8.438 kB / 0.8174 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.007932, allocations: 3.984 kB / 0.8174 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.007936, allocations: 1.406 kB / 0.8174 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.007939, allocations: 0 / 0.8174 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.661e-05/0.008026, allocations: 132.7 kB / 0.8175 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.008027, allocations: 0 / 0.8175 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.871e-06/0.008033, allocations: 6.875 kB / 0.8175 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.008037, allocations: 4 kB / 0.8175 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.008046, allocations: 3.938 kB / 0.8175 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.008048, allocations: 0 / 0.8175 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.008049, allocations: 3.984 kB / 0.8175 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000113/0.008162, allocations: 112.4 kB / 0.8176 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.011e-05/0.008172, allocations: 11.94 kB / 0.8176 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/0.008186, allocations: 11.88 kB / 0.8176 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.732e-05/0.008203, allocations: 4.484 kB / 0.8176 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.712e-05/0.008241, allocations: 7.984 kB / 0.8177 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.171e-06/0.008247, allocations: 5.312 kB / 0.8177 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.252e-05/0.008289, allocations: 131.2 kB / 0.8178 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.008289, allocations: 0 / 0.8178 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001652/0.008454, allocations: 32.88 kB / 0.8178 GB, free: 10.92 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 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.0001291/0.008584, allocations: 100.6 kB / 0.8179 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002661/0.00885, allocations: 273.8 kB / 0.8182 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.008851, allocations: 1 kB / 0.8182 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.263e-05/0.008884, allocations: 27.67 kB / 0.8182 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001849/0.009069, allocations: 21.86 kB / 0.8182 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002954/0.009364, allocations: 157.6 kB / 0.8184 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.132e-05/0.009406, allocations: 63.2 kB / 0.8184 GB, free: 10.19 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.628e-05/0.009432, allocations: 4 kB / 0.8184 GB, free: 10.19 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.178e-05/0.009454, allocations: 12.5 kB / 0.8184 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of SimCode: time 6.92e-07/0.009454, allocations: 0 / 0.8184 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of Templates: time 0.00459/0.01404, allocations: 2.244 MB / 0.8206 GB, free: 8.016 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_And.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.096912793815136]