Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|and1.u1|and1.u2|and1.u3|and1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|and1.u1|and1.u2|and1.u3|and1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.424/2.424, allocations: 387.4 MB / 394.9 MB, free: 13.4 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000988/0.0009883, allocations: 176.8 kB / 487.4 MB, free: 5.062 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.552/1.552, allocations: 221.5 MB / 0.7824 GB, free: 0.9844 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008903/0.0008903, allocations: 90.2 kB / 0.9219 GB, free: 2.219 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.784e-05/1.787e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2843/0.2843, allocations: 142.4 MB / 1.206 GB, free: 43.95 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8982/1.183, allocations: 148.7 MB / 1.351 GB, free: 18.44 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002388/1.183, allocations: 70.88 kB / 1.351 GB, free: 18.44 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01224/1.195, allocations: 4.046 MB / 1.355 GB, free: 33.94 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.192e-06/1.195, allocations: 4 kB / 1.355 GB, free: 33.93 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.975e-06/1.195, allocations: 0 / 1.355 GB, free: 33.93 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004117/1.196, allocations: 453.8 kB / 1.356 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/1.196, allocations: 12.06 kB / 1.356 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.373e-05/1.196, allocations: 12.05 kB / 1.356 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.394e-05/1.196, allocations: 181.7 kB / 1.356 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/1.196, allocations: 0.7031 kB / 1.356 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.679e-05/1.196, allocations: 12.72 kB / 1.356 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.221e-05/1.196, allocations: 15.91 kB / 1.356 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.687e-05/1.196, allocations: 54.36 kB / 1.356 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/1.196, allocations: 0 / 1.356 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/1.196, allocations: 0.5156 kB / 1.356 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/1.196, allocations: 7.719 kB / 1.356 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005268/1.197, allocations: 393.5 kB / 1.356 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.805e-05/1.197, allocations: 30.52 kB / 1.356 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.084e-05/1.197, allocations: 24.69 kB / 1.356 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.096e-05/1.197, allocations: 3.875 kB / 1.356 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001501/1.197, allocations: 93.38 kB / 1.356 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=10): time 1.352e-06/1.197, allocations: 0 / 1.356 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10): time 0.0002221/1.197, allocations: 105.5 kB / 1.357 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.322e-05/1.197, allocations: 55.94 kB / 1.357 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.427e-05/1.197, allocations: 125 kB / 1.357 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.29e-05/1.197, allocations: 32.7 kB / 1.357 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.274e-05/1.197, allocations: 93.3 kB / 1.357 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.727e-05/1.197, allocations: 24.64 kB / 1.357 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.663e-05/1.197, allocations: 7.578 kB / 1.357 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001252/1.198, allocations: 325.3 kB / 1.357 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000135/1.198, allocations: 73.72 kB / 1.357 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001425/1.198, allocations: 124.4 kB / 1.357 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003783/1.198, allocations: 94.61 kB / 1.357 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/1.198, allocations: 3.875 kB / 1.357 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000623/1.199, allocations: 279.4 kB / 1.358 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.125e-05/1.199, allocations: 100.9 kB / 1.358 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/1.199, allocations: 4.516 kB / 1.358 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/1.199, allocations: 3.875 kB / 1.358 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.426e-05/1.199, allocations: 4.641 kB / 1.358 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/1.199, allocations: 4.5 kB / 1.358 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004503/1.199, allocations: 112.1 kB / 1.358 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.643e-05/1.2, allocations: 24.25 kB / 1.358 GB, free: 32.04 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,and1.y,$PRE.booPul3.y,booPul3.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.253e-05/1.2, allocations: 116.8 kB / 1.358 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.255e-05/1.2, allocations: 7.781 kB / 1.358 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.275e-05/1.2, allocations: 19.02 kB / 1.358 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/1.2, allocations: 0 / 1.358 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/1.2, allocations: 0 / 1.358 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/1.2, allocations: 0 / 1.358 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.034e-05/1.2, allocations: 164.5 kB / 1.358 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/1.2, allocations: 3.984 kB / 1.358 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.298e-05/1.2, allocations: 3.938 kB / 1.358 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/1.2, allocations: 10.08 kB / 1.358 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/1.2, allocations: 3.875 kB / 1.358 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/1.2, allocations: 0.5 kB / 1.358 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/1.2, allocations: 0 / 1.358 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001215/1.2, allocations: 135.5 kB / 1.358 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.172e-05/1.2, allocations: 84.89 kB / 1.358 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/1.2, allocations: 5.922 kB / 1.358 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.211e-05/1.2, allocations: 0 / 1.358 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.14e-05/1.2, allocations: 7.609 kB / 1.358 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.135e-06/1.2, allocations: 6.75 kB / 1.358 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.615e-05/1.2, allocations: 95.67 kB / 1.359 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.2, allocations: 0 / 1.359 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002414/1.2, allocations: 55.97 kB / 1.359 GB, free: 31.48 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.y,booPul3.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001509/1.201, allocations: 109.1 kB / 1.359 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003145/1.201, allocations: 345.2 kB / 1.359 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/1.201, allocations: 0 / 1.359 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.495e-05/1.201, allocations: 37.94 kB / 1.359 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002005/1.201, allocations: 26.97 kB / 1.359 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002254/1.201, allocations: 115.2 kB / 1.359 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002398/1.202, allocations: 0.6925 MB / 1.36 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.084e-05/1.202, allocations: 11.25 kB / 1.36 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.901e-05/1.202, allocations: 15.22 kB / 1.36 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.202, allocations: 4 kB / 1.36 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of Templates: time 0.003983/1.206, allocations: 2.19 MB / 1.362 GB, free: 30.21 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_And3.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches