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/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.0008502/0.0008502, allocations: 80.81 kB / 19.94 MB, free: 4.543 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.001337/0.001337, allocations: 177 kB / 23.36 MB, free: 1.129 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 0.949/0.949, allocations: 177.2 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.4/2.4, allocations: 438.8 MB / 0.6827 GB, free: 13.6 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 8.81e-07/8.81e-07, allocations: 0 / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.458e-06/1.034e-05, allocations: 4.703 kB / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.001161/0.001171, allocations: 0.8274 MB / 0.8394 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001311/0.002482, allocations: 1.536 MB / 0.8409 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.023e-05/0.002532, allocations: 7.938 kB / 0.8409 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 7.891e-05/0.002611, allocations: 19.8 kB / 0.8409 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 4.94e-05/0.002661, allocations: 31.72 kB / 0.841 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.000741/0.003402, allocations: 0.5067 MB / 0.8415 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0004225/0.003824, allocations: 479.1 kB / 0.8419 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 8.293e-05/0.003907, allocations: 26.33 kB / 0.8419 GB, free: 10.76 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002161/0.004123, allocations: 263.7 kB / 0.8422 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001592/0.004282, allocations: 139.7 kB / 0.8423 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 4.311e-05/0.004326, allocations: 44 kB / 0.8424 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 7.254e-05/0.004398, allocations: 55.92 kB / 0.8424 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.751e-05/0.004436, allocations: 39.89 kB / 0.8425 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 9.723e-05/0.004533, allocations: 139.8 kB / 0.8426 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002488/0.004782, allocations: 355.1 kB / 0.8429 GB, free: 9.742 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.423e-06/0.004783, allocations: 0 / 0.8429 GB, free: 9.742 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.11e-07/0.004784, allocations: 0 / 0.8429 GB, free: 9.742 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.485e-06/0.004786, allocations: 0 / 0.8429 GB, free: 9.742 MB / 0.8073 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.0004335/0.00522, allocations: 0.5473 MB / 0.8435 GB, free: 9.137 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.779e-05/0.005248, allocations: 12.62 kB / 0.8435 GB, free: 9.125 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.887e-05/0.005306, allocations: 36.89 kB / 0.8435 GB, free: 9.09 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001793/0.005486, allocations: 173.5 kB / 0.8437 GB, free: 8.895 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.727e-05/0.005503, allocations: 16.38 kB / 0.8437 GB, free: 8.879 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.025e-05/0.005543, allocations: 32.36 kB / 0.8437 GB, free: 8.848 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000112/0.005655, allocations: 111.3 kB / 0.8438 GB, free: 8.73 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.005662, allocations: 192 / 0.8438 GB, free: 8.73 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.005673, allocations: 8.359 kB / 0.8438 GB, free: 8.723 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.005679, allocations: 4.375 kB / 0.8438 GB, free: 8.719 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.598e-05/0.005715, allocations: 36.52 kB / 0.8439 GB, free: 8.684 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004091/0.006124, allocations: 395.2 kB / 0.8443 GB, free: 8.277 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.7e-05/0.006201, allocations: 58.55 kB / 0.8443 GB, free: 8.211 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.332e-05/0.006225, allocations: 24.84 kB / 0.8443 GB, free: 8.184 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 5.22e-06/0.00623, allocations: 0 / 0.8443 GB, free: 8.184 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001082/0.006338, allocations: 139.3 kB / 0.8445 GB, free: 8.035 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=20): time 1.232e-06/0.006339, allocations: 0 / 0.8445 GB, free: 8.035 MB / 0.8073 GB Notification: Performance of matching and sorting (n=20): time 0.0001678/0.006507, allocations: 143.5 kB / 0.8446 GB, free: 7.891 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.787e-05/0.006535, allocations: 59.41 kB / 0.8447 GB, free: 7.82 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.46e-05/0.00662, allocations: 187.4 kB / 0.8448 GB, free: 7.625 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.415e-05/0.006654, allocations: 37.7 kB / 0.8449 GB, free: 7.582 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.319e-05/0.006707, allocations: 124.5 kB / 0.845 GB, free: 7.457 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.387e-05/0.006731, allocations: 47.67 kB / 0.845 GB, free: 7.41 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.006831, allocations: 97.59 kB / 0.8451 GB, free: 7.309 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.25e-05/0.006904, allocations: 338.7 kB / 0.8455 GB, free: 6.969 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001792/0.007083, allocations: 236.4 kB / 0.8457 GB, free: 6.707 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002028/0.007286, allocations: 331.5 kB / 0.846 GB, free: 6.316 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002056/0.007491, allocations: 365.3 kB / 0.8463 GB, free: 5.891 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.007493, allocations: 0 / 0.8463 GB, free: 5.891 MB / 0.8073 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003893/0.007882, allocations: 0.5981 MB / 0.8469 GB, free: 5.227 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 5.981e-05/0.007942, allocations: 164.5 kB / 0.8471 GB, free: 5.035 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.007947, allocations: 3.984 kB / 0.8471 GB, free: 5.031 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.007959, allocations: 4 kB / 0.8471 GB, free: 5.027 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.893e-05/0.007978, allocations: 15.92 kB / 0.8471 GB, free: 5.012 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.007983, allocations: 4 kB / 0.8471 GB, free: 5.008 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002612/0.008244, allocations: 104.1 kB / 0.8472 GB, free: 4.906 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.309e-05/0.008277, allocations: 27.97 kB / 0.8472 GB, free: 4.879 MB / 0.8073 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.0001017/0.008379, allocations: 150 kB / 0.8474 GB, free: 4.719 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.816e-05/0.008397, allocations: 23.97 kB / 0.8474 GB, free: 4.695 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.432e-05/0.008422, allocations: 17.81 kB / 0.8474 GB, free: 4.676 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.008425, allocations: 4 kB / 0.8474 GB, free: 4.672 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.008427, allocations: 0 / 0.8474 GB, free: 4.672 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.00843, allocations: 0 / 0.8474 GB, free: 4.672 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000256/0.008686, allocations: 351.8 kB / 0.8478 GB, free: 4.305 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.008687, allocations: 0 / 0.8478 GB, free: 4.305 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.263e-06/0.008694, allocations: 0 / 0.8478 GB, free: 4.305 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.008697, allocations: 4 kB / 0.8478 GB, free: 4.301 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.008705, allocations: 7.984 kB / 0.8478 GB, free: 4.293 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.008705, allocations: 3.938 kB / 0.8478 GB, free: 4.289 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.008706, allocations: 4 kB / 0.8478 GB, free: 4.285 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001096/0.008816, allocations: 209.9 kB / 0.848 GB, free: 4.066 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.175e-05/0.008828, allocations: 15.89 kB / 0.848 GB, free: 4.051 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.344e-05/0.008841, allocations: 4 kB / 0.848 GB, free: 4.047 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.584e-05/0.008877, allocations: 4 kB / 0.848 GB, free: 4.043 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.35e-05/0.00891, allocations: 18.8 kB / 0.848 GB, free: 4.023 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.008917, allocations: 7.984 kB / 0.848 GB, free: 4.016 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.923e-05/0.008946, allocations: 50.27 kB / 0.8481 GB, free: 3.965 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.008946, allocations: 0 / 0.8481 GB, free: 3.965 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002057/0.009152, allocations: 87.88 kB / 0.8482 GB, free: 3.879 MB / 0.8073 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 8.884e-05/0.00924, allocations: 97.53 kB / 0.8483 GB, free: 3.777 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003419/0.009582, allocations: 0.631 MB / 0.8489 GB, free: 3.051 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.009585, allocations: 0 / 0.8489 GB, free: 3.051 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.397e-05/0.009629, allocations: 56.75 kB / 0.8489 GB, free: 2.992 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001776/0.009807, allocations: 56.58 kB / 0.849 GB, free: 2.938 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003046/0.01011, allocations: 296.6 kB / 0.8493 GB, free: 2.617 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.699e-05/0.01015, allocations: 71.98 kB / 0.8493 GB, free: 2.527 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.131e-05/0.01018, allocations: 21.48 kB / 0.8494 GB, free: 2.508 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001812/0.01036, allocations: 131.3 kB / 0.8495 GB, free: 2.379 MB / 0.8073 GB Notification: Performance of SimCode: time 1.103e-06/0.01036, allocations: 4 kB / 0.8495 GB, free: 2.375 MB / 0.8073 GB Notification: Performance of Templates: time 0.005543/0.0159, allocations: 5.483 MB / 0.8548 GB, free: 13.02 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1) [Timeout 240] 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","",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.390658957418054]