Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.236/2.236, allocations: 387.1 MB / 399.7 MB, free: 9.508 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.000987/0.0009871, allocations: 172.5 kB / 492.3 MB, free: 0.6406 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.579/1.579, allocations: 221.3 MB / 0.7871 GB, free: 12.93 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.001053/0.001053, allocations: 91.88 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.422e-05/4.426e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3353/0.3354, allocations: 142.3 MB / 1.212 GB, free: 38.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.091/1.427, allocations: 149.6 MB / 1.358 GB, free: 19.15 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002286/1.427, allocations: 68.36 kB / 1.359 GB, free: 19.15 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01965/1.447, allocations: 6.803 MB / 1.365 GB, free: 34.48 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.403e-06/1.447, allocations: 0 / 1.365 GB, free: 34.48 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.792e-05/1.447, allocations: 3.844 kB / 1.365 GB, free: 34.48 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.0007097/1.447, allocations: 0.5596 MB / 1.366 GB, free: 33.95 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/1.447, allocations: 7.688 kB / 1.366 GB, free: 33.95 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001979/1.448, allocations: 41.94 kB / 1.366 GB, free: 33.93 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004065/1.448, allocations: 259 kB / 1.366 GB, free: 33.73 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.263e-05/1.448, allocations: 22.03 kB / 1.366 GB, free: 33.72 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001235/1.448, allocations: 32.5 kB / 1.366 GB, free: 33.72 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002626/1.449, allocations: 144.4 kB / 1.366 GB, free: 33.67 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/1.449, allocations: 0 / 1.366 GB, free: 33.67 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.957e-05/1.449, allocations: 10.05 kB / 1.366 GB, free: 33.67 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/1.449, allocations: 0 / 1.366 GB, free: 33.67 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001479/1.449, allocations: 88.55 kB / 1.366 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008636/1.45, allocations: 0.6959 MB / 1.367 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001701/1.45, allocations: 175.8 kB / 1.367 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.217e-05/1.45, allocations: 42.23 kB / 1.367 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.293e-05/1.45, allocations: 0 / 1.367 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001936/1.45, allocations: 151.7 kB / 1.367 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=20): time 1.433e-06/1.45, allocations: 4 kB / 1.367 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of matching and sorting (n=20): time 0.0003303/1.45, allocations: 194.8 kB / 1.368 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.895e-05/1.45, allocations: 55.28 kB / 1.368 GB, free: 33 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/1.451, allocations: 166.3 kB / 1.368 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.499e-05/1.451, allocations: 43.83 kB / 1.368 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.286e-05/1.451, allocations: 131.6 kB / 1.368 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.048e-05/1.451, allocations: 45.06 kB / 1.368 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.946e-05/1.451, allocations: 15.38 kB / 1.368 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001067/1.451, allocations: 330 kB / 1.368 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002808/1.451, allocations: 150.6 kB / 1.368 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002884/1.452, allocations: 226.9 kB / 1.369 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002874/1.452, allocations: 293.8 kB / 1.369 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/1.452, allocations: 0 / 1.369 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008506/1.453, allocations: 0.5998 MB / 1.37 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.139e-05/1.453, allocations: 163.6 kB / 1.37 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.006e-06/1.453, allocations: 3.188 kB / 1.37 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/1.453, allocations: 7.656 kB / 1.37 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.105e-05/1.453, allocations: 7.656 kB / 1.37 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/1.453, allocations: 3.844 kB / 1.37 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007547/1.454, allocations: 194.8 kB / 1.37 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.291e-05/1.454, allocations: 32.45 kB / 1.37 GB, free: 31.76 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.0001332/1.454, allocations: 135.3 kB / 1.37 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.415e-05/1.454, allocations: 15.47 kB / 1.37 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.396e-05/1.454, allocations: 25.92 kB / 1.37 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/1.454, allocations: 3.781 kB / 1.37 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/1.454, allocations: 0 / 1.37 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/1.454, allocations: 0 / 1.37 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004472/1.454, allocations: 0.5043 MB / 1.371 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/1.454, allocations: 0 / 1.371 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.017e-05/1.454, allocations: 6.953 kB / 1.371 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/1.454, allocations: 0 / 1.371 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/1.455, allocations: 11.53 kB / 1.371 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/1.455, allocations: 4 kB / 1.371 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/1.455, allocations: 0 / 1.371 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002398/1.455, allocations: 281.6 kB / 1.371 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.542e-05/1.455, allocations: 88.73 kB / 1.371 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.451e-05/1.455, allocations: 7.188 kB / 1.371 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.462e-05/1.455, allocations: 10.3 kB / 1.371 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.218e-05/1.455, allocations: 21.44 kB / 1.371 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/1.455, allocations: 9.891 kB / 1.371 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.807e-05/1.455, allocations: 119.8 kB / 1.371 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.455, allocations: 0 / 1.371 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003568/1.455, allocations: 86.64 kB / 1.371 GB, free: 30.98 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.0001886/1.456, allocations: 119.2 kB / 1.371 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0006453/1.456, allocations: 0.6122 MB / 1.372 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/1.456, allocations: 4.062 kB / 1.372 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.738e-05/1.456, allocations: 69.94 kB / 1.372 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003169/1.457, allocations: 44.47 kB / 1.372 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004231/1.457, allocations: 220.5 kB / 1.372 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003456/1.458, allocations: 0.7372 MB / 1.373 GB, free: 29.74 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.945e-05/1.458, allocations: 19.59 kB / 1.373 GB, free: 29.74 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.374e-05/1.458, allocations: 25.92 kB / 1.373 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of SimCode: time 4.41e-07/1.458, allocations: 0 / 1.373 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of Templates: time 0.007359/1.465, allocations: 4.123 MB / 1.377 GB, free: 29.39 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches