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.001613/0.001613, allocations: 108.5 kB / 16.41 MB, free: 6.512 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.002063/0.002063, allocations: 192.3 kB / 17.35 MB, free: 5.738 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.647/1.647, allocations: 222.9 MB / 241.1 MB, free: 15.14 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.569/2.569, allocations: 437 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001612/0.001612, allocations: 59.91 kB / 1.019 GB, free: 9.395 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.202/1.203, allocations: 151.6 MB / 1.167 GB, free: 3.816 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.002778/1.206, allocations: 0.6604 MB / 1.168 GB, free: 3.16 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002389/1.209, allocations: 1.189 MB / 1.169 GB, free: 1.957 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.876e-05/1.209, allocations: 4 kB / 1.169 GB, free: 1.953 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.564e-05/1.209, allocations: 3.984 kB / 1.169 GB, free: 1.949 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001224/1.209, allocations: 15.86 kB / 1.169 GB, free: 1.934 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001098/1.21, allocations: 209.4 kB / 1.169 GB, free: 1.734 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0004003/1.211, allocations: 187.7 kB / 1.17 GB, free: 1.551 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/1.211, allocations: 11.98 kB / 1.17 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001811/1.211, allocations: 71.88 kB / 1.17 GB, free: 1.469 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002117/1.211, allocations: 63.78 kB / 1.17 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 5.761e-05/1.211, allocations: 16 kB / 1.17 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001244/1.211, allocations: 31.98 kB / 1.17 GB, free: 1.359 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.041e-05/1.211, allocations: 11.98 kB / 1.17 GB, free: 1.348 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001225/1.212, allocations: 55.83 kB / 1.17 GB, free: 1.293 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003096/1.212, allocations: 143.7 kB / 1.17 GB, free: 1.152 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/1.212, allocations: 0 / 1.17 GB, free: 1.152 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.913e-06/1.212, allocations: 4 kB / 1.17 GB, free: 1.148 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.072e-05/1.212, allocations: 0 / 1.17 GB, free: 1.148 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.0007547/1.213, allocations: 432.5 kB / 1.17 GB, free: 0.668 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/1.213, allocations: 12.86 kB / 1.17 GB, free: 0.6562 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.715e-05/1.213, allocations: 12.84 kB / 1.17 GB, free: 0.6445 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001602/1.213, allocations: 172.3 kB / 1.171 GB, free: 448 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.516e-05/1.213, allocations: 8.312 kB / 1.171 GB, free: 440 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.292e-05/1.213, allocations: 8.375 kB / 1.171 GB, free: 432 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001609/1.213, allocations: 50.23 kB / 1.171 GB, free: 376 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/1.213, allocations: 8.188 kB / 1.171 GB, free: 368 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/1.213, allocations: 3.938 kB / 1.171 GB, free: 364 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/1.213, allocations: 0 / 1.171 GB, free: 364 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.013e-05/1.213, allocations: 12 kB / 1.171 GB, free: 352 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006833/1.214, allocations: 352.7 kB / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001163/1.214, allocations: 42.44 kB / 1.171 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.349e-05/1.214, allocations: 12.86 kB / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.356e-05/1.214, allocations: 7.938 kB / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001869/1.214, allocations: 83.45 kB / 1.171 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 2.144e-06/1.214, allocations: 0 / 1.171 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.0003528/1.215, allocations: 101.5 kB / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.041e-05/1.215, allocations: 55.41 kB / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001379/1.215, allocations: 113.8 kB / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.731e-05/1.215, allocations: 33.7 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 9.258e-05/1.215, allocations: 100 kB / 1.171 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.293e-05/1.215, allocations: 11.91 kB / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001305/1.215, allocations: 45.69 kB / 1.172 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001617/1.216, allocations: 322.8 kB / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001938/1.216, allocations: 59.95 kB / 1.172 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002153/1.216, allocations: 93.52 kB / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002823/1.216, allocations: 163.5 kB / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/1.216, allocations: 0 / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006258/1.217, allocations: 265.3 kB / 1.172 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 8.737e-05/1.217, allocations: 71.52 kB / 1.172 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/1.217, allocations: 0 / 1.172 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.321e-05/1.217, allocations: 4 kB / 1.172 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.598e-05/1.217, allocations: 0 / 1.172 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.618e-05/1.217, allocations: 8.25 kB / 1.172 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004834/1.218, allocations: 55.78 kB / 1.173 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.633e-05/1.218, allocations: 19.92 kB / 1.173 GB, free: 14.16 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.0001588/1.218, allocations: 129.7 kB / 1.173 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.153e-05/1.218, allocations: 4 kB / 1.173 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.589e-05/1.218, allocations: 8.375 kB / 1.173 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/1.218, allocations: 3.984 kB / 1.173 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/1.218, allocations: 0 / 1.173 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.941e-05/1.218, allocations: 85.02 kB / 1.173 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.072e-05/1.218, allocations: 0 / 1.173 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.429e-05/1.218, allocations: 3.938 kB / 1.173 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.315e-05/1.218, allocations: 11.97 kB / 1.173 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00022/1.218, allocations: 168.9 kB / 1.173 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002631/1.219, allocations: 254.7 kB / 1.173 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.682e-05/1.219, allocations: 27.98 kB / 1.173 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.907e-05/1.219, allocations: 87.28 kB / 1.173 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of Backend: time 3.21e-07/1.219, allocations: 0 / 1.173 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0009203/1.22, allocations: 315.7 kB / 1.174 GB, free: 13 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0008203/1.221, allocations: 0.6005 MB / 1.174 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of Templates: time 0.006883/1.228, allocations: 1.882 MB / 1.176 GB, free: 10.5 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