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.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001442/0.001442, allocations: 107.5 kB / 16.27 MB, free: 6.355 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.001459/0.001459, allocations: 192.3 kB / 17.2 MB, free: 5.953 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.333/1.333, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.633/2.633, allocations: 482.4 MB / 0.7553 GB, free: 6.984 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001893/0.001893, allocations: 67.97 kB / 0.9245 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6744/0.6763, allocations: 162.2 MB / 1.083 GB, free: 1.656 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.001805/0.6782, allocations: 0.6437 MB / 1.084 GB, free: 1.25 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001213/0.6794, allocations: 1.19 MB / 1.085 GB, free: 388 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.534e-05/0.6795, allocations: 0 / 1.085 GB, free: 388 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.025e-05/0.6795, allocations: 6.047 kB / 1.085 GB, free: 384 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.479e-05/0.6796, allocations: 10.17 kB / 1.085 GB, free: 376 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005726/0.6802, allocations: 214.4 kB / 1.085 GB, free: 268 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001964/0.6804, allocations: 178.1 kB / 1.085 GB, free: 196 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.965e-05/0.6805, allocations: 9.922 kB / 1.085 GB, free: 192 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.6806, allocations: 75.77 kB / 1.085 GB, free: 160 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.35e-05/0.6807, allocations: 49.12 kB / 1.085 GB, free: 140 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.683e-05/0.6807, allocations: 15.88 kB / 1.085 GB, free: 140 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.085e-05/0.6808, allocations: 28.53 kB / 1.085 GB, free: 136 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.891e-05/0.6808, allocations: 12.72 kB / 1.085 GB, free: 128 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.356e-05/0.6809, allocations: 53.48 kB / 1.085 GB, free: 104 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002004/0.6811, allocations: 151.8 kB / 1.085 GB, free: 52 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.6811, allocations: 0 / 1.085 GB, free: 52 kB / 0.8262 GB Notification: Performance of FrontEnd: time 1.303e-06/0.6812, allocations: 1.312 kB / 1.085 GB, free: 52 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.907e-06/0.6812, allocations: 0 / 1.085 GB, free: 52 kB / 0.8262 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.0005562/0.6817, allocations: 437.4 kB / 1.086 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.116e-05/0.6818, allocations: 13.91 kB / 1.086 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.937e-05/0.6818, allocations: 11.31 kB / 1.086 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001421/0.682, allocations: 177.1 kB / 1.086 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.682, allocations: 4.469 kB / 1.086 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.511e-05/0.6821, allocations: 10.42 kB / 1.086 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000109/0.6822, allocations: 49.95 kB / 1.086 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.6822, allocations: 192 / 1.086 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.6822, allocations: 9.266 kB / 1.086 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.466e-06/0.6822, allocations: 0.8438 kB / 1.086 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.315e-05/0.6823, allocations: 17.27 kB / 1.086 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005215/0.6828, allocations: 350.6 kB / 1.087 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 9.18e-05/0.6829, allocations: 39.55 kB / 1.087 GB, free: 15 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.495e-05/0.6829, allocations: 15.41 kB / 1.087 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.123e-05/0.6829, allocations: 1.906 kB / 1.087 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001602/0.6831, allocations: 80.75 kB / 1.087 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.6831, allocations: 0 / 1.087 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7): time 0.0002472/0.6834, allocations: 104 kB / 1.087 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.385e-05/0.6834, allocations: 58.09 kB / 1.087 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.6835, allocations: 116.3 kB / 1.087 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.64e-05/0.6836, allocations: 33.14 kB / 1.087 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.17e-05/0.6837, allocations: 91.16 kB / 1.087 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.742e-05/0.6837, allocations: 15.59 kB / 1.087 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/0.6838, allocations: 48.22 kB / 1.087 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.684, allocations: 322.9 kB / 1.087 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001394/0.6841, allocations: 59.75 kB / 1.087 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001653/0.6843, allocations: 97.11 kB / 1.088 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002238/0.6845, allocations: 162.9 kB / 1.088 GB, free: 14 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.6845, allocations: 0 / 1.088 GB, free: 14 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000464/0.685, allocations: 262.5 kB / 1.088 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 7.198e-05/0.6851, allocations: 68.89 kB / 1.088 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.6851, allocations: 1 kB / 1.088 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.6851, allocations: 6.875 kB / 1.088 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.116e-05/0.6851, allocations: 3.016 kB / 1.088 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.6851, allocations: 1.062 kB / 1.088 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003847/0.6855, allocations: 57.94 kB / 1.088 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.556e-05/0.6856, allocations: 16.47 kB / 1.088 GB, free: 13.77 MB / 0.8419 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.0001206/0.6857, allocations: 133.9 kB / 1.088 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.381e-05/0.6857, allocations: 3.5 kB / 1.088 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.639e-05/0.6858, allocations: 10.92 kB / 1.088 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.6858, allocations: 0.9375 kB / 1.088 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.6858, allocations: 0 / 1.088 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.6858, allocations: 1.547 kB / 1.088 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001904/0.686, allocations: 186.5 kB / 1.088 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.686, allocations: 1.219 kB / 1.088 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.518e-06/0.686, allocations: 1.984 kB / 1.088 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.686, allocations: 0 / 1.088 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.686, allocations: 2.047 kB / 1.088 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.6861, allocations: 6.031 kB / 1.088 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.6861, allocations: 0 / 1.088 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000173/0.6862, allocations: 114.9 kB / 1.089 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.996e-05/0.6863, allocations: 84.34 kB / 1.089 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.813e-05/0.6863, allocations: 2.062 kB / 1.089 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.287e-05/0.6863, allocations: 5.734 kB / 1.089 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.054e-05/0.6864, allocations: 4.062 kB / 1.089 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.6864, allocations: 12.11 kB / 1.089 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.797e-05/0.6865, allocations: 90.42 kB / 1.089 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2e-07/0.6865, allocations: 0 / 1.089 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002379/0.6867, allocations: 30.91 kB / 1.089 GB, free: 13.13 MB / 0.8419 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.0001588/0.6869, allocations: 101.5 kB / 1.089 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003908/0.6873, allocations: 249.1 kB / 1.089 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.6873, allocations: 3.938 kB / 1.089 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 5.795e-05/0.6874, allocations: 36.27 kB / 1.089 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002276/0.6876, allocations: 20.17 kB / 1.089 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003582/0.688, allocations: 192.1 kB / 1.089 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003273/0.6883, allocations: 0.6891 MB / 1.09 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.285e-05/0.6883, allocations: 11.92 kB / 1.09 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of SimCode: time 2.9e-07/0.6883, allocations: 0 / 1.09 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of Templates: time 0.003412/0.6917, allocations: 1.379 MB / 1.091 GB, free: 11.84 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.makefile (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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches