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.199/2.199, allocations: 387.1 MB / 399.7 MB, free: 9.504 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.0009581/0.0009581, allocations: 176.9 kB / 492.3 MB, free: 0.6367 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.399/1.399, allocations: 221.3 MB / 0.7871 GB, free: 12.95 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.0008264/0.0008265, allocations: 93.95 kB / 0.9267 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.095e-05/4.099e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3046/0.3046, allocations: 142.3 MB / 1.212 GB, free: 38.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.044/1.349, allocations: 149.3 MB / 1.358 GB, free: 19.11 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002369/1.349, allocations: 72.28 kB / 1.358 GB, free: 19.11 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.008725/1.358, allocations: 2.929 MB / 1.361 GB, free: 34.66 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.814e-06/1.358, allocations: 0 / 1.361 GB, free: 34.66 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.343e-05/1.358, allocations: 0 / 1.361 GB, free: 34.66 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.0003453/1.358, allocations: 405.5 kB / 1.362 GB, free: 34.24 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/1.358, allocations: 11.64 kB / 1.362 GB, free: 34.24 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.272e-05/1.358, allocations: 6.625 kB / 1.362 GB, free: 34.24 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.554e-05/1.358, allocations: 170.3 kB / 1.362 GB, free: 34.04 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/1.358, allocations: 4.812 kB / 1.362 GB, free: 34.04 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.455e-05/1.358, allocations: 17.81 kB / 1.362 GB, free: 34.04 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001131/1.358, allocations: 47.31 kB / 1.362 GB, free: 34 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/1.359, allocations: 3.938 kB / 1.362 GB, free: 34 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/1.359, allocations: 0 / 1.362 GB, free: 34 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/1.359, allocations: 0 / 1.362 GB, free: 34 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.277e-05/1.359, allocations: 19.08 kB / 1.362 GB, free: 34 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004415/1.359, allocations: 353.8 kB / 1.362 GB, free: 33.73 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.284e-05/1.359, allocations: 35.55 kB / 1.362 GB, free: 33.7 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.962e-05/1.359, allocations: 17.62 kB / 1.362 GB, free: 33.69 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.322e-06/1.359, allocations: 0 / 1.362 GB, free: 33.69 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001322/1.359, allocations: 80.16 kB / 1.362 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/1.359, allocations: 0 / 1.362 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0002046/1.36, allocations: 83.39 kB / 1.362 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.815e-05/1.36, allocations: 63.55 kB / 1.362 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.64e-05/1.36, allocations: 118.4 kB / 1.363 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.709e-05/1.36, allocations: 29.48 kB / 1.363 GB, free: 33.4 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.34e-05/1.36, allocations: 88.95 kB / 1.363 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.959e-05/1.36, allocations: 20.94 kB / 1.363 GB, free: 33.31 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.66e-05/1.36, allocations: 3.688 kB / 1.363 GB, free: 33.31 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.218e-05/1.36, allocations: 320 kB / 1.363 GB, free: 33 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001109/1.36, allocations: 58.42 kB / 1.363 GB, free: 33 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001198/1.36, allocations: 90.33 kB / 1.363 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000126/1.36, allocations: 113.2 kB / 1.363 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/1.36, allocations: 0 / 1.363 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003832/1.361, allocations: 254.4 kB / 1.363 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.431e-05/1.361, allocations: 71.73 kB / 1.364 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/1.361, allocations: 0 / 1.364 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/1.361, allocations: 3.812 kB / 1.364 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.108e-05/1.361, allocations: 4.438 kB / 1.364 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.333e-06/1.361, allocations: 3.844 kB / 1.364 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002979/1.361, allocations: 70.47 kB / 1.364 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.111e-05/1.361, allocations: 17.33 kB / 1.364 GB, free: 32.71 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 7.513e-05/1.361, allocations: 114.9 kB / 1.364 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.179e-05/1.361, allocations: 9.531 kB / 1.364 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.098e-05/1.361, allocations: 12.38 kB / 1.364 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/1.361, allocations: 0 / 1.364 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/1.361, allocations: 3.656 kB / 1.364 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/1.361, allocations: 3.938 kB / 1.364 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001038/1.361, allocations: 179 kB / 1.364 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/1.361, allocations: 480 / 1.364 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.945e-06/1.361, allocations: 0 / 1.364 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/1.361, allocations: 3.984 kB / 1.364 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/1.361, allocations: 5.922 kB / 1.364 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/1.361, allocations: 0 / 1.364 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/1.361, allocations: 3.938 kB / 1.364 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001167/1.362, allocations: 122 kB / 1.364 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.926e-05/1.362, allocations: 80.98 kB / 1.364 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/1.362, allocations: 0 / 1.364 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.744e-05/1.362, allocations: 0 / 1.364 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.397e-05/1.362, allocations: 9.922 kB / 1.364 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-06/1.362, allocations: 9.969 kB / 1.364 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.383e-05/1.362, allocations: 86.12 kB / 1.364 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.21e-07/1.362, allocations: 4 kB / 1.364 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002159/1.362, allocations: 36.62 kB / 1.364 GB, free: 32.13 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.0001609/1.362, allocations: 111 kB / 1.364 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002565/1.362, allocations: 241.5 kB / 1.365 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/1.362, allocations: 0 / 1.365 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.771e-05/1.362, allocations: 25.91 kB / 1.365 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001824/1.363, allocations: 23.92 kB / 1.365 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002357/1.363, allocations: 100.5 kB / 1.365 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002801/1.363, allocations: 0.6883 MB / 1.365 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.048e-05/1.363, allocations: 9.297 kB / 1.365 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.827e-05/1.363, allocations: 11.34 kB / 1.365 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of SimCode: time 2.31e-07/1.363, allocations: 0 / 1.365 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of Templates: time 0.004521/1.368, allocations: 1.67 MB / 1.367 GB, free: 30.96 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