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.00219/0.00219, allocations: 114.2 kB / 16.42 MB, free: 6.508 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.002393/0.002393, allocations: 183.9 kB / 17.35 MB, free: 5.754 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.484/1.484, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.843/2.843, allocations: 472.7 MB / 0.746 GB, free: 488 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00154/0.00154, allocations: 63.84 kB / 1.07 GB, free: 9.551 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.007/1.008, allocations: 159.9 MB / 1.226 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.002386/1.011, allocations: 0.6562 MB / 1.227 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001852/1.012, allocations: 1.186 MB / 1.228 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.611e-05/1.013, allocations: 3.938 kB / 1.228 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.126e-05/1.013, allocations: 0 / 1.228 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 9.993e-05/1.013, allocations: 11.88 kB / 1.228 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008035/1.014, allocations: 226.2 kB / 1.228 GB, free: 11.42 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0003087/1.014, allocations: 183.7 kB / 1.229 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/1.014, allocations: 12 kB / 1.229 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001539/1.014, allocations: 71.81 kB / 1.229 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000164/1.014, allocations: 55.86 kB / 1.229 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 5.022e-05/1.014, allocations: 16 kB / 1.229 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001073/1.015, allocations: 27.98 kB / 1.229 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.192e-05/1.015, allocations: 19.97 kB / 1.229 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 9.499e-05/1.015, allocations: 51.83 kB / 1.229 GB, free: 10.99 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002639/1.015, allocations: 156.1 kB / 1.229 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/1.015, allocations: 0 / 1.229 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.944e-06/1.015, allocations: 0 / 1.229 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.995e-06/1.015, allocations: 0 / 1.229 GB, free: 10.84 MB / 0.9512 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.0007346/1.016, allocations: 438.7 kB / 1.229 GB, free: 10.35 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/1.016, allocations: 8.031 kB / 1.229 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.298e-05/1.016, allocations: 12.89 kB / 1.229 GB, free: 10.33 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001428/1.016, allocations: 164.3 kB / 1.23 GB, free: 10.13 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.879e-05/1.016, allocations: 12.38 kB / 1.23 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.389e-05/1.016, allocations: 16.31 kB / 1.23 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001339/1.016, allocations: 46.23 kB / 1.23 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/1.016, allocations: 192 / 1.23 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.154e-05/1.016, allocations: 3.938 kB / 1.23 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/1.016, allocations: 4 kB / 1.23 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.481e-05/1.016, allocations: 12 kB / 1.23 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005232/1.017, allocations: 348.8 kB / 1.23 GB, free: 9.645 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 8.983e-05/1.017, allocations: 50.42 kB / 1.23 GB, free: 9.586 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.881e-05/1.017, allocations: 16.8 kB / 1.23 GB, free: 9.566 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 8.476e-06/1.017, allocations: 0 / 1.23 GB, free: 9.566 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002101/1.017, allocations: 87.42 kB / 1.23 GB, free: 9.469 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 1.943e-06/1.017, allocations: 0 / 1.23 GB, free: 9.469 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.0002697/1.018, allocations: 105.6 kB / 1.23 GB, free: 9.359 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/1.018, allocations: 55.41 kB / 1.23 GB, free: 9.293 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/1.018, allocations: 117.8 kB / 1.23 GB, free: 9.168 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.342e-05/1.018, allocations: 33.7 kB / 1.23 GB, free: 9.129 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.394e-05/1.018, allocations: 96.08 kB / 1.231 GB, free: 9.031 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.798e-05/1.018, allocations: 11.89 kB / 1.231 GB, free: 9.02 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/1.018, allocations: 49.69 kB / 1.231 GB, free: 8.965 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001226/1.018, allocations: 326.8 kB / 1.231 GB, free: 8.637 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001458/1.018, allocations: 59.97 kB / 1.231 GB, free: 8.578 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001435/1.018, allocations: 100.2 kB / 1.231 GB, free: 8.465 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001984/1.019, allocations: 155.6 kB / 1.231 GB, free: 8.285 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/1.019, allocations: 4 kB / 1.231 GB, free: 8.281 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00043/1.019, allocations: 257.4 kB / 1.231 GB, free: 8.012 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 5.903e-05/1.019, allocations: 71.39 kB / 1.231 GB, free: 7.93 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/1.019, allocations: 0 / 1.231 GB, free: 7.93 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/1.019, allocations: 4 kB / 1.231 GB, free: 7.926 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.182e-05/1.019, allocations: 3.938 kB / 1.232 GB, free: 7.922 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/1.019, allocations: 4 kB / 1.232 GB, free: 7.918 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003353/1.02, allocations: 63.95 kB / 1.232 GB, free: 7.855 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.39e-05/1.02, allocations: 11.98 kB / 1.232 GB, free: 7.844 MB / 0.9512 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.0001275/1.02, allocations: 125.7 kB / 1.232 GB, free: 7.711 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.83e-05/1.02, allocations: 11.94 kB / 1.232 GB, free: 7.699 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.037e-05/1.02, allocations: 8.375 kB / 1.232 GB, free: 7.688 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/1.02, allocations: 0 / 1.232 GB, free: 7.688 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/1.02, allocations: 0 / 1.232 GB, free: 7.688 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.056e-05/1.02, allocations: 89.06 kB / 1.232 GB, free: 7.582 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/1.02, allocations: 0 / 1.232 GB, free: 7.582 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.022e-05/1.02, allocations: 3.938 kB / 1.232 GB, free: 7.578 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.477e-05/1.02, allocations: 11.98 kB / 1.232 GB, free: 7.566 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000158/1.02, allocations: 153 kB / 1.232 GB, free: 7.41 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002014/1.02, allocations: 254.7 kB / 1.232 GB, free: 7.145 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.491e-05/1.02, allocations: 23.98 kB / 1.232 GB, free: 7.121 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.582e-05/1.02, allocations: 95.27 kB / 1.232 GB, free: 7.027 MB / 0.9512 GB Notification: Performance of Backend: time 6.71e-07/1.02, allocations: 0 / 1.232 GB, free: 7.027 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0006569/1.021, allocations: 309.1 kB / 1.233 GB, free: 6.695 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0005951/1.022, allocations: 0.6053 MB / 1.233 GB, free: 6.043 MB / 0.9512 GB Notification: Performance of Templates: time 0.005128/1.027, allocations: 1.887 MB / 1.235 GB, free: 4.184 MB / 0.9512 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