Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.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.Or,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|or1.u1|or1.u2|or1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|or1.u1|or1.u2|or1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.347/2.347, allocations: 387.4 MB / 394.9 MB, free: 13.44 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.001001/0.001001, allocations: 180.8 kB / 487.4 MB, free: 5.094 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.582/1.582, allocations: 221.5 MB / 0.7824 GB, free: 1.004 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.0008539/0.0008539, allocations: 102.5 kB / 0.9219 GB, free: 2.242 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.65e-05/1.652e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2628/0.2628, allocations: 142.4 MB / 1.206 GB, free: 43.99 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9588/1.222, allocations: 148.6 MB / 1.351 GB, free: 18.45 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002272/1.222, allocations: 71.83 kB / 1.351 GB, free: 18.45 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.009236/1.231, allocations: 2.905 MB / 1.354 GB, free: 34 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.595e-06/1.231, allocations: 0 / 1.354 GB, free: 34 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.454e-06/1.231, allocations: 0 / 1.354 GB, free: 34 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004186/1.232, allocations: 411.2 kB / 1.354 GB, free: 33.59 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/1.232, allocations: 12.03 kB / 1.354 GB, free: 33.59 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.753e-05/1.232, allocations: 8.391 kB / 1.354 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.81e-05/1.232, allocations: 171.5 kB / 1.355 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/1.232, allocations: 4.625 kB / 1.355 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.076e-05/1.232, allocations: 7.984 kB / 1.355 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.721e-05/1.232, allocations: 14.81 kB / 1.355 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.206e-05/1.232, allocations: 47.3 kB / 1.355 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/1.232, allocations: 0 / 1.355 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/1.232, allocations: 0.5625 kB / 1.355 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/1.232, allocations: 0 / 1.355 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004732/1.233, allocations: 340.4 kB / 1.355 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.475e-05/1.233, allocations: 30.41 kB / 1.355 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.732e-05/1.233, allocations: 20.17 kB / 1.355 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.175e-06/1.233, allocations: 0.6562 kB / 1.355 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001345/1.233, allocations: 76.14 kB / 1.355 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/1.233, allocations: 4 kB / 1.355 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0002042/1.233, allocations: 80.56 kB / 1.355 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.619e-05/1.233, allocations: 51.97 kB / 1.355 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.328e-05/1.233, allocations: 110.8 kB / 1.355 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.772e-05/1.233, allocations: 33.52 kB / 1.355 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.051e-05/1.233, allocations: 88.41 kB / 1.355 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.658e-05/1.233, allocations: 20.12 kB / 1.355 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.776e-05/1.233, allocations: 3.875 kB / 1.355 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000123/1.234, allocations: 325.4 kB / 1.356 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001017/1.234, allocations: 51.45 kB / 1.356 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/1.234, allocations: 82.19 kB / 1.356 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002958/1.234, allocations: 65.52 kB / 1.356 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/1.234, allocations: 4 kB / 1.356 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004672/1.235, allocations: 202.6 kB / 1.356 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.428e-05/1.235, allocations: 66.14 kB / 1.356 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/1.235, allocations: 7.828 kB / 1.356 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/1.235, allocations: 0 / 1.356 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.165e-05/1.235, allocations: 4.406 kB / 1.356 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/1.235, allocations: 0.5156 kB / 1.356 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003194/1.235, allocations: 75.2 kB / 1.356 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.314e-05/1.235, allocations: 22.5 kB / 1.356 GB, free: 32.2 MB / 0.8386 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,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,or1.y) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.922e-05/1.235, allocations: 109.4 kB / 1.356 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.201e-05/1.235, allocations: 8.484 kB / 1.356 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.645e-05/1.235, allocations: 8.469 kB / 1.356 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/1.235, allocations: 4.406 kB / 1.356 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/1.235, allocations: 0 / 1.356 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/1.235, allocations: 4.453 kB / 1.356 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.77e-05/1.235, allocations: 149.5 kB / 1.357 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/1.235, allocations: 4.062 kB / 1.357 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.005e-05/1.235, allocations: 8.734 kB / 1.357 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/1.235, allocations: 0 / 1.357 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.328e-06/1.235, allocations: 4.047 kB / 1.357 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/1.235, allocations: 0 / 1.357 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/1.235, allocations: 4.547 kB / 1.357 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001639/1.236, allocations: 104 kB / 1.357 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.767e-05/1.236, allocations: 81.81 kB / 1.357 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.061e-05/1.236, allocations: 4.594 kB / 1.357 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.949e-05/1.236, allocations: 4.562 kB / 1.357 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.113e-05/1.236, allocations: 10.31 kB / 1.357 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/1.236, allocations: 0.75 kB / 1.357 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.621e-05/1.236, allocations: 87.92 kB / 1.357 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.236, allocations: 0 / 1.357 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002421/1.236, allocations: 32.39 kB / 1.357 GB, free: 31.66 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.y) * Number of discrete 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 (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.000174/1.236, allocations: 110.7 kB / 1.357 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002512/1.237, allocations: 231.1 kB / 1.357 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/1.237, allocations: 4.062 kB / 1.357 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.684e-05/1.237, allocations: 26.47 kB / 1.357 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001878/1.237, allocations: 20.2 kB / 1.357 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002272/1.237, allocations: 83.56 kB / 1.357 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002598/1.237, allocations: 0.6956 MB / 1.358 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.784e-05/1.237, allocations: 12.94 kB / 1.358 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.858e-05/1.237, allocations: 14.72 kB / 1.358 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/1.237, allocations: 0 / 1.358 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of Templates: time 0.003951/1.241, allocations: 1.535 MB / 1.36 GB, free: 30.52 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches