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.001829/0.001829, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002602/0.002602, allocations: 210.8 kB / 22.24 MB, free: 5.262 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.683/1.683, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.459/3.459, allocations: 0.4892 GB / 0.7943 GB, free: 35.55 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002115/0.002115, allocations: 64.31 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.446/0.4481, allocations: 176.1 MB / 1.326 GB, free: 1.934 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.002267/0.4504, allocations: 0.6425 MB / 1.326 GB, free: 1.297 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001921/0.4523, allocations: 1.206 MB / 1.327 GB, free: 80 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.261e-05/0.4523, allocations: 0 / 1.327 GB, free: 80 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.957e-05/0.4524, allocations: 3.938 kB / 1.327 GB, free: 76 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.807e-05/0.4525, allocations: 19.86 kB / 1.327 GB, free: 56 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007439/0.4532, allocations: 207.6 kB / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002842/0.4535, allocations: 175.6 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.822e-05/0.4536, allocations: 15.98 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000128/0.4537, allocations: 67.89 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001287/0.4538, allocations: 47.86 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.778e-05/0.4539, allocations: 16 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/0.454, allocations: 43.91 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.56e-05/0.454, allocations: 8 kB / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.263e-05/0.4541, allocations: 55.83 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002472/0.4543, allocations: 151.6 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.4543, allocations: 0 / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.252e-06/0.4543, allocations: 0 / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.4543, allocations: 0 / 1.328 GB, free: 15.29 MB / 1.029 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.0005612/0.4549, allocations: 357.5 kB / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.4549, allocations: 12.03 kB / 1.328 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.633e-05/0.455, allocations: 12.92 kB / 1.328 GB, free: 14.87 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.4551, allocations: 106.5 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.348e-05/0.4551, allocations: 16.38 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.208e-05/0.4552, allocations: 8.375 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001271/0.4553, allocations: 54.17 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.4553, allocations: 192 / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.4553, allocations: 7.938 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.4553, allocations: 0 / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.249e-05/0.4554, allocations: 16 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004979/0.4559, allocations: 264.5 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 8.945e-05/0.456, allocations: 42.44 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.225e-05/0.456, allocations: 12.8 kB / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 8.957e-06/0.456, allocations: 11.98 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001821/0.4562, allocations: 87.39 kB / 1.329 GB, free: 14.17 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.443e-06/0.4562, allocations: 0 / 1.329 GB, free: 14.17 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0002658/0.4565, allocations: 109.6 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.49e-05/0.4565, allocations: 51.41 kB / 1.329 GB, free: 13.99 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.4566, allocations: 121.8 kB / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.561e-05/0.4567, allocations: 29.7 kB / 1.329 GB, free: 13.83 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.556e-05/0.4567, allocations: 92.12 kB / 1.329 GB, free: 13.73 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.157e-05/0.4568, allocations: 15.89 kB / 1.329 GB, free: 13.72 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.689e-05/0.4569, allocations: 49.69 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001706/0.457, allocations: 322.8 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001833/0.4572, allocations: 115.4 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002132/0.4574, allocations: 155.7 kB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002159/0.4576, allocations: 159.5 kB / 1.33 GB, free: 12.85 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.4576, allocations: 0 / 1.33 GB, free: 12.85 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005244/0.4582, allocations: 332.3 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 7.176e-05/0.4582, allocations: 67.39 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.4582, allocations: 4 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.4583, allocations: 3.938 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.516e-05/0.4583, allocations: 8 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.4583, allocations: 0 / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000338/0.4586, allocations: 51.89 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.245e-05/0.4587, allocations: 11.98 kB / 1.331 GB, free: 12.34 MB / 1.029 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.0001414/0.4588, allocations: 130.2 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.429e-05/0.4588, allocations: 4 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.921e-05/0.4588, allocations: 8.375 kB / 1.331 GB, free: 12.19 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.4588, allocations: 4 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.4588, allocations: 0 / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.4589, allocations: 7.922 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001325/0.459, allocations: 121.2 kB / 1.331 GB, free: 12.03 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.459, allocations: 4 kB / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.265e-06/0.459, allocations: 0 / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.093e-06/0.459, allocations: 4 kB / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.459, allocations: 4 kB / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.906e-05/0.459, allocations: 8 kB / 1.331 GB, free: 12.01 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.459, allocations: 0 / 1.331 GB, free: 12.01 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001688/0.4592, allocations: 117 kB / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.108e-05/0.4592, allocations: 3.953 kB / 1.331 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.655e-05/0.4592, allocations: 7.984 kB / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.147e-05/0.4592, allocations: 4 kB / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.243e-05/0.4593, allocations: 7.984 kB / 1.331 GB, free: 11.85 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.121e-06/0.4593, allocations: 0 / 1.331 GB, free: 11.85 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.425e-05/0.4594, allocations: 91.22 kB / 1.331 GB, free: 11.76 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4594, allocations: 4 kB / 1.331 GB, free: 11.76 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002639/0.4596, allocations: 35.98 kB / 1.331 GB, free: 11.72 MB / 1.029 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.0001437/0.4598, allocations: 99.23 kB / 1.331 GB, free: 11.62 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004116/0.4602, allocations: 278.5 kB / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.4602, allocations: 0 / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.178e-05/0.4602, allocations: 24 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002333/0.4605, allocations: 26.19 kB / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003805/0.4609, allocations: 161.1 kB / 1.332 GB, free: 11.08 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.648e-05/0.4609, allocations: 71.33 kB / 1.332 GB, free: 10.99 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.421e-05/0.4609, allocations: 4 kB / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.163e-05/0.461, allocations: 11.44 kB / 1.332 GB, free: 10.97 MB / 1.029 GB Notification: Performance of SimCode: time 2.8e-07/0.461, allocations: 288 / 1.332 GB, free: 10.97 MB / 1.029 GB Notification: Performance of Templates: time 0.00548/0.4664, allocations: 2.078 MB / 1.334 GB, free: 8.938 MB / 1.029 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.028136104345322]