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.441/1.441, allocations: 249.3 MB / 261.9 MB, free: 5.879 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.001154/0.001153, allocations: 176.9 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.399/1.399, allocations: 205.2 MB / 0.572 GB, free: 10.61 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.0008144/0.0008143, allocations: 94.41 kB / 0.6764 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.618e-05/4.62e-05, allocations: 8 kB / 0.788 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1989/0.199, allocations: 106.3 MB / 0.8918 GB, free: 6.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7207/0.9197, allocations: 131.7 MB / 1.02 GB, free: 3.047 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002863/0.9201, allocations: 71.52 kB / 1.02 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006023/0.9261, allocations: 2.151 MB / 1.023 GB, free: 1.082 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.653e-06/0.9261, allocations: 0 / 1.023 GB, free: 1.082 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.696e-05/0.9262, allocations: 4 kB / 1.023 GB, free: 1.078 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.0006863/0.9269, allocations: 471.5 kB / 1.023 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.9269, allocations: 8.031 kB / 1.023 GB, free: 0.582 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.626e-05/0.927, allocations: 19.81 kB / 1.023 GB, free: 0.5625 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000272/0.9273, allocations: 214.6 kB / 1.023 GB, free: 328 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/0.9273, allocations: 15.23 kB / 1.023 GB, free: 316 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.824e-05/0.9273, allocations: 14.69 kB / 1.023 GB, free: 308 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002766/0.9276, allocations: 158.1 kB / 1.023 GB, free: 172 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.9276, allocations: 0 / 1.023 GB, free: 172 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.825e-05/0.9277, allocations: 11.25 kB / 1.023 GB, free: 164 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.856e-06/0.9277, allocations: 4 kB / 1.023 GB, free: 160 kB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001792/0.9279, allocations: 101.2 kB / 1.024 GB, free: 88 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001072/0.9289, allocations: 0.5995 MB / 1.024 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002552/0.9292, allocations: 216.2 kB / 1.024 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.466e-05/0.9293, allocations: 53.81 kB / 1.024 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.9293, allocations: 7.938 kB / 1.024 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002036/0.9296, allocations: 131.7 kB / 1.025 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=20): time 1.693e-06/0.9296, allocations: 0 / 1.025 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of matching and sorting (n=20): time 0.0003139/0.9299, allocations: 167.9 kB / 1.025 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.578e-05/0.9299, allocations: 59.09 kB / 1.025 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/0.9301, allocations: 154.4 kB / 1.025 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.214e-05/0.9301, allocations: 33.08 kB / 1.025 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.529e-05/0.9302, allocations: 117.9 kB / 1.025 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.444e-05/0.9302, allocations: 45.5 kB / 1.025 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.638e-06/0.9302, allocations: 3.938 kB / 1.025 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.9304, allocations: 329.8 kB / 1.025 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.878e-05/0.9305, allocations: 46.48 kB / 1.025 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000105/0.9306, allocations: 92.5 kB / 1.026 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.473e-05/0.9307, allocations: 53.97 kB / 1.026 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.9307, allocations: 0 / 1.026 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002445/0.9309, allocations: 180.9 kB / 1.026 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.931, allocations: 4 kB / 1.026 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.931, allocations: 8.188 kB / 1.026 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.931, allocations: 0 / 1.026 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.485e-05/0.9311, allocations: 19.92 kB / 1.026 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.829e-06/0.9311, allocations: 4 kB / 1.026 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001896/0.9313, allocations: 43.2 kB / 1.026 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.452e-05/0.9313, allocations: 12 kB / 1.026 GB, free: 13.87 MB / 0.6511 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.943e-05/0.9314, allocations: 129.7 kB / 1.026 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.426e-05/0.9315, allocations: 15.81 kB / 1.026 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.42e-05/0.9315, allocations: 26.55 kB / 1.026 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.9315, allocations: 0 / 1.026 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.9315, allocations: 0 / 1.026 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.9316, allocations: 0 / 1.026 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005446/0.9321, allocations: 0.5006 MB / 1.026 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.9321, allocations: 3.938 kB / 1.026 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.887e-05/0.9322, allocations: 7.312 kB / 1.026 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.9322, allocations: 0 / 1.026 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.9322, allocations: 4 kB / 1.026 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.9322, allocations: 0.625 kB / 1.026 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.9322, allocations: 0 / 1.026 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002628/0.9325, allocations: 269.5 kB / 1.027 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.291e-05/0.9326, allocations: 92.92 kB / 1.027 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.412e-05/0.9326, allocations: 7.234 kB / 1.027 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001974/0.9328, allocations: 35.34 kB / 1.027 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.526e-05/0.9329, allocations: 31.2 kB / 1.027 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.236e-05/0.9329, allocations: 7.984 kB / 1.027 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.956e-05/0.933, allocations: 125.3 kB / 1.027 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/0.933, allocations: 0 / 1.027 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002354/0.9332, allocations: 34.31 kB / 1.027 GB, free: 12.65 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.0001507/0.9334, allocations: 110.5 kB / 1.027 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002513/0.9337, allocations: 141.3 kB / 1.027 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.9337, allocations: 4.375 kB / 1.027 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001193/0.9338, allocations: 79.66 kB / 1.027 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003095/0.9341, allocations: 34.53 kB / 1.027 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005127/0.9346, allocations: 252.9 kB / 1.028 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/0.9349, allocations: 0.7324 MB / 1.028 GB, free: 11.35 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 8.526e-05/0.935, allocations: 29.53 kB / 1.028 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.16e-05/0.9351, allocations: 19.44 kB / 1.028 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of SimCode: time 2.6e-07/0.9351, allocations: 0 / 1.028 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of Templates: time 0.004778/0.9399, allocations: 2.032 MB / 1.03 GB, free: 9.309 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