Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002222/0.002222, allocations: 95.64 kB / 18.95 MB, free: 2.691 MB / 14.72 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.002001/0.002001, allocations: 211.9 kB / 22.24 MB, free: 5.242 MB / 14.72 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 1.64/1.64, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.563/3.563, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002439/0.002439, allocations: 64.12 kB / 1.186 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4322/0.4346, allocations: 181.9 MB / 1.364 GB, free: 13.55 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.002152/0.4368, allocations: 0.6478 MB / 1.364 GB, free: 12.9 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001859/0.4386, allocations: 1.21 MB / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.389e-05/0.4387, allocations: 0 / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.948e-05/0.4387, allocations: 3.938 kB / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.056e-05/0.4388, allocations: 11.86 kB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007697/0.4396, allocations: 219.9 kB / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003083/0.4399, allocations: 167.7 kB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.44, allocations: 19.98 kB / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001497/0.4401, allocations: 67.94 kB / 1.366 GB, free: 11.21 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001477/0.4403, allocations: 55.8 kB / 1.366 GB, free: 11.15 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.001e-05/0.4403, allocations: 16 kB / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.223e-05/0.4404, allocations: 23.94 kB / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.809e-05/0.4405, allocations: 15.97 kB / 1.366 GB, free: 11.1 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.405e-05/0.4405, allocations: 51.84 kB / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002636/0.4408, allocations: 147.6 kB / 1.366 GB, free: 10.9 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.4408, allocations: 0 / 1.366 GB, free: 10.9 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.783e-06/0.4408, allocations: 4 kB / 1.366 GB, free: 10.9 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.4408, allocations: 0 / 1.366 GB, free: 10.9 MB / 1.061 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.0006232/0.4414, allocations: 361.5 kB / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.4415, allocations: 8.031 kB / 1.367 GB, free: 10.49 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.213e-05/0.4416, allocations: 12.89 kB / 1.367 GB, free: 10.48 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.4417, allocations: 110.5 kB / 1.367 GB, free: 10.35 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.372e-05/0.4417, allocations: 8.375 kB / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.89e-05/0.4418, allocations: 12.38 kB / 1.367 GB, free: 10.33 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001481/0.4419, allocations: 50.17 kB / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.4419, allocations: 192 / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/0.4419, allocations: 3.938 kB / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.4419, allocations: 3.984 kB / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.047e-05/0.442, allocations: 19.98 kB / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005254/0.4425, allocations: 276.4 kB / 1.367 GB, free: 9.945 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 9.775e-05/0.4426, allocations: 34.52 kB / 1.367 GB, free: 9.902 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.097e-05/0.4426, allocations: 16.88 kB / 1.367 GB, free: 9.883 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.383e-05/0.4427, allocations: 0 / 1.367 GB, free: 9.883 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002138/0.4429, allocations: 87.3 kB / 1.367 GB, free: 9.785 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.223e-06/0.4429, allocations: 0 / 1.367 GB, free: 9.785 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0002964/0.4432, allocations: 109.6 kB / 1.367 GB, free: 9.672 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.253e-05/0.4432, allocations: 51.41 kB / 1.368 GB, free: 9.609 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.4433, allocations: 117.8 kB / 1.368 GB, free: 9.484 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.097e-05/0.4434, allocations: 33.7 kB / 1.368 GB, free: 9.445 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.242e-05/0.4435, allocations: 96.09 kB / 1.368 GB, free: 9.348 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.787e-05/0.4435, allocations: 16.95 kB / 1.368 GB, free: 9.332 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.662e-05/0.4436, allocations: 49.69 kB / 1.368 GB, free: 9.277 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.4438, allocations: 318.8 kB / 1.368 GB, free: 8.957 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001784/0.4439, allocations: 119.4 kB / 1.368 GB, free: 8.828 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001952/0.4441, allocations: 155.7 kB / 1.368 GB, free: 8.648 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002103/0.4443, allocations: 164 kB / 1.369 GB, free: 8.461 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/0.4443, allocations: 4 kB / 1.369 GB, free: 8.457 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004931/0.4448, allocations: 332.2 kB / 1.369 GB, free: 8.102 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 6.053e-05/0.4449, allocations: 67.33 kB / 1.369 GB, free: 8.023 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/0.4449, allocations: 0 / 1.369 GB, free: 8.023 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.4449, allocations: 4 kB / 1.369 GB, free: 8.02 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.314e-05/0.445, allocations: 4 kB / 1.369 GB, free: 8.016 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.156e-06/0.445, allocations: 4 kB / 1.369 GB, free: 8.012 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003345/0.4453, allocations: 52.06 kB / 1.369 GB, free: 7.961 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.742e-05/0.4453, allocations: 11.98 kB / 1.369 GB, free: 7.949 MB / 1.061 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 0.0001211/0.4455, allocations: 125.7 kB / 1.369 GB, free: 7.816 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.918e-05/0.4455, allocations: 11.95 kB / 1.369 GB, free: 7.805 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.142e-05/0.4455, allocations: 8.359 kB / 1.369 GB, free: 7.789 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.4455, allocations: 0 / 1.369 GB, free: 7.789 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.4455, allocations: 7.938 kB / 1.369 GB, free: 7.781 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.4455, allocations: 0 / 1.369 GB, free: 7.781 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001201/0.4456, allocations: 121.2 kB / 1.369 GB, free: 7.633 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.4456, allocations: 0 / 1.369 GB, free: 7.633 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.122e-05/0.4456, allocations: 4 kB / 1.369 GB, free: 7.629 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.4456, allocations: 0 / 1.369 GB, free: 7.629 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.4457, allocations: 3.984 kB / 1.369 GB, free: 7.625 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.4457, allocations: 0 / 1.369 GB, free: 7.625 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.4457, allocations: 0 / 1.369 GB, free: 7.625 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000168/0.4458, allocations: 124.9 kB / 1.369 GB, free: 7.484 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.227e-06/0.4458, allocations: 0 / 1.369 GB, free: 7.484 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.4459, allocations: 0 / 1.369 GB, free: 7.484 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.081e-05/0.4459, allocations: 8 kB / 1.369 GB, free: 7.477 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.028e-05/0.4459, allocations: 7.984 kB / 1.369 GB, free: 7.469 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.4459, allocations: 4 kB / 1.369 GB, free: 7.465 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.935e-05/0.446, allocations: 99.14 kB / 1.37 GB, free: 7.367 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.446, allocations: 0 / 1.37 GB, free: 7.367 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002416/0.4462, allocations: 35.95 kB / 1.37 GB, free: 7.332 MB / 1.061 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.0001598/0.4464, allocations: 95.25 kB / 1.37 GB, free: 7.23 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004028/0.4468, allocations: 278.5 kB / 1.37 GB, free: 6.922 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.4468, allocations: 256 / 1.37 GB, free: 6.922 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 4.993e-05/0.4468, allocations: 27.98 kB / 1.37 GB, free: 6.895 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002411/0.4471, allocations: 20.06 kB / 1.37 GB, free: 6.875 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004022/0.4475, allocations: 162.7 kB / 1.37 GB, free: 6.688 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.643e-05/0.4476, allocations: 67.34 kB / 1.37 GB, free: 6.602 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.169e-05/0.4476, allocations: 11.84 kB / 1.37 GB, free: 6.59 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.54e-05/0.4476, allocations: 11.44 kB / 1.37 GB, free: 6.578 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/0.4476, allocations: 4 kB / 1.37 GB, free: 6.574 MB / 1.061 GB Notification: Performance of Templates: time 0.005505/0.4531, allocations: 2.078 MB / 1.372 GB, free: 4.547 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_And.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.896878715604544]