Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mulAnd0.y|mulAnd1.u.1.|mulAnd1.y|mulAnd2.u.1.|mulAnd2.u.2.|mulAnd2.y|mulAnd5.u.1.|mulAnd5.u.2.|mulAnd5.u.3.|mulAnd5.u.4.|mulAnd5.u.5.|mulAnd5.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mulAnd0.y|mulAnd1.u.1.|mulAnd1.y|mulAnd2.u.1.|mulAnd2.u.2.|mulAnd2.y|mulAnd5.u.1.|mulAnd5.u.2.|mulAnd5.u.3.|mulAnd5.u.4.|mulAnd5.u.5.|mulAnd5.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.392/2.392, allocations: 390.3 MB / 402.8 MB, free: 6.66 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009825/0.0009829, allocations: 188 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.582/1.582, allocations: 221.3 MB / 0.7915 GB, free: 5.375 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008868/0.000887, allocations: 110.5 kB / 0.9318 GB, free: 5.684 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.054e-05/3.057e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3264/0.3264, allocations: 143 MB / 1.219 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.11/1.436, allocations: 150.4 MB / 1.366 GB, free: 3.688 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002499/1.437, allocations: 70.97 kB / 1.366 GB, free: 3.652 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01939/1.456, allocations: 6.802 MB / 1.372 GB, free: 13.73 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.515e-06/1.456, allocations: 192 / 1.372 GB, free: 13.73 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.88e-05/1.456, allocations: 7.938 kB / 1.372 GB, free: 13.73 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.000705/1.457, allocations: 0.5577 MB / 1.373 GB, free: 13.11 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.614e-05/1.457, allocations: 8.031 kB / 1.373 GB, free: 13.11 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001062/1.457, allocations: 35.7 kB / 1.373 GB, free: 13.07 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003934/1.457, allocations: 252.7 kB / 1.373 GB, free: 12.8 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.385e-05/1.457, allocations: 18.56 kB / 1.373 GB, free: 12.79 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.216e-05/1.457, allocations: 31.31 kB / 1.373 GB, free: 12.77 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003125/1.458, allocations: 156.2 kB / 1.373 GB, free: 12.63 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/1.458, allocations: 0 / 1.373 GB, free: 12.63 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.046e-05/1.458, allocations: 3.312 kB / 1.373 GB, free: 12.63 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/1.458, allocations: 8 kB / 1.373 GB, free: 12.62 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001689/1.458, allocations: 80.09 kB / 1.373 GB, free: 12.57 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009628/1.459, allocations: 0.7097 MB / 1.374 GB, free: 11.92 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002331/1.459, allocations: 167.8 kB / 1.374 GB, free: 11.75 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.483e-05/1.459, allocations: 43.28 kB / 1.374 GB, free: 11.71 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.414e-05/1.459, allocations: 0 / 1.374 GB, free: 11.71 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002609/1.46, allocations: 161.2 kB / 1.374 GB, free: 11.57 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=20): time 2.014e-06/1.46, allocations: 0 / 1.374 GB, free: 11.57 MB / 0.8386 GB Notification: Performance of matching and sorting (n=20): time 0.0003918/1.46, allocations: 186.3 kB / 1.375 GB, free: 11.41 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.608e-05/1.46, allocations: 59.22 kB / 1.375 GB, free: 11.34 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000173/1.46, allocations: 166 kB / 1.375 GB, free: 11.19 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.006e-05/1.46, allocations: 40.33 kB / 1.375 GB, free: 11.15 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000124/1.461, allocations: 129.7 kB / 1.375 GB, free: 11.04 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.014e-05/1.461, allocations: 37.72 kB / 1.375 GB, free: 11 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.104e-05/1.461, allocations: 14.19 kB / 1.375 GB, free: 11 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001595/1.461, allocations: 333 kB / 1.375 GB, free: 10.67 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003086/1.461, allocations: 153.1 kB / 1.376 GB, free: 10.57 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003406/1.461, allocations: 232.2 kB / 1.376 GB, free: 10.36 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000376/1.462, allocations: 288.5 kB / 1.376 GB, free: 10.09 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/1.462, allocations: 4 kB / 1.376 GB, free: 10.08 MB / 0.8386 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009866/1.463, allocations: 0.5983 MB / 1.377 GB, free: 9.547 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001327/1.463, allocations: 163 kB / 1.377 GB, free: 9.367 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/1.463, allocations: 4 kB / 1.377 GB, free: 9.363 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/1.463, allocations: 4 kB / 1.377 GB, free: 9.359 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.647e-05/1.463, allocations: 15.83 kB / 1.377 GB, free: 9.348 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.305e-05/1.463, allocations: 7.938 kB / 1.377 GB, free: 9.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007338/1.464, allocations: 187.6 kB / 1.377 GB, free: 9.16 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.878e-05/1.464, allocations: 31.28 kB / 1.377 GB, free: 9.133 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulAnd2.y,mulAnd5.y,mulAnd5.uTemp[2],mulAnd5.uTemp[3],mulAnd5.uTemp[4],$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,$PRE.booPul3.y,booPul3.y,$PRE.booPul4.y,booPul4.y,$PRE.booPul5.y,booPul5.y,mulAnd0.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 5 * 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 0.0001422/1.464, allocations: 141.7 kB / 1.377 GB, free: 8.996 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.429e-05/1.464, allocations: 19.8 kB / 1.377 GB, free: 8.977 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.221e-05/1.464, allocations: 20.03 kB / 1.377 GB, free: 8.969 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/1.464, allocations: 0 / 1.377 GB, free: 8.969 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/1.464, allocations: 0 / 1.377 GB, free: 8.969 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/1.464, allocations: 0 / 1.377 GB, free: 8.969 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000543/1.465, allocations: 0.5085 MB / 1.378 GB, free: 8.469 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/1.465, allocations: 0 / 1.378 GB, free: 8.469 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.691e-05/1.465, allocations: 3.938 kB / 1.378 GB, free: 8.465 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/1.465, allocations: 8 kB / 1.378 GB, free: 8.457 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/1.465, allocations: 2.875 kB / 1.378 GB, free: 8.457 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/1.465, allocations: 4 kB / 1.378 GB, free: 8.453 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/1.465, allocations: 96 / 1.378 GB, free: 8.453 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003081/1.465, allocations: 284.4 kB / 1.378 GB, free: 8.191 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.342e-05/1.465, allocations: 88.92 kB / 1.378 GB, free: 8.086 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.755e-05/1.465, allocations: 11.61 kB / 1.378 GB, free: 8.078 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.035e-05/1.465, allocations: 3.812 kB / 1.378 GB, free: 8.078 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.33e-05/1.465, allocations: 23.66 kB / 1.378 GB, free: 8.059 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.325e-05/1.465, allocations: 8 kB / 1.378 GB, free: 8.051 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.686e-05/1.465, allocations: 119.4 kB / 1.378 GB, free: 7.945 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.465, allocations: 0 / 1.378 GB, free: 7.945 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003431/1.466, allocations: 86.67 kB / 1.378 GB, free: 7.867 MB / 0.8386 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 (mulAnd5.uTemp[2],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulAnd2.y,mulAnd5.y,mulAnd5.uTemp[3],mulAnd5.uTemp[4],booPul1.y,booPul2.y,booPul3.y,booPul4.y,booPul5.y) * 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.0002262/1.466, allocations: 118.7 kB / 1.378 GB, free: 7.746 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0007192/1.467, allocations: 0.6144 MB / 1.379 GB, free: 7.191 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/1.467, allocations: 0 / 1.379 GB, free: 7.191 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001025/1.467, allocations: 79.86 kB / 1.379 GB, free: 7.133 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003065/1.467, allocations: 35.81 kB / 1.379 GB, free: 7.105 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000419/1.468, allocations: 232.3 kB / 1.379 GB, free: 6.887 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003155/1.468, allocations: 0.7305 MB / 1.38 GB, free: 6.133 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 6.716e-05/1.468, allocations: 25.53 kB / 1.38 GB, free: 6.109 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.243e-05/1.468, allocations: 19.38 kB / 1.38 GB, free: 6.094 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/1.468, allocations: 8 kB / 1.38 GB, free: 6.086 MB / 0.8386 GB Notification: Performance of Templates: time 0.00757/1.476, allocations: 4.124 MB / 1.384 GB, free: 2.023 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches