Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.And.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|and1.u1|and1.u2|and1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.And") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|and1.u1|and1.u2|and1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.And") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00956/0.009559, allocations: 95.86 kB / 15.73 MB, free: 6.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001481/0.001481, allocations: 192 kB / 16.67 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.52/1.52, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.802/2.802, allocations: 437 MB / 0.7105 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 67.89 kB / 1.019 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.361/0.3625, allocations: 151.6 MB / 1.167 GB, free: 6.797 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.001937/0.3644, allocations: 0.6543 MB / 1.167 GB, free: 6.141 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001604/0.3661, allocations: 1.191 MB / 1.168 GB, free: 4.934 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.914e-05/0.3661, allocations: 4 kB / 1.168 GB, free: 4.93 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.306e-05/0.3662, allocations: 3.938 kB / 1.168 GB, free: 4.926 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.43e-05/0.3663, allocations: 11.91 kB / 1.168 GB, free: 4.914 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000672/0.367, allocations: 214.4 kB / 1.169 GB, free: 4.711 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000259/0.3672, allocations: 191.7 kB / 1.169 GB, free: 4.523 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.3673, allocations: 15.97 kB / 1.169 GB, free: 4.508 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000115/0.3675, allocations: 59.91 kB / 1.169 GB, free: 4.449 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001448/0.3676, allocations: 63.83 kB / 1.169 GB, free: 4.387 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.701e-05/0.3676, allocations: 16 kB / 1.169 GB, free: 4.371 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 8.875e-05/0.3677, allocations: 31.92 kB / 1.169 GB, free: 4.34 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.298e-05/0.3678, allocations: 8 kB / 1.169 GB, free: 4.332 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 8.687e-05/0.3679, allocations: 63.81 kB / 1.169 GB, free: 4.27 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002243/0.3681, allocations: 147.6 kB / 1.169 GB, free: 4.125 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.3681, allocations: 0 / 1.169 GB, free: 4.125 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.974e-06/0.3681, allocations: 4 kB / 1.169 GB, free: 4.121 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.209e-05/0.3681, allocations: 3.938 kB / 1.169 GB, free: 4.117 MB / 0.92 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.0005812/0.3687, allocations: 434.7 kB / 1.17 GB, free: 3.629 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.3688, allocations: 8.031 kB / 1.17 GB, free: 3.621 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.611e-05/0.3688, allocations: 20.83 kB / 1.17 GB, free: 3.602 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.369, allocations: 168.3 kB / 1.17 GB, free: 3.398 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/0.369, allocations: 8.359 kB / 1.17 GB, free: 3.391 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.178e-05/0.3691, allocations: 16.38 kB / 1.17 GB, free: 3.375 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000117/0.3692, allocations: 46.25 kB / 1.17 GB, free: 3.324 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.098e-06/0.3692, allocations: 4.172 kB / 1.17 GB, free: 3.32 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.3692, allocations: 3.938 kB / 1.17 GB, free: 3.316 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.492e-05/0.3692, allocations: 0 / 1.17 GB, free: 3.316 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.146e-05/0.3693, allocations: 19.92 kB / 1.17 GB, free: 3.297 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000475/0.3698, allocations: 356.7 kB / 1.17 GB, free: 2.898 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 7.95e-05/0.3699, allocations: 34.52 kB / 1.17 GB, free: 2.855 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.901e-05/0.3699, allocations: 16.94 kB / 1.17 GB, free: 2.836 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 9.287e-06/0.3699, allocations: 4 kB / 1.17 GB, free: 2.832 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001582/0.3701, allocations: 79.31 kB / 1.17 GB, free: 2.742 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.233e-06/0.3701, allocations: 0 / 1.17 GB, free: 2.742 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0002381/0.3703, allocations: 101.6 kB / 1.171 GB, free: 2.637 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/0.3704, allocations: 59.41 kB / 1.171 GB, free: 2.566 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.76e-05/0.3705, allocations: 121.8 kB / 1.171 GB, free: 2.438 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.086e-05/0.3706, allocations: 29.7 kB / 1.171 GB, free: 2.402 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.466e-05/0.3706, allocations: 92.09 kB / 1.171 GB, free: 2.309 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.749e-05/0.3707, allocations: 15.84 kB / 1.171 GB, free: 2.293 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.533e-05/0.3707, allocations: 49.69 kB / 1.171 GB, free: 2.238 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.3709, allocations: 326.8 kB / 1.171 GB, free: 1.91 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.371, allocations: 63.91 kB / 1.171 GB, free: 1.848 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001391/0.3711, allocations: 92.62 kB / 1.171 GB, free: 1.742 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002042/0.3714, allocations: 163.6 kB / 1.171 GB, free: 1.555 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3714, allocations: 4 kB / 1.171 GB, free: 1.551 MB / 0.92 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003911/0.3718, allocations: 252.9 kB / 1.172 GB, free: 1.285 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 5.326e-05/0.3718, allocations: 67.39 kB / 1.172 GB, free: 1.207 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.3718, allocations: 4 kB / 1.172 GB, free: 1.203 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.3719, allocations: 0 / 1.172 GB, free: 1.203 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.369e-05/0.3719, allocations: 7.984 kB / 1.172 GB, free: 1.195 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.3719, allocations: 3.938 kB / 1.172 GB, free: 1.191 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000316/0.3722, allocations: 60.02 kB / 1.172 GB, free: 1.133 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.036e-05/0.3723, allocations: 11.98 kB / 1.172 GB, free: 1.121 MB / 0.92 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.0001002/0.3724, allocations: 121.8 kB / 1.172 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.173e-05/0.3724, allocations: 7.953 kB / 1.172 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.362e-05/0.3724, allocations: 12.38 kB / 1.172 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.3724, allocations: 0 / 1.172 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.3724, allocations: 0 / 1.172 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.3724, allocations: 0 / 1.172 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001354/0.3726, allocations: 181.6 kB / 1.172 GB, free: 0.7422 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.318e-05/0.3726, allocations: 4 kB / 1.172 GB, free: 0.7383 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.937e-06/0.3726, allocations: 8 kB / 1.172 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.3726, allocations: 0 / 1.172 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.3726, allocations: 8 kB / 1.172 GB, free: 0.7227 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.3726, allocations: 0 / 1.172 GB, free: 0.7227 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3727, allocations: 0 / 1.172 GB, free: 0.7227 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001424/0.3728, allocations: 112.9 kB / 1.172 GB, free: 0.5938 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.182e-05/0.3729, allocations: 81.05 kB / 1.172 GB, free: 0.4961 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.007e-05/0.3729, allocations: 15.98 kB / 1.172 GB, free: 492 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.752e-05/0.3729, allocations: 0 / 1.172 GB, free: 492 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.537e-05/0.3729, allocations: 0 / 1.172 GB, free: 492 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.373, allocations: 7.984 kB / 1.172 GB, free: 484 kB / 0.92 GB Notification: Performance of sorting global known variables: time 5.178e-05/0.373, allocations: 91.22 kB / 1.172 GB, free: 392 kB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.373, allocations: 0 / 1.172 GB, free: 392 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002292/0.3733, allocations: 32 kB / 1.173 GB, free: 360 kB / 0.92 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.0001935/0.3735, allocations: 103.2 kB / 1.173 GB, free: 248 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003556/0.3738, allocations: 254.6 kB / 1.173 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3738, allocations: 0 / 1.173 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.612e-05/0.3739, allocations: 31.92 kB / 1.173 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002381/0.3741, allocations: 18.25 kB / 1.173 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003316/0.3745, allocations: 158.6 kB / 1.173 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002585/0.3747, allocations: 0.6887 MB / 1.174 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.272e-05/0.3748, allocations: 4 kB / 1.174 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.142e-05/0.3748, allocations: 15.42 kB / 1.174 GB, free: 15 MB / 0.9356 GB Notification: Performance of SimCode: time 3e-07/0.3748, allocations: 0 / 1.174 GB, free: 15 MB / 0.9356 GB Notification: Performance of Templates: time 0.004515/0.3793, allocations: 1.839 MB / 1.176 GB, free: 13.18 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.And.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_And.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.And.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches