Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|or1.u1|or1.u2|or1.u3|or1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or3") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|or1.u1|or1.u2|or1.u3|or1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.307/2.307, allocations: 390.5 MB / 398 MB, free: 10.98 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.001283/0.001282, allocations: 176.9 kB / 491.2 MB, free: 1.617 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.781/1.781, allocations: 221.5 MB / 0.7868 GB, free: 13.38 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009011/0.000901, allocations: 99.89 kB / 0.9269 GB, free: 13.87 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.197e-05/2.2e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.3251, allocations: 143 MB / 1.212 GB, free: 39.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.031/1.356, allocations: 149.5 MB / 1.358 GB, free: 17.6 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001841/1.357, allocations: 73.05 kB / 1.358 GB, free: 17.6 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01103/1.368, allocations: 4.042 MB / 1.362 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.152e-06/1.368, allocations: 3.844 kB / 1.362 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.329e-05/1.368, allocations: 3.188 kB / 1.362 GB, free: 33.09 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.0004113/1.368, allocations: 448.9 kB / 1.363 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/1.368, allocations: 15.56 kB / 1.363 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.161e-05/1.368, allocations: 17.2 kB / 1.363 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.103e-05/1.368, allocations: 178.2 kB / 1.363 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/1.368, allocations: 5.438 kB / 1.363 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.998e-05/1.369, allocations: 14.84 kB / 1.363 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.025e-05/1.369, allocations: 15.47 kB / 1.363 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.856e-05/1.369, allocations: 50.72 kB / 1.363 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.024e-06/1.369, allocations: 0 / 1.363 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/1.369, allocations: 2.297 kB / 1.363 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/1.369, allocations: 0 / 1.363 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004552/1.369, allocations: 396.5 kB / 1.363 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.305e-05/1.369, allocations: 28.45 kB / 1.363 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.779e-05/1.369, allocations: 17.48 kB / 1.363 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.648e-06/1.369, allocations: 3.984 kB / 1.363 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001285/1.369, allocations: 103.3 kB / 1.364 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=10): time 1.273e-06/1.369, allocations: 0 / 1.364 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10): time 0.0001977/1.37, allocations: 110.6 kB / 1.364 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.089e-05/1.37, allocations: 52.81 kB / 1.364 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.752e-05/1.37, allocations: 126.3 kB / 1.364 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.317e-05/1.37, allocations: 37.27 kB / 1.364 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.041e-05/1.37, allocations: 93.34 kB / 1.364 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.521e-05/1.37, allocations: 21.03 kB / 1.364 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.409e-05/1.37, allocations: 7.844 kB / 1.364 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.742e-05/1.37, allocations: 325.4 kB / 1.364 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001251/1.37, allocations: 74.94 kB / 1.364 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/1.37, allocations: 118.5 kB / 1.364 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003552/1.371, allocations: 105.4 kB / 1.365 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/1.371, allocations: 0 / 1.365 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000598/1.371, allocations: 287.2 kB / 1.365 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.092e-05/1.371, allocations: 96.8 kB / 1.365 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/1.371, allocations: 1.219 kB / 1.365 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/1.371, allocations: 3.875 kB / 1.365 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.441e-05/1.371, allocations: 10.05 kB / 1.365 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.678e-06/1.371, allocations: 3.953 kB / 1.365 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004285/1.372, allocations: 114 kB / 1.365 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.696e-05/1.372, allocations: 14.77 kB / 1.365 GB, free: 31.19 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,or1.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 8.897e-05/1.372, allocations: 119.2 kB / 1.365 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.264e-05/1.372, allocations: 7.688 kB / 1.365 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.647e-05/1.372, allocations: 12.52 kB / 1.365 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/1.372, allocations: 0 / 1.365 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/1.372, allocations: 0 / 1.365 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/1.372, allocations: 9.344 kB / 1.365 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001088/1.372, allocations: 165.4 kB / 1.365 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/1.372, allocations: 4 kB / 1.365 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.158e-05/1.372, allocations: 5.484 kB / 1.365 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/1.372, allocations: 0 / 1.365 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/1.372, allocations: 0 / 1.365 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/1.372, allocations: 0 / 1.365 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/1.372, allocations: 3.375 kB / 1.365 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001235/1.372, allocations: 135.5 kB / 1.366 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.092e-05/1.372, allocations: 81.02 kB / 1.366 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.707e-05/1.372, allocations: 9.172 kB / 1.366 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.293e-05/1.372, allocations: 1.359 kB / 1.366 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.684e-05/1.372, allocations: 7.188 kB / 1.366 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/1.372, allocations: 9.531 kB / 1.366 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.504e-05/1.373, allocations: 87.7 kB / 1.366 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.373, allocations: 0 / 1.366 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002373/1.373, allocations: 55.2 kB / 1.366 GB, free: 30.64 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,or1.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.0001299/1.373, allocations: 105.7 kB / 1.366 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003001/1.373, allocations: 348.6 kB / 1.366 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/1.373, allocations: 3.844 kB / 1.366 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.101e-05/1.373, allocations: 36.03 kB / 1.366 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001965/1.373, allocations: 25.05 kB / 1.366 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002251/1.374, allocations: 121.7 kB / 1.366 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002554/1.374, allocations: 0.7027 MB / 1.367 GB, free: 29.55 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.966e-05/1.374, allocations: 9.672 kB / 1.367 GB, free: 29.55 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.958e-05/1.374, allocations: 16.23 kB / 1.367 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of SimCode: time 2.2e-07/1.374, allocations: 0 / 1.367 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of Templates: time 0.003809/1.378, allocations: 2.187 MB / 1.369 GB, free: 29.36 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Or3.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches