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.And3.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.And3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|and1.u1|and1.u2|and1.u3|and1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|and1.u1|and1.u2|and1.u3|and1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.427/1.427, allocations: 249.5 MB / 257 MB, free: 6.914 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.001001/0.001001, allocations: 165 kB / 316.3 MB, free: 3.312 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.466/1.466, allocations: 205.3 MB / 0.5671 GB, free: 15.91 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.00093/0.00093, allocations: 88.5 kB / 0.6714 GB, free: 5.031 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.952e-05/1.95e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2224/0.2225, allocations: 106.3 MB / 0.8852 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7836/1.006, allocations: 131.7 MB / 1.014 GB, free: 6.109 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002252/1.006, allocations: 62.47 kB / 1.014 GB, free: 6.078 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00314/1.01, allocations: 1.165 MB / 1.015 GB, free: 5.031 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.553e-06/1.01, allocations: 0 / 1.015 GB, free: 5.031 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.694e-06/1.01, allocations: 0 / 1.015 GB, free: 5.031 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.0004897/1.01, allocations: 390 kB / 1.015 GB, free: 4.609 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/1.01, allocations: 8.031 kB / 1.015 GB, free: 4.602 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.861e-05/1.01, allocations: 4.75 kB / 1.015 GB, free: 4.598 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001633/1.01, allocations: 182.8 kB / 1.016 GB, free: 4.383 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/1.01, allocations: 0 / 1.016 GB, free: 4.383 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.413e-05/1.01, allocations: 4 kB / 1.016 GB, free: 4.379 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001042/1.011, allocations: 27.55 kB / 1.016 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001069/1.011, allocations: 64.38 kB / 1.016 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/1.011, allocations: 0 / 1.016 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/1.011, allocations: 0 / 1.016 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/1.011, allocations: 0 / 1.016 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005955/1.011, allocations: 323.9 kB / 1.016 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.077e-05/1.011, allocations: 46.11 kB / 1.016 GB, free: 3.922 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.64e-05/1.011, allocations: 19.5 kB / 1.016 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.332e-05/1.011, allocations: 4 kB / 1.016 GB, free: 3.902 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001279/1.012, allocations: 90.52 kB / 1.016 GB, free: 3.812 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 1.432e-06/1.012, allocations: 0 / 1.016 GB, free: 3.812 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0001905/1.012, allocations: 81.06 kB / 1.016 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/1.012, allocations: 55.39 kB / 1.016 GB, free: 3.672 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.573e-05/1.012, allocations: 118.5 kB / 1.016 GB, free: 3.559 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/1.012, allocations: 29.52 kB / 1.016 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.502e-05/1.012, allocations: 87.83 kB / 1.016 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.116e-05/1.012, allocations: 23.66 kB / 1.017 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.45e-06/1.012, allocations: 0 / 1.017 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001079/1.012, allocations: 326.7 kB / 1.017 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.06e-05/1.012, allocations: 15.62 kB / 1.017 GB, free: 3.09 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.198e-05/1.012, allocations: 46.94 kB / 1.017 GB, free: 3.039 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.348e-05/1.012, allocations: 19.86 kB / 1.017 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/1.012, allocations: 0 / 1.017 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001232/1.012, allocations: 88.94 kB / 1.017 GB, free: 2.941 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/1.012, allocations: 4 kB / 1.017 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/1.012, allocations: 4 kB / 1.017 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/1.013, allocations: 0 / 1.017 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.912e-05/1.013, allocations: 15.92 kB / 1.017 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/1.013, allocations: 0 / 1.017 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000116/1.013, allocations: 28.02 kB / 1.017 GB, free: 2.891 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/1.013, allocations: 7.984 kB / 1.017 GB, free: 2.883 MB / 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,$PRE.booPul1.pulseStart,booPul1.pulseStart,$PRE.booPul2.pulseStart,booPul2.pulseStart,and1.u1,and1.u2,and1.u3,and1.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.057e-05/1.013, allocations: 123.1 kB / 1.017 GB, free: 2.762 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.403e-05/1.013, allocations: 3.906 kB / 1.017 GB, free: 2.758 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.543e-05/1.013, allocations: 16.5 kB / 1.017 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/1.013, allocations: 0 / 1.017 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/1.013, allocations: 0 / 1.017 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/1.013, allocations: 4 kB / 1.017 GB, free: 2.738 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001492/1.013, allocations: 173.8 kB / 1.017 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/1.013, allocations: 0 / 1.017 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.068e-05/1.013, allocations: 0 / 1.017 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/1.013, allocations: 2.312 kB / 1.017 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/1.013, allocations: 4 kB / 1.017 GB, free: 2.539 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/1.013, allocations: 0 / 1.017 GB, free: 2.539 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/1.013, allocations: 0 / 1.017 GB, free: 2.539 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001489/1.013, allocations: 115.8 kB / 1.017 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.71e-05/1.013, allocations: 89.02 kB / 1.018 GB, free: 2.316 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/1.013, allocations: 0 / 1.018 GB, free: 2.316 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/1.014, allocations: 23.97 kB / 1.018 GB, free: 2.293 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.759e-05/1.014, allocations: 11.97 kB / 1.018 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/1.014, allocations: 7.562 kB / 1.018 GB, free: 2.277 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.479e-05/1.014, allocations: 91.09 kB / 1.018 GB, free: 2.191 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.5e-07/1.014, allocations: 0 / 1.018 GB, free: 2.191 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001908/1.014, allocations: 16 kB / 1.018 GB, free: 2.176 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: 10 ($whenCondition3,$whenCondition2,$whenCondition1,booPul1.pulseStart,booPul2.pulseStart,and1.u1,and1.u2,and1.u3,and1.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.0001676/1.014, allocations: 108.5 kB / 1.018 GB, free: 2.066 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001359/1.014, allocations: 59.75 kB / 1.018 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/1.014, allocations: 0 / 1.018 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.105e-05/1.014, allocations: 31.62 kB / 1.018 GB, free: 2 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002252/1.015, allocations: 20.12 kB / 1.018 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003027/1.015, allocations: 115.3 kB / 1.018 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003181/1.015, allocations: 0.6963 MB / 1.019 GB, free: 1.137 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.755e-05/1.015, allocations: 8.5 kB / 1.019 GB, free: 1.125 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.67e-05/1.015, allocations: 15.44 kB / 1.019 GB, free: 1.109 MB / 0.6355 GB Notification: Performance of SimCode: time 2.3e-07/1.015, allocations: 0 / 1.019 GB, free: 1.109 MB / 0.6355 GB Notification: Performance of Templates: time 0.003287/1.019, allocations: 0.9937 MB / 1.02 GB, free: 140 kB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Logical_Validation_And3.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches