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.001298/0.001298, allocations: 87.58 kB / 20.45 MB, free: 4.109 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.001316/0.001316, allocations: 165 kB / 23.82 MB, free: 0.7422 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.969/0.969, allocations: 177.1 MB / 204.2 MB, free: 5.629 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.941/1.941, allocations: 377.8 MB / 0.6236 GB, free: 8.543 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.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 1.643e-06/1.643e-06, allocations: 0 / 0.8115 GB, free: 1.699 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.131e-05/2.295e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.695 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.001238/0.001261, allocations: 0.6702 MB / 0.8122 GB, free: 1.047 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001204/0.002465, allocations: 1.234 MB / 0.8134 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.011e-05/0.002505, allocations: 0 / 0.8134 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.006e-05/0.002535, allocations: 7.938 kB / 0.8134 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.408e-05/0.002609, allocations: 8.812 kB / 0.8134 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000479/0.003088, allocations: 213.2 kB / 0.8136 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001812/0.003269, allocations: 171.7 kB / 0.8138 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.003372, allocations: 13.67 kB / 0.8138 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.00348, allocations: 95.86 kB / 0.8139 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.003583, allocations: 47.91 kB / 0.8139 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.911e-05/0.003612, allocations: 16 kB / 0.8139 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 6.026e-05/0.003673, allocations: 33.45 kB / 0.814 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.876e-05/0.003691, allocations: 4 kB / 0.814 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.976e-05/0.003751, allocations: 51.94 kB / 0.814 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001665/0.003918, allocations: 139.6 kB / 0.8142 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.003919, allocations: 0.6875 kB / 0.8142 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.11e-07/0.00392, allocations: 0 / 0.8142 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.003924, allocations: 0.8438 kB / 0.8142 GB, free: 15.02 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.0003829/0.004307, allocations: 459.8 kB / 0.8146 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.004342, allocations: 17.61 kB / 0.8146 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.027e-05/0.004392, allocations: 12.89 kB / 0.8146 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.78e-05/0.00447, allocations: 116.5 kB / 0.8147 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.004485, allocations: 8.375 kB / 0.8148 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.812e-05/0.004513, allocations: 8.906 kB / 0.8148 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.53e-05/0.004599, allocations: 50.17 kB / 0.8148 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.004608, allocations: 0.9062 kB / 0.8148 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.004617, allocations: 384 / 0.8148 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.004626, allocations: 4.906 kB / 0.8148 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.278e-05/0.004649, allocations: 13.53 kB / 0.8148 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003327/0.004981, allocations: 327.7 kB / 0.8151 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 6.221e-05/0.005044, allocations: 42.97 kB / 0.8152 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.99e-05/0.005063, allocations: 15.69 kB / 0.8152 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.122e-06/0.00507, allocations: 0.5938 kB / 0.8152 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.009e-05/0.00516, allocations: 85.55 kB / 0.8153 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 9.61e-07/0.005161, allocations: 0.7812 kB / 0.8153 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0001785/0.005339, allocations: 101.5 kB / 0.8154 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.826e-05/0.005367, allocations: 56.56 kB / 0.8154 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.585e-05/0.005443, allocations: 181.9 kB / 0.8156 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.543e-05/0.005469, allocations: 29.7 kB / 0.8156 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.711e-05/0.005516, allocations: 136.2 kB / 0.8158 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.344e-05/0.005529, allocations: 15.91 kB / 0.8158 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.933e-05/0.005589, allocations: 51.34 kB / 0.8158 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.472e-05/0.005683, allocations: 0.4923 MB / 0.8163 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.9e-05/0.005782, allocations: 113.1 kB / 0.8164 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001104/0.005893, allocations: 153.8 kB / 0.8166 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000125/0.006018, allocations: 167.9 kB / 0.8167 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.00602, allocations: 4 kB / 0.8167 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002868/0.006307, allocations: 320.2 kB / 0.817 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.598e-05/0.006343, allocations: 70.17 kB / 0.8171 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.006348, allocations: 4 kB / 0.8171 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.006362, allocations: 0 / 0.8171 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.587e-05/0.006378, allocations: 4 kB / 0.8171 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.006384, allocations: 0 / 0.8171 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001643/0.006548, allocations: 41.55 kB / 0.8171 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.216e-05/0.00657, allocations: 19.98 kB / 0.8172 GB, free: 11.63 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 7.453e-05/0.006645, allocations: 168.5 kB / 0.8173 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.34e-05/0.006658, allocations: 16.39 kB / 0.8173 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.236e-05/0.00668, allocations: 4.438 kB / 0.8173 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.006684, allocations: 4.531 kB / 0.8174 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.006687, allocations: 0.5625 kB / 0.8174 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.006691, allocations: 3.984 kB / 0.8174 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.125e-05/0.006762, allocations: 126 kB / 0.8175 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.006763, allocations: 0 / 0.8175 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.36e-06/0.006768, allocations: 4 kB / 0.8175 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.00677, allocations: 6.531 kB / 0.8175 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.006777, allocations: 3.938 kB / 0.8175 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-07/0.006777, allocations: 0 / 0.8175 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.006778, allocations: 0 / 0.8175 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.606e-05/0.006874, allocations: 124.3 kB / 0.8176 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.342e-06/0.006881, allocations: 3.953 kB / 0.8176 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.315e-05/0.006894, allocations: 11.92 kB / 0.8176 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.848e-06/0.006904, allocations: 0.625 kB / 0.8176 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.001e-05/0.006934, allocations: 7.984 kB / 0.8176 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/0.006939, allocations: 5.125 kB / 0.8176 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.407e-05/0.006973, allocations: 127.2 kB / 0.8178 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.006973, allocations: 0 / 0.8178 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001528/0.007126, allocations: 37.02 kB / 0.8178 GB, free: 10.93 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 9.564e-05/0.007222, allocations: 104 kB / 0.8179 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002303/0.007452, allocations: 278.4 kB / 0.8182 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.007454, allocations: 0 / 0.8182 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.033e-05/0.007484, allocations: 35.3 kB / 0.8182 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001489/0.007633, allocations: 16.73 kB / 0.8182 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002363/0.007869, allocations: 154.9 kB / 0.8184 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.127e-05/0.0079, allocations: 67.2 kB / 0.8184 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.663e-05/0.007917, allocations: 4 kB / 0.8184 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.772e-05/0.007935, allocations: 8.5 kB / 0.8184 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of SimCode: time 5.31e-07/0.007935, allocations: 5.469 kB / 0.8184 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of Templates: time 0.003127/0.01106, allocations: 2.061 MB / 0.8205 GB, free: 8.188 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.315730738919228]