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.001841/0.001841, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002413/0.002413, allocations: 213.9 kB / 22.25 MB, free: 5.078 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.647/1.647, allocations: 230.6 MB / 256 MB, free: 8.008 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.598/3.598, allocations: 0.49 GB / 0.7951 GB, free: 33.39 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.002054/0.002054, allocations: 67.94 kB / 1.154 GB, free: 25.62 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4468/0.4489, allocations: 176.1 MB / 1.326 GB, free: 1.539 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.002171/0.451, allocations: 0.6657 MB / 1.327 GB, free: 0.8789 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002076/0.4531, allocations: 1.222 MB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.249e-05/0.4532, allocations: 0 / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.974e-05/0.4532, allocations: 3.938 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 9.896e-05/0.4533, allocations: 15.86 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007985/0.4541, allocations: 230.2 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002899/0.4544, allocations: 163.8 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.4545, allocations: 12 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001511/0.4547, allocations: 71.88 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001598/0.4548, allocations: 63.84 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.513e-05/0.4548, allocations: 19.94 kB / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.942e-05/0.4549, allocations: 31.98 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.626e-05/0.455, allocations: 15.88 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000114/0.4551, allocations: 59.88 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003001/0.4554, allocations: 147.5 kB / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.4554, allocations: 4 kB / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.996e-06/0.4554, allocations: 0 / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.143e-06/0.4554, allocations: 0 / 1.329 GB, free: 14.83 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.000714/0.4561, allocations: 357.5 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/0.4562, allocations: 16.02 kB / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.627e-05/0.4562, allocations: 8.938 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001327/0.4564, allocations: 118.5 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.459e-05/0.4564, allocations: 12.38 kB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.009e-05/0.4564, allocations: 8.375 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.4566, allocations: 50.17 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.4566, allocations: 192 / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.4566, allocations: 3.938 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.4566, allocations: 4 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.944e-05/0.4566, allocations: 12 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006097/0.4573, allocations: 319.9 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 8.871e-05/0.4573, allocations: 34.5 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.06e-05/0.4574, allocations: 16.8 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 6.682e-06/0.4574, allocations: 4 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002031/0.4576, allocations: 79.42 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.4576, allocations: 0 / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0002715/0.4579, allocations: 109.6 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.281e-05/0.4579, allocations: 63.33 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.4581, allocations: 117.8 kB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.299e-05/0.4581, allocations: 34.08 kB / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.216e-05/0.4582, allocations: 92.08 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.301e-05/0.4582, allocations: 15.89 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/0.4583, allocations: 49.69 kB / 1.33 GB, free: 13.15 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002044/0.4585, allocations: 322.7 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001543/0.4587, allocations: 67.95 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001506/0.4588, allocations: 84.27 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002399/0.4591, allocations: 163.6 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.4591, allocations: 4 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004596/0.4595, allocations: 264.8 kB / 1.331 GB, free: 12.19 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001568/0.4597, allocations: 67.39 kB / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.4597, allocations: 0 / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.223e-05/0.4597, allocations: 4 kB / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.316e-05/0.4598, allocations: 3.938 kB / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.4598, allocations: 4.312 kB / 1.331 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003473/0.4601, allocations: 56.02 kB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.087e-05/0.4601, allocations: 11.98 kB / 1.331 GB, free: 12.04 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.0001532/0.4603, allocations: 125.8 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.455e-05/0.4603, allocations: 4 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.787e-05/0.4604, allocations: 4.375 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001191/0.4605, allocations: 3.984 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.4605, allocations: 8 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.4605, allocations: 0 / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002136/0.4607, allocations: 156.6 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.4607, allocations: 4.062 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.165e-06/0.4607, allocations: 3.938 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.4607, allocations: 0 / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/0.4607, allocations: 7.984 kB / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.4607, allocations: 0 / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.4607, allocations: 96 / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002313/0.461, allocations: 124.9 kB / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.315e-05/0.461, allocations: 3.953 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.901e-05/0.461, allocations: 0 / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.128e-05/0.461, allocations: 4 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.127e-05/0.4611, allocations: 7.984 kB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.428e-06/0.4611, allocations: 4 kB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.731e-05/0.4612, allocations: 95.2 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4612, allocations: 3.938 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000262/0.4614, allocations: 28 kB / 1.332 GB, free: 11.38 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.0002065/0.4616, allocations: 107.2 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004173/0.4621, allocations: 218.6 kB / 1.332 GB, free: 11.03 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.4621, allocations: 0 / 1.332 GB, free: 11.03 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.443e-05/0.4621, allocations: 27.97 kB / 1.332 GB, free: 11 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002639/0.4624, allocations: 15.98 kB / 1.332 GB, free: 10.99 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004259/0.4628, allocations: 155 kB / 1.333 GB, free: 10.81 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004065/0.4632, allocations: 0.6942 MB / 1.333 GB, free: 10.09 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.624e-05/0.4632, allocations: 4 kB / 1.333 GB, free: 10.09 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.524e-05/0.4633, allocations: 11.44 kB / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of SimCode: time 7.41e-07/0.4633, allocations: 0 / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of Templates: time 0.005644/0.4689, allocations: 1.868 MB / 1.335 GB, free: 8.23 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.027110673952848]