Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009759/0.0009759, allocations: 83.59 kB / 20.45 MB, free: 4.121 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 165 kB / 23.82 MB, free: 0.75 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.004/1.004, allocations: 177.1 MB / 204.2 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.994/1.994, allocations: 377.8 MB / 0.6236 GB, free: 8.547 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulAnd0.y|mulAnd1.u.[0-9,]+.|mulAnd1.y|mulAnd2.u.[0-9,]+.|mulAnd2.y|mulAnd5.u.[0-9,]+.|mulAnd5.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulAnd0.y|mulAnd1.u.[0-9,]+.|mulAnd1.y|mulAnd2.u.[0-9,]+.|mulAnd2.y|mulAnd5.u.[0-9,]+.|mulAnd5.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.105e-06/3.105e-06, allocations: 0 / 0.8116 GB, free: 0.5664 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.561e-05/2.871e-05, allocations: 3.562 kB / 0.8116 GB, free: 0.5625 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.001492/0.00152, allocations: 0.8418 MB / 0.8124 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001684/0.003204, allocations: 1.538 MB / 0.8139 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.999e-05/0.003264, allocations: 0.875 kB / 0.8139 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001152/0.003379, allocations: 15.8 kB / 0.8139 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 5.13e-05/0.00343, allocations: 40.44 kB / 0.8139 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008067/0.004237, allocations: 0.502 MB / 0.8144 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0003834/0.00462, allocations: 492 kB / 0.8149 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.004741, allocations: 25.67 kB / 0.8149 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001876/0.004929, allocations: 257.1 kB / 0.8152 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001656/0.005094, allocations: 139.7 kB / 0.8153 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 5.368e-05/0.005148, allocations: 43.94 kB / 0.8153 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 8.786e-05/0.005236, allocations: 61.72 kB / 0.8154 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 4.845e-05/0.005284, allocations: 39.89 kB / 0.8154 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001237/0.005408, allocations: 135.8 kB / 0.8156 GB, free: 12.47 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003108/0.005719, allocations: 355.1 kB / 0.8159 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.005721, allocations: 0 / 0.8159 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.333e-06/0.005723, allocations: 0.9062 kB / 0.8159 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.005728, allocations: 0 / 0.8159 GB, free: 12.12 MB / 0.7292 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.0005855/0.006313, allocations: 0.6718 MB / 0.8166 GB, free: 11.38 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.006348, allocations: 8.656 kB / 0.8166 GB, free: 11.38 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.366e-05/0.006432, allocations: 41.41 kB / 0.8166 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002455/0.006677, allocations: 208.2 kB / 0.8168 GB, free: 11.11 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.006698, allocations: 17.03 kB / 0.8168 GB, free: 11.09 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.385e-05/0.006742, allocations: 29.66 kB / 0.8168 GB, free: 11.06 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001772/0.006919, allocations: 128.5 kB / 0.817 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.00693, allocations: 192 / 0.817 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.006944, allocations: 4.375 kB / 0.817 GB, free: 10.92 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.006954, allocations: 6.938 kB / 0.817 GB, free: 10.92 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.405e-05/0.007018, allocations: 45.27 kB / 0.817 GB, free: 10.88 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006021/0.00762, allocations: 0.6543 MB / 0.8177 GB, free: 10.18 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001197/0.007739, allocations: 71.23 kB / 0.8177 GB, free: 10.1 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.486e-05/0.007784, allocations: 40.12 kB / 0.8178 GB, free: 10.05 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 7.254e-06/0.007791, allocations: 0.7188 kB / 0.8178 GB, free: 10.05 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001594/0.007951, allocations: 145.4 kB / 0.8179 GB, free: 9.898 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=20): time 1.203e-06/0.007952, allocations: 0 / 0.8179 GB, free: 9.898 MB / 0.7292 GB Notification: Performance of matching and sorting (n=20): time 0.0003159/0.008268, allocations: 211 kB / 0.8181 GB, free: 9.688 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.451e-05/0.008302, allocations: 59.39 kB / 0.8182 GB, free: 9.617 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001572/0.00846, allocations: 242.7 kB / 0.8184 GB, free: 9.363 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.268e-05/0.008512, allocations: 37.7 kB / 0.8184 GB, free: 9.32 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.877e-05/0.008601, allocations: 176 kB / 0.8186 GB, free: 9.141 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.933e-05/0.00863, allocations: 52.31 kB / 0.8187 GB, free: 9.09 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001321/0.008763, allocations: 123.3 kB / 0.8188 GB, free: 8.961 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.008894, allocations: 0.4969 MB / 0.8193 GB, free: 8.453 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002484/0.009142, allocations: 284.3 kB / 0.8195 GB, free: 8.145 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002801/0.009422, allocations: 401.9 kB / 0.8199 GB, free: 7.672 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000303/0.009725, allocations: 405.7 kB / 0.8203 GB, free: 7.199 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.009728, allocations: 0 / 0.8203 GB, free: 7.199 MB / 0.7292 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009454/0.01067, allocations: 0.7455 MB / 0.821 GB, free: 6.391 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.367e-05/0.01075, allocations: 166.5 kB / 0.8212 GB, free: 6.199 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.01075, allocations: 4 kB / 0.8212 GB, free: 6.195 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.01077, allocations: 4 kB / 0.8212 GB, free: 6.191 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.678e-05/0.0108, allocations: 8 kB / 0.8212 GB, free: 6.184 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.01081, allocations: 7.938 kB / 0.8212 GB, free: 6.176 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003192/0.01113, allocations: 118.2 kB / 0.8213 GB, free: 6.062 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.294e-05/0.01117, allocations: 31.98 kB / 0.8214 GB, free: 6.031 MB / 0.7292 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,booPul5.y,$PRE.booPul5.y,booPul4.y,$PRE.booPul4.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,mulAnd5.uTemp[4],mulAnd5.uTemp[3],mulAnd5.uTemp[2],mulAnd5.y,mulAnd2.y,mulAnd0.y) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001144/0.01128, allocations: 187.8 kB / 0.8215 GB, free: 5.84 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.507e-05/0.01131, allocations: 31.89 kB / 0.8216 GB, free: 5.809 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.297e-05/0.01134, allocations: 19.05 kB / 0.8216 GB, free: 5.785 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.01134, allocations: 4 kB / 0.8216 GB, free: 5.781 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.01135, allocations: 4.062 kB / 0.8216 GB, free: 5.777 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.01135, allocations: 5.031 kB / 0.8216 GB, free: 5.773 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003578/0.01171, allocations: 467.4 kB / 0.822 GB, free: 5.277 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.01171, allocations: 0 / 0.822 GB, free: 5.277 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.1e-05/0.01173, allocations: 8.641 kB / 0.822 GB, free: 5.27 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.01173, allocations: 0 / 0.822 GB, free: 5.27 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.01174, allocations: 8.719 kB / 0.8221 GB, free: 5.262 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.01174, allocations: 7.922 kB / 0.8221 GB, free: 5.254 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.01174, allocations: 3.875 kB / 0.8221 GB, free: 5.254 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001971/0.01194, allocations: 321.9 kB / 0.8224 GB, free: 4.922 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.3e-05/0.01195, allocations: 15.86 kB / 0.8224 GB, free: 4.906 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.01197, allocations: 0 / 0.8224 GB, free: 4.906 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.192e-05/0.01201, allocations: 15.92 kB / 0.8224 GB, free: 4.891 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.188e-05/0.01206, allocations: 15.97 kB / 0.8224 GB, free: 4.875 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.01207, allocations: 8 kB / 0.8224 GB, free: 4.867 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 6.19e-05/0.01213, allocations: 160.7 kB / 0.8226 GB, free: 4.711 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.01213, allocations: 0 / 0.8226 GB, free: 4.711 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000239/0.01237, allocations: 79.94 kB / 0.8227 GB, free: 4.633 MB / 0.7292 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001396/0.01251, allocations: 114 kB / 0.8228 GB, free: 4.516 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005453/0.01306, allocations: 0.6832 MB / 0.8234 GB, free: 3.738 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.01306, allocations: 0 / 0.8234 GB, free: 3.738 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.132e-05/0.01313, allocations: 68.61 kB / 0.8235 GB, free: 3.668 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002969/0.01343, allocations: 49.66 kB / 0.8235 GB, free: 3.621 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004313/0.01386, allocations: 308.8 kB / 0.8238 GB, free: 3.293 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.368e-05/0.0139, allocations: 72 kB / 0.8239 GB, free: 3.203 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.287e-05/0.01395, allocations: 21.47 kB / 0.8239 GB, free: 3.184 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.005e-05/0.01398, allocations: 24.5 kB / 0.8239 GB, free: 3.16 MB / 0.7292 GB Notification: Performance of SimCode: time 5.62e-07/0.01398, allocations: 0 / 0.8239 GB, free: 3.16 MB / 0.7292 GB Notification: Performance of Templates: time 0.006497/0.02047, allocations: 5.084 MB / 0.8289 GB, free: 14.21 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.4284370630048215]