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.001252/0.001252, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001265/0.001265, allocations: 191.4 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.371/1.371, 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 10.1.1-maint.10.0.x/package.mo): time 2.469/2.469, allocations: 437 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001545/0.001545, allocations: 63.91 kB / 1.019 GB, free: 9.395 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8692/0.8707, allocations: 151.7 MB / 1.167 GB, free: 3.82 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.002102/0.8729, allocations: 0.6476 MB / 1.168 GB, free: 3.18 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001732/0.8746, allocations: 1.193 MB / 1.169 GB, free: 1.973 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.571e-05/0.8747, allocations: 0 / 1.169 GB, free: 1.973 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.573e-05/0.8748, allocations: 3.938 kB / 1.169 GB, free: 1.969 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 9.372e-05/0.8749, allocations: 15.86 kB / 1.169 GB, free: 1.953 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007433/0.8756, allocations: 218 kB / 1.169 GB, free: 1.746 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002758/0.8759, allocations: 183.7 kB / 1.17 GB, free: 1.566 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.876, allocations: 19.98 kB / 1.17 GB, free: 1.547 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000128/0.8762, allocations: 59.95 kB / 1.17 GB, free: 1.488 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000148/0.8763, allocations: 67.72 kB / 1.17 GB, free: 1.422 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.11e-05/0.8764, allocations: 12 kB / 1.17 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 9.175e-05/0.8765, allocations: 35.98 kB / 1.17 GB, free: 1.375 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.206e-05/0.8765, allocations: 11.94 kB / 1.17 GB, free: 1.363 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 8.121e-05/0.8766, allocations: 55.81 kB / 1.17 GB, free: 1.309 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002306/0.8768, allocations: 147.7 kB / 1.17 GB, free: 1.164 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.8768, allocations: 0 / 1.17 GB, free: 1.164 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.072e-06/0.8768, allocations: 4 kB / 1.17 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.8769, allocations: 0 / 1.17 GB, free: 1.16 MB / 0.8887 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.0005626/0.8774, allocations: 440.4 kB / 1.17 GB, free: 0.6719 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.8775, allocations: 8.922 kB / 1.17 GB, free: 0.6641 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.8e-05/0.8775, allocations: 12.84 kB / 1.17 GB, free: 0.6523 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.8777, allocations: 164.3 kB / 1.171 GB, free: 464 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.068e-05/0.8777, allocations: 12.36 kB / 1.171 GB, free: 452 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.468e-05/0.8777, allocations: 12.38 kB / 1.171 GB, free: 440 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000114/0.8779, allocations: 50.17 kB / 1.171 GB, free: 384 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.8779, allocations: 8.188 kB / 1.171 GB, free: 376 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.8779, allocations: 3.938 kB / 1.171 GB, free: 372 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.8779, allocations: 4 kB / 1.171 GB, free: 368 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.358e-05/0.878, allocations: 15.98 kB / 1.171 GB, free: 352 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005057/0.8785, allocations: 348.7 kB / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 7.807e-05/0.8786, allocations: 30.52 kB / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.262e-05/0.8786, allocations: 24.88 kB / 1.171 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.245e-05/0.8786, allocations: 4 kB / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001726/0.8788, allocations: 75.38 kB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 1.734e-06/0.8788, allocations: 0 / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.000262/0.8791, allocations: 105.6 kB / 1.171 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.388e-05/0.8791, allocations: 55.34 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.8792, allocations: 121.8 kB / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.048e-05/0.8793, allocations: 33.7 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.789e-05/0.8794, allocations: 100 kB / 1.171 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.572e-05/0.8794, allocations: 3.906 kB / 1.171 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.964e-05/0.8795, allocations: 53.67 kB / 1.172 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.8796, allocations: 318.8 kB / 1.172 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.8797, allocations: 59.97 kB / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001476/0.8799, allocations: 92.25 kB / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001834/0.8801, allocations: 159.6 kB / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.8801, allocations: 0 / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004182/0.8805, allocations: 260.8 kB / 1.172 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 6.048e-05/0.8806, allocations: 75.52 kB / 1.172 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.8806, allocations: 320 / 1.172 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.8806, allocations: 7.984 kB / 1.172 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.675e-05/0.8807, allocations: 3.938 kB / 1.172 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.417e-06/0.8807, allocations: 4 kB / 1.172 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003356/0.881, allocations: 63.72 kB / 1.173 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.348e-05/0.8811, allocations: 15.97 kB / 1.173 GB, free: 14.17 MB / 0.9044 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.0001059/0.8812, allocations: 125.8 kB / 1.173 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.482e-05/0.8812, allocations: 4 kB / 1.173 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.052e-05/0.8812, allocations: 8.375 kB / 1.173 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.8812, allocations: 0 / 1.173 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.8812, allocations: 0 / 1.173 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.8812, allocations: 0 / 1.173 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001402/0.8814, allocations: 182 kB / 1.173 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.8814, allocations: 0 / 1.173 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.23e-05/0.8814, allocations: 7.938 kB / 1.173 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.8814, allocations: 4 kB / 1.173 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.695e-06/0.8814, allocations: 0 / 1.173 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.654e-06/0.8814, allocations: 3.938 kB / 1.173 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.8815, allocations: 64 / 1.173 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001567/0.8816, allocations: 113 kB / 1.173 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.16e-05/0.8817, allocations: 89 kB / 1.173 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.789e-05/0.8817, allocations: 0 / 1.173 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.213e-05/0.8817, allocations: 4 kB / 1.173 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.236e-05/0.8818, allocations: 8 kB / 1.173 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/0.8818, allocations: 7.984 kB / 1.173 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.701e-05/0.8819, allocations: 91.22 kB / 1.173 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8819, allocations: 0 / 1.173 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002741/0.8822, allocations: 31.98 kB / 1.173 GB, free: 13.4 MB / 0.9044 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.0002388/0.8824, allocations: 103.2 kB / 1.173 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003999/0.8828, allocations: 250.6 kB / 1.174 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.8828, allocations: 4.25 kB / 1.174 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 5.806e-05/0.8829, allocations: 23.98 kB / 1.174 GB, free: 13 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002738/0.8832, allocations: 15.98 kB / 1.174 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004995/0.8837, allocations: 196.3 kB / 1.174 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003504/0.8841, allocations: 0.6817 MB / 1.174 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.057e-05/0.8841, allocations: 11.44 kB / 1.174 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of SimCode: time 2.3e-07/0.8841, allocations: 4 kB / 1.174 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of Templates: time 0.003513/0.8876, allocations: 1.385 MB / 1.176 GB, free: 10.66 MB / 0.9044 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/jenkins1/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