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.Or.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.Or,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|or1.u1|or1.u2|or1.y",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.425/1.425, allocations: 249.5 MB / 257 MB, free: 6.945 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.001424/0.001424, allocations: 179.8 kB / 316.3 MB, free: 3.25 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.495/1.495, 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.0008966/0.0008964, allocations: 98.41 kB / 0.6714 GB, free: 4.992 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.988e-05/1.989e-05, allocations: 12 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2391/0.2392, allocations: 106.3 MB / 0.8852 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8091/1.048, allocations: 131.6 MB / 1.014 GB, free: 6.152 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002387/1.049, allocations: 71.95 kB / 1.014 GB, free: 6.113 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002444/1.051, allocations: 0.9039 MB / 1.015 GB, free: 5.293 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.112e-06/1.051, allocations: 0 / 1.015 GB, free: 5.293 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.713e-06/1.051, allocations: 0 / 1.015 GB, free: 5.293 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004149/1.052, allocations: 345.4 kB / 1.015 GB, free: 4.914 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/1.052, allocations: 12.03 kB / 1.015 GB, free: 4.902 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.485e-05/1.052, allocations: 3.906 kB / 1.015 GB, free: 4.898 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001368/1.052, allocations: 175 kB / 1.015 GB, free: 4.688 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/1.052, allocations: 7.984 kB / 1.015 GB, free: 4.68 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.438e-05/1.052, allocations: 0 / 1.015 GB, free: 4.68 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.118e-05/1.052, allocations: 17.81 kB / 1.015 GB, free: 4.668 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.746e-05/1.052, allocations: 52.31 kB / 1.015 GB, free: 4.617 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/1.052, allocations: 0 / 1.015 GB, free: 4.617 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/1.052, allocations: 0 / 1.015 GB, free: 4.617 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/1.052, allocations: 0.75 kB / 1.015 GB, free: 4.617 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004111/1.052, allocations: 264.9 kB / 1.016 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.71e-05/1.053, allocations: 36.77 kB / 1.016 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.046e-05/1.053, allocations: 15.11 kB / 1.016 GB, free: 4.285 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.404e-05/1.053, allocations: 4 kB / 1.016 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001413/1.053, allocations: 71.48 kB / 1.016 GB, free: 4.207 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.745e-06/1.053, allocations: 4 kB / 1.016 GB, free: 4.203 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0001801/1.053, allocations: 63.36 kB / 1.016 GB, free: 4.145 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.859e-05/1.053, allocations: 59.34 kB / 1.016 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.66e-05/1.053, allocations: 111.3 kB / 1.016 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/1.053, allocations: 29.7 kB / 1.016 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.64e-05/1.053, allocations: 87.44 kB / 1.016 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.449e-05/1.053, allocations: 7.906 kB / 1.016 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.509e-06/1.053, allocations: 0 / 1.016 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000115/1.053, allocations: 326.2 kB / 1.016 GB, free: 3.516 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.568e-05/1.053, allocations: 11.5 kB / 1.016 GB, free: 3.508 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.089e-05/1.053, allocations: 32.95 kB / 1.016 GB, free: 3.473 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.683e-05/1.054, allocations: 11.83 kB / 1.016 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/1.054, allocations: 0 / 1.016 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001007/1.054, allocations: 75.95 kB / 1.016 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/1.054, allocations: 8.062 kB / 1.016 GB, free: 3.383 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/1.054, allocations: 3.984 kB / 1.017 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/1.054, allocations: 0 / 1.017 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.352e-05/1.054, allocations: 7.312 kB / 1.017 GB, free: 3.375 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/1.054, allocations: 4 kB / 1.017 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.45e-05/1.054, allocations: 11.98 kB / 1.017 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/1.054, allocations: 4 kB / 1.017 GB, free: 3.355 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,or1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.62e-05/1.054, allocations: 116.9 kB / 1.017 GB, free: 3.234 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.196e-05/1.054, allocations: 3.906 kB / 1.017 GB, free: 3.23 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.075e-05/1.054, allocations: 11.75 kB / 1.017 GB, free: 3.219 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/1.054, allocations: 0 / 1.017 GB, free: 3.219 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/1.054, allocations: 0 / 1.017 GB, free: 3.219 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/1.054, allocations: 11.8 kB / 1.017 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000112/1.054, allocations: 153.1 kB / 1.017 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/1.054, allocations: 0 / 1.017 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.336e-06/1.054, allocations: 4 kB / 1.017 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/1.054, allocations: 0.5625 kB / 1.017 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/1.054, allocations: 3.562 kB / 1.017 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/1.054, allocations: 4 kB / 1.017 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/1.054, allocations: 0 / 1.017 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001078/1.054, allocations: 92.89 kB / 1.017 GB, free: 2.922 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.597e-05/1.054, allocations: 85.06 kB / 1.017 GB, free: 2.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.583e-05/1.054, allocations: 0 / 1.017 GB, free: 2.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.651e-05/1.054, allocations: 15.86 kB / 1.017 GB, free: 2.809 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.495e-05/1.055, allocations: 19.92 kB / 1.017 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/1.055, allocations: 4.188 kB / 1.017 GB, free: 2.785 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.275e-05/1.055, allocations: 86.89 kB / 1.017 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.51e-07/1.055, allocations: 7.938 kB / 1.017 GB, free: 2.695 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001738/1.055, allocations: 8 kB / 1.017 GB, free: 2.688 MB / 0.6355 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 ($whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,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.0001271/1.055, allocations: 95.25 kB / 1.017 GB, free: 2.586 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001005/1.055, allocations: 37.62 kB / 1.017 GB, free: 2.559 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 9.778e-06/1.055, allocations: 7.375 kB / 1.017 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.978e-05/1.055, allocations: 23.3 kB / 1.017 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001896/1.055, allocations: 15.23 kB / 1.017 GB, free: 2.523 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002439/1.056, allocations: 90.45 kB / 1.017 GB, free: 2.414 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002645/1.056, allocations: 0.6885 MB / 1.018 GB, free: 1.699 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.337e-05/1.056, allocations: 11.86 kB / 1.018 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.761e-05/1.056, allocations: 10.69 kB / 1.018 GB, free: 1.684 MB / 0.6355 GB Notification: Performance of SimCode: time 2.3e-07/1.056, allocations: 7.938 kB / 1.018 GB, free: 1.676 MB / 0.6355 GB Notification: Performance of Templates: time 0.002604/1.058, allocations: 0.704 MB / 1.019 GB, free: 0.9883 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Logical_Validation_Or.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches