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.Or3.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.Or3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|or1.u1|or1.u2|or1.u3|or1.y",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.432/1.432, allocations: 249.3 MB / 261.8 MB, free: 5.828 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.0009699/0.0009699, allocations: 184.8 kB / 321.3 MB, free: 14.66 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.546/1.546, allocations: 205.2 MB / 0.572 GB, free: 10.63 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.0008032/0.0008034, allocations: 90.45 kB / 0.6764 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 2.778e-05/2.78e-05, allocations: 4 kB / 0.7879 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2066/0.2066, allocations: 106.3 MB / 0.8918 GB, free: 6.676 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6761/0.8827, allocations: 131.4 MB / 1.02 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001987/0.883, allocations: 78.75 kB / 1.02 GB, free: 3.266 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003155/0.8862, allocations: 1.17 MB / 1.021 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.613e-06/0.8862, allocations: 0 / 1.021 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.31e-05/0.8862, allocations: 4 kB / 1.021 GB, free: 2.199 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005557/0.8868, allocations: 381.5 kB / 1.022 GB, free: 1.785 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/0.8868, allocations: 8.031 kB / 1.022 GB, free: 1.777 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.591e-05/0.8869, allocations: 4 kB / 1.022 GB, free: 1.773 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001736/0.8871, allocations: 182.4 kB / 1.022 GB, free: 1.559 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.8871, allocations: 0 / 1.022 GB, free: 1.559 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.927e-05/0.8871, allocations: 7.938 kB / 1.022 GB, free: 1.555 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001535/0.8873, allocations: 63.23 kB / 1.022 GB, free: 1.496 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.617e-06/0.8873, allocations: 0 / 1.022 GB, free: 1.496 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.8873, allocations: 4 kB / 1.022 GB, free: 1.492 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.8873, allocations: 4 kB / 1.022 GB, free: 1.488 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.743e-05/0.8874, allocations: 27.75 kB / 1.022 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005146/0.8879, allocations: 307.8 kB / 1.022 GB, free: 1.145 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001064/0.8881, allocations: 58.02 kB / 1.022 GB, free: 1.094 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.37e-05/0.8881, allocations: 24.42 kB / 1.022 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.8881, allocations: 3.75 kB / 1.022 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001781/0.8883, allocations: 87.25 kB / 1.022 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 1.623e-06/0.8883, allocations: 0 / 1.022 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0002234/0.8886, allocations: 83.62 kB / 1.023 GB, free: 0.9062 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.641e-05/0.8886, allocations: 59.45 kB / 1.023 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.8888, allocations: 123.6 kB / 1.023 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.8888, allocations: 29.7 kB / 1.023 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.046e-05/0.8888, allocations: 91.02 kB / 1.023 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.782e-05/0.8889, allocations: 23.2 kB / 1.023 GB, free: 0.5781 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.33e-06/0.8889, allocations: 0 / 1.023 GB, free: 0.5781 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.889, allocations: 322.8 kB / 1.023 GB, free: 264 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.143e-05/0.8891, allocations: 19.62 kB / 1.023 GB, free: 252 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.442e-05/0.8892, allocations: 45.44 kB / 1.023 GB, free: 204 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.089e-05/0.8892, allocations: 26.55 kB / 1.023 GB, free: 184 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.8892, allocations: 0 / 1.023 GB, free: 184 kB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001398/0.8894, allocations: 94.34 kB / 1.023 GB, free: 96 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.8894, allocations: 8 kB / 1.023 GB, free: 88 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.8894, allocations: 0 / 1.023 GB, free: 88 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.8894, allocations: 0 / 1.023 GB, free: 88 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.131e-05/0.8895, allocations: 15.97 kB / 1.023 GB, free: 72 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.8895, allocations: 4.547 kB / 1.023 GB, free: 68 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001181/0.8896, allocations: 33.92 kB / 1.023 GB, free: 40 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-06/0.8896, allocations: 4 kB / 1.023 GB, free: 36 kB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,or1.y,booPul3.y,$PRE.booPul3.pulseStart,booPul3.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.793e-05/0.8897, allocations: 113.6 kB / 1.023 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.771e-05/0.8898, allocations: 11.89 kB / 1.024 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.079e-05/0.8898, allocations: 15.56 kB / 1.024 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.8898, allocations: 7.984 kB / 1.024 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.8898, allocations: 0 / 1.024 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.8898, allocations: 0 / 1.024 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001549/0.89, allocations: 198.7 kB / 1.024 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-06/0.89, allocations: 0 / 1.024 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.017e-05/0.89, allocations: 0 / 1.024 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.89, allocations: 0 / 1.024 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.8901, allocations: 4.094 kB / 1.024 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.8901, allocations: 3.938 kB / 1.024 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.8901, allocations: 0 / 1.024 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001483/0.8902, allocations: 126.2 kB / 1.024 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.205e-05/0.8903, allocations: 85.02 kB / 1.024 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.809e-05/0.8903, allocations: 0 / 1.024 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/0.8905, allocations: 26.34 kB / 1.024 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.389e-05/0.8905, allocations: 15.72 kB / 1.024 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.764e-06/0.8905, allocations: 8 kB / 1.024 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.082e-05/0.8906, allocations: 95.02 kB / 1.024 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8906, allocations: 0 / 1.024 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0001815/0.8908, allocations: 19.5 kB / 1.024 GB, free: 15.28 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: 10 ($whenCondition3,$whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,or1.y,booPul3.y,booPul3.pulseStart) * 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.0001233/0.8909, allocations: 99.23 kB / 1.024 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001429/0.8911, allocations: 65.94 kB / 1.024 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.8911, allocations: 0 / 1.024 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 6.759e-05/0.8912, allocations: 34.88 kB / 1.024 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002176/0.8914, allocations: 27.45 kB / 1.024 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003001/0.8917, allocations: 119.9 kB / 1.024 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002745/0.892, allocations: 0.6965 MB / 1.025 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.191e-05/0.892, allocations: 13.02 kB / 1.025 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.451e-05/0.8921, allocations: 15.44 kB / 1.025 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of SimCode: time 4.41e-07/0.8921, allocations: 0 / 1.025 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of Templates: time 0.003099/0.8952, allocations: 1.048 MB / 1.026 GB, free: 13.18 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Logical_Validation_Or3.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches