Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mulOr0.y|mulOr1.u.1.|mulOr1.y|mulOr2.u.1.|mulOr2.u.2.|mulOr2.y|mulOr5.u.1.|mulOr5.u.2.|mulOr5.u.3.|mulOr5.u.4.|mulOr5.u.5.|mulOr5.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mulOr0.y|mulOr1.u.1.|mulOr1.y|mulOr2.u.1.|mulOr2.u.2.|mulOr2.y|mulOr5.u.1.|mulOr5.u.2.|mulOr5.u.3.|mulOr5.u.4.|mulOr5.u.5.|mulOr5.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.447/1.447, allocations: 249.5 MB / 257 MB, free: 6.949 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001123/0.001123, allocations: 176.8 kB / 316.3 MB, free: 3.301 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.754/1.754, allocations: 205.3 MB / 0.5671 GB, free: 15.88 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008202/0.0008202, allocations: 94.77 kB / 0.6714 GB, free: 4.992 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.382e-05/2.386e-05, allocations: 8 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2104/0.2105, allocations: 106.4 MB / 0.8852 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8234/1.034, allocations: 131.9 MB / 1.014 GB, free: 5.758 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002155/1.034, allocations: 73.83 kB / 1.014 GB, free: 5.719 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.005801/1.04, allocations: 2.133 MB / 1.016 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.393e-06/1.04, allocations: 192 / 1.016 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.598e-05/1.04, allocations: 8 kB / 1.016 GB, free: 3.82 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0006626/1.041, allocations: 468.4 kB / 1.017 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/1.041, allocations: 12.78 kB / 1.017 GB, free: 3.324 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.418e-05/1.041, allocations: 15.81 kB / 1.017 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002507/1.041, allocations: 219.7 kB / 1.017 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/1.041, allocations: 4 kB / 1.017 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.516e-05/1.041, allocations: 8 kB / 1.017 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001908/1.041, allocations: 98.83 kB / 1.017 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002081/1.042, allocations: 137.9 kB / 1.017 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/1.042, allocations: 7.938 kB / 1.017 GB, free: 2.855 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/1.042, allocations: 3.938 kB / 1.017 GB, free: 2.852 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/1.042, allocations: 4 kB / 1.017 GB, free: 2.848 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009151/1.043, allocations: 0.565 MB / 1.018 GB, free: 2.293 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002267/1.043, allocations: 210.1 kB / 1.018 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.658e-05/1.043, allocations: 56.17 kB / 1.018 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.508e-05/1.043, allocations: 0 / 1.018 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001806/1.043, allocations: 126.3 kB / 1.018 GB, free: 1.938 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=20): time 1.522e-06/1.043, allocations: 0 / 1.018 GB, free: 1.938 MB / 0.6355 GB Notification: Performance of matching and sorting (n=20): time 0.0002692/1.043, allocations: 151.4 kB / 1.018 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.787e-05/1.043, allocations: 63.31 kB / 1.018 GB, free: 1.734 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001252/1.044, allocations: 151 kB / 1.018 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/1.044, allocations: 33.64 kB / 1.018 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.469e-05/1.044, allocations: 107.8 kB / 1.019 GB, free: 1.465 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.756e-05/1.044, allocations: 43.27 kB / 1.019 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.885e-06/1.044, allocations: 0 / 1.019 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001078/1.044, allocations: 330.5 kB / 1.019 GB, free: 1.105 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.595e-05/1.044, allocations: 43.31 kB / 1.019 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.518e-05/1.044, allocations: 90.05 kB / 1.019 GB, free: 0.9883 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.972e-05/1.044, allocations: 43.75 kB / 1.019 GB, free: 0.9531 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/1.044, allocations: 0 / 1.019 GB, free: 0.9531 MB / 0.6355 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002094/1.044, allocations: 160.9 kB / 1.019 GB, free: 0.8125 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/1.044, allocations: 7.984 kB / 1.019 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/1.044, allocations: 192 / 1.019 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/1.044, allocations: 8 kB / 1.019 GB, free: 0.7969 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.053e-05/1.044, allocations: 20.69 kB / 1.019 GB, free: 0.7812 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/1.044, allocations: 4 kB / 1.019 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001883/1.045, allocations: 35.95 kB / 1.019 GB, free: 0.7422 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/1.045, allocations: 4 kB / 1.019 GB, free: 0.7383 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mulOr2.u[1],mulOr2.u[2],mulOr2.y,mulOr5.u[3],mulOr5.u[4],mulOr5.u[5],mulOr5.y,mulOr5.uTemp[2],mulOr5.uTemp[3],mulOr5.uTemp[4],$PRE.booPul1.pulseStart,booPul1.pulseStart,$PRE.booPul2.pulseStart,booPul2.pulseStart,$PRE.booPul3.pulseStart,booPul3.pulseStart,$PRE.booPul4.pulseStart,booPul4.pulseStart,$PRE.booPul5.pulseStart,booPul5.pulseStart,mulOr0.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * 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.442e-05/1.045, allocations: 127 kB / 1.019 GB, free: 0.6133 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.433e-05/1.045, allocations: 19.77 kB / 1.019 GB, free: 0.5938 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.478e-05/1.045, allocations: 24.11 kB / 1.02 GB, free: 0.582 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/1.045, allocations: 0 / 1.02 GB, free: 0.582 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/1.045, allocations: 4 kB / 1.02 GB, free: 0.5781 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/1.045, allocations: 3.438 kB / 1.02 GB, free: 0.5781 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004599/1.045, allocations: 467.5 kB / 1.02 GB, free: 136 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/1.045, allocations: 3.938 kB / 1.02 GB, free: 132 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.164e-05/1.045, allocations: 4 kB / 1.02 GB, free: 128 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/1.045, allocations: 0 / 1.02 GB, free: 128 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/1.045, allocations: 96 / 1.02 GB, free: 128 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/1.045, allocations: 7.922 kB / 1.02 GB, free: 120 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/1.045, allocations: 0 / 1.02 GB, free: 120 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002521/1.046, allocations: 249.7 kB / 1.02 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.516e-05/1.046, allocations: 96.91 kB / 1.02 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.569e-05/1.046, allocations: 3.953 kB / 1.02 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000197/1.046, allocations: 31.97 kB / 1.02 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.711e-05/1.046, allocations: 31.75 kB / 1.02 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/1.046, allocations: 7.688 kB / 1.02 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.373e-05/1.046, allocations: 119.3 kB / 1.02 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.6e-07/1.046, allocations: 0 / 1.02 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002416/1.046, allocations: 28 kB / 1.021 GB, free: 15.57 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 (mulOr5.uTemp[2],$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mulOr2.u[1],mulOr2.u[2],mulOr2.y,mulOr5.u[3],mulOr5.u[4],mulOr5.u[5],mulOr5.y,mulOr5.uTemp[3],mulOr5.uTemp[4],booPul1.pulseStart,booPul2.pulseStart,booPul3.pulseStart,booPul4.pulseStart,booPul5.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0001448/1.047, allocations: 110.9 kB / 1.021 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002154/1.047, allocations: 129.1 kB / 1.021 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/1.047, allocations: 384 / 1.021 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001008/1.047, allocations: 77.81 kB / 1.021 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003189/1.047, allocations: 31.72 kB / 1.021 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004849/1.048, allocations: 229.6 kB / 1.021 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002876/1.048, allocations: 0.735 MB / 1.022 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 9.024e-05/1.048, allocations: 33.83 kB / 1.022 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.979e-05/1.048, allocations: 19.44 kB / 1.022 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of SimCode: time 3.31e-07/1.048, allocations: 0 / 1.022 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of Templates: time 0.006266/1.054, allocations: 1.913 MB / 1.024 GB, free: 12.37 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches