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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001332/0.001332, allocations: 109.5 kB / 16.41 MB, free: 6.414 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.001325/0.001325, allocations: 185.7 kB / 17.34 MB, free: 5.695 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.286/1.286, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.507/2.507, allocations: 461.9 MB / 0.7354 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 63.91 kB / 1.055 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6639/0.6652, allocations: 157.4 MB / 1.208 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.001612/0.6668, allocations: 0.6573 MB / 1.209 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001235/0.6681, allocations: 1.186 MB / 1.21 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.914e-05/0.6681, allocations: 4 kB / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.71e-05/0.6682, allocations: 3.938 kB / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.592e-05/0.6682, allocations: 7.938 kB / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005912/0.6688, allocations: 213.7 kB / 1.21 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002089/0.669, allocations: 191.7 kB / 1.211 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 7.352e-05/0.6691, allocations: 4 kB / 1.211 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.598e-05/0.6692, allocations: 75.81 kB / 1.211 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001172/0.6693, allocations: 63.84 kB / 1.211 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.759e-05/0.6694, allocations: 16 kB / 1.211 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 7.902e-05/0.6695, allocations: 31.97 kB / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.833e-05/0.6695, allocations: 8 kB / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.878e-05/0.6696, allocations: 55.83 kB / 1.211 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001754/0.6697, allocations: 147.6 kB / 1.211 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.676e-06/0.6698, allocations: 3.938 kB / 1.211 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.232e-06/0.6698, allocations: 0 / 1.211 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.6698, allocations: 4 kB / 1.211 GB, free: 10.91 MB / 0.9356 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.0004542/0.6702, allocations: 436.5 kB / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 2.972e-05/0.6703, allocations: 8.031 kB / 1.211 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.807e-05/0.6703, allocations: 16.84 kB / 1.211 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001008/0.6704, allocations: 172.3 kB / 1.212 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.6705, allocations: 4.375 kB / 1.212 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.074e-05/0.6705, allocations: 12.36 kB / 1.212 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.629e-05/0.6706, allocations: 50.25 kB / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.182e-06/0.6706, allocations: 192 / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.6706, allocations: 3.938 kB / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.376e-06/0.6706, allocations: 0 / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.756e-05/0.6707, allocations: 19.98 kB / 1.212 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003994/0.6711, allocations: 352.7 kB / 1.212 GB, free: 9.707 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 6.397e-05/0.6711, allocations: 34.52 kB / 1.212 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.621e-05/0.6712, allocations: 16.94 kB / 1.212 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 5.31e-06/0.6712, allocations: 0 / 1.212 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001091/0.6713, allocations: 91.34 kB / 1.212 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.6713, allocations: 0 / 1.212 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0002229/0.6715, allocations: 101.5 kB / 1.212 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.19e-05/0.6716, allocations: 55.41 kB / 1.212 GB, free: 9.371 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.987e-05/0.6717, allocations: 117.8 kB / 1.212 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.192e-05/0.6717, allocations: 33.7 kB / 1.212 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.087e-05/0.6718, allocations: 88.05 kB / 1.213 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.617e-05/0.6718, allocations: 15.89 kB / 1.213 GB, free: 9.102 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.559e-05/0.6719, allocations: 49.69 kB / 1.213 GB, free: 9.047 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 8.939e-05/0.672, allocations: 327.1 kB / 1.213 GB, free: 8.719 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001186/0.6721, allocations: 59.97 kB / 1.213 GB, free: 8.66 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001409/0.6722, allocations: 99.62 kB / 1.213 GB, free: 8.551 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001649/0.6724, allocations: 155.6 kB / 1.213 GB, free: 8.371 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.6724, allocations: 0 / 1.213 GB, free: 8.371 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003898/0.6728, allocations: 268.8 kB / 1.213 GB, free: 8.09 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.525e-05/0.6729, allocations: 68.95 kB / 1.214 GB, free: 8.012 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.6729, allocations: 7.938 kB / 1.214 GB, free: 8.004 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.6729, allocations: 0 / 1.214 GB, free: 8.004 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.867e-05/0.6729, allocations: 4.125 kB / 1.214 GB, free: 8 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.6729, allocations: 7.984 kB / 1.214 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003233/0.6733, allocations: 55.78 kB / 1.214 GB, free: 7.938 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.76e-05/0.6733, allocations: 12 kB / 1.214 GB, free: 7.926 MB / 0.9356 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 9.236e-05/0.6734, allocations: 129.7 kB / 1.214 GB, free: 7.789 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.199e-05/0.6734, allocations: 4 kB / 1.214 GB, free: 7.785 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.378e-05/0.6734, allocations: 12.38 kB / 1.214 GB, free: 7.77 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.746e-06/0.6735, allocations: 4 kB / 1.214 GB, free: 7.766 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.6735, allocations: 0 / 1.214 GB, free: 7.766 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.6735, allocations: 0 / 1.214 GB, free: 7.766 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001124/0.6736, allocations: 181.5 kB / 1.214 GB, free: 7.539 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.6736, allocations: 64 / 1.214 GB, free: 7.539 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.394e-05/0.6736, allocations: 4 kB / 1.214 GB, free: 7.535 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.6736, allocations: 0 / 1.214 GB, free: 7.535 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.6736, allocations: 4 kB / 1.214 GB, free: 7.531 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.6736, allocations: 0 / 1.214 GB, free: 7.531 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.6736, allocations: 0 / 1.214 GB, free: 7.531 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001304/0.6738, allocations: 121 kB / 1.214 GB, free: 7.395 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.112e-05/0.6738, allocations: 81.02 kB / 1.214 GB, free: 7.297 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.6738, allocations: 3.984 kB / 1.214 GB, free: 7.293 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.012e-05/0.6739, allocations: 4.094 kB / 1.214 GB, free: 7.289 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.386e-05/0.6739, allocations: 7.938 kB / 1.214 GB, free: 7.281 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.6739, allocations: 4 kB / 1.214 GB, free: 7.277 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.015e-05/0.674, allocations: 91.27 kB / 1.214 GB, free: 7.188 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.674, allocations: 4 kB / 1.214 GB, free: 7.184 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002235/0.6742, allocations: 32 kB / 1.214 GB, free: 7.152 MB / 0.9356 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.0001262/0.6743, allocations: 107.2 kB / 1.214 GB, free: 7.039 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002954/0.6746, allocations: 242.6 kB / 1.215 GB, free: 6.777 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.6746, allocations: 0 / 1.215 GB, free: 6.777 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.609e-05/0.6747, allocations: 27.94 kB / 1.215 GB, free: 6.75 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002122/0.6749, allocations: 20.23 kB / 1.215 GB, free: 6.73 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003048/0.6752, allocations: 188.3 kB / 1.215 GB, free: 6.512 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002123/0.6754, allocations: 0.6884 MB / 1.216 GB, free: 5.797 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.844e-05/0.6755, allocations: 11.44 kB / 1.216 GB, free: 5.785 MB / 0.9356 GB Notification: Performance of SimCode: time 2.1e-07/0.6755, allocations: 0 / 1.216 GB, free: 5.785 MB / 0.9356 GB Notification: Performance of Templates: time 0.002549/0.678, allocations: 1.381 MB / 1.217 GB, free: 4.422 MB / 0.9356 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=480 -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