Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.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.Routing.Validation.IntegerExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIndInt.u.1.|extIndInt.u.2.|extIndInt.u.3.|extIndInt.u.4.|extIndInt.index|extIndInt.y|extIndInt1.index|extIndInt1.y|extIndInt2.index|extIndInt2.y|extIndInt3.index|extIndInt3.y|extIndInt4.index|extIndInt4.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIndInt.u.1.|extIndInt.u.2.|extIndInt.u.3.|extIndInt.u.4.|extIndInt.index|extIndInt.y|extIndInt1.index|extIndInt1.y|extIndInt2.index|extIndInt2.y|extIndInt3.index|extIndInt3.y|extIndInt4.index|extIndInt4.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 1.759/1.759, allocations: 387.2 MB / 394.5 MB, free: 13.69 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.0009298/0.0009299, allocations: 180.2 kB / 487 MB, free: 5.367 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.138/1.138, allocations: 221.3 MB / 0.7819 GB, free: 1.406 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007915/0.0007915, allocations: 104.1 kB / 0.9213 GB, free: 2.652 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 4.108e-06/4.118e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1945/0.1945, allocations: 142.3 MB / 1.205 GB, free: 26.21 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5458/0.7403, allocations: 149.2 MB / 1.351 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001405/0.7405, allocations: 72.92 kB / 1.351 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.01939/0.7599, allocations: 7.121 MB / 1.358 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.924e-05/0.7599, allocations: 5.688 kB / 1.358 GB, free: 15.45 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0005661/0.7605, allocations: 0.6239 MB / 1.359 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.7606, allocations: 8.781 kB / 1.359 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001115/0.7607, allocations: 42.86 kB / 1.359 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000553/0.7612, allocations: 358.6 kB / 1.359 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.542e-05/0.7613, allocations: 8.219 kB / 1.359 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.385e-05/0.7614, allocations: 30.09 kB / 1.359 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003098/0.7617, allocations: 156.5 kB / 1.359 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000358/0.762, allocations: 229.6 kB / 1.359 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.7621, allocations: 0 / 1.359 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.232e-05/0.7621, allocations: 1.484 kB / 1.359 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/0.7621, allocations: 10.36 kB / 1.359 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001257/0.7634, allocations: 0.8865 MB / 1.36 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003142/0.7637, allocations: 226.7 kB / 1.36 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004486/0.7642, allocations: 275.8 kB / 1.361 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.039e-05/0.7642, allocations: 4.688 kB / 1.361 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003836/0.7646, allocations: 273.4 kB / 1.361 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=39): time 1.482e-06/0.7646, allocations: 0 / 1.361 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of matching and sorting (n=39): time 0.0005434/0.7651, allocations: 378.8 kB / 1.361 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.952e-05/0.7652, allocations: 140.7 kB / 1.361 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001963/0.7654, allocations: 240.7 kB / 1.362 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 5.064e-05/0.7654, allocations: 34.27 kB / 1.362 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 7.361e-05/0.7655, allocations: 134.1 kB / 1.362 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.051e-05/0.7656, allocations: 82.7 kB / 1.362 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.758e-05/0.7656, allocations: 4 kB / 1.362 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.792e-05/0.7657, allocations: 343.4 kB / 1.362 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003229/0.766, allocations: 221.9 kB / 1.362 GB, free: 12.9 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003371/0.7664, allocations: 318.4 kB / 1.363 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006886/0.7671, allocations: 274.2 kB / 1.363 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.7671, allocations: 0 / 1.363 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001199/0.7683, allocations: 0.6582 MB / 1.364 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.7683, allocations: 4 kB / 1.364 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.7683, allocations: 0 / 1.364 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.7683, allocations: 4.562 kB / 1.364 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001741/0.7685, allocations: 54.31 kB / 1.364 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.7685, allocations: 4.797 kB / 1.364 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006891/0.7692, allocations: 180.2 kB / 1.364 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001342/0.7694, allocations: 69.53 kB / 1.364 GB, free: 11.84 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 43 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,extIndInt.u[1],extIndInt.u[2],extIndInt.u[3],extIndInt.u[4],extIndInt.y,extIndInt1.u[1],extIndInt1.u[2],extIndInt1.u[3],extIndInt1.u[4],extIndInt1.y,extIndInt2.u[1],extIndInt2.u[2],extIndInt2.u[3],extIndInt2.u[4],extIndInt2.y,extIndInt3.index,extIndInt3.u[1],extIndInt3.u[2],extIndInt3.u[3],extIndInt3.u[4],extIndInt3.y,extIndInt4.index,extIndInt4.u[1],extIndInt4.u[2],extIndInt4.u[3],extIndInt4.u[4],extIndInt4.y,$PRE.intPul.booPul.y,intPul.booPul.y,$PRE.intPul1.booPul.y,intPul1.booPul.y,$PRE.intPul2.booPul.y,intPul2.booPul.y,$PRE.intPul3.booPul.y,intPul3.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 4 * 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.000125/0.7695, allocations: 142.3 kB / 1.364 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.824e-05/0.7695, allocations: 32.42 kB / 1.364 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005366/0.7701, allocations: 424.2 kB / 1.365 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.7701, allocations: 4 kB / 1.365 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.7701, allocations: 0.5156 kB / 1.365 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.295e-06/0.7701, allocations: 9.797 kB / 1.365 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007159/0.7708, allocations: 0.7767 MB / 1.365 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.7708, allocations: 0 / 1.365 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001605/0.771, allocations: 54.41 kB / 1.365 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.771, allocations: 0.6094 kB / 1.365 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.727e-05/0.771, allocations: 8.469 kB / 1.365 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.7711, allocations: 0.5156 kB / 1.365 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.7711, allocations: 0 / 1.365 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003943/0.7715, allocations: 487.7 kB / 1.366 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.615e-05/0.7715, allocations: 111.7 kB / 1.366 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.469e-05/0.7716, allocations: 7.984 kB / 1.366 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001282/0.7717, allocations: 3.906 kB / 1.366 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.81e-05/0.7718, allocations: 31.2 kB / 1.366 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-05/0.7718, allocations: 8 kB / 1.366 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0001181/0.7719, allocations: 187.1 kB / 1.366 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003441/0.7722, allocations: 87.94 kB / 1.366 GB, free: 9.969 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: 43 ($cse1,$cse2,$cse3,$cse4,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,extIndInt.u[1],extIndInt.u[2],extIndInt.u[3],extIndInt.u[4],extIndInt.y,extIndInt1.u[1],extIndInt1.u[2],extIndInt1.u[3],extIndInt1.u[4],extIndInt1.y,extIndInt2.u[1],extIndInt2.u[2],extIndInt2.u[3],extIndInt2.u[4],extIndInt2.y,extIndInt3.index,extIndInt3.u[1],extIndInt3.u[2],extIndInt3.u[3],extIndInt3.u[4],extIndInt3.y,extIndInt4.index,extIndInt4.u[1],extIndInt4.u[2],extIndInt4.u[3],extIndInt4.u[4],extIndInt4.y,intPul.booPul.y,intPul1.booPul.y,intPul2.booPul.y,intPul3.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001581/0.7724, allocations: 137.4 kB / 1.366 GB, free: 9.828 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0006357/0.7731, allocations: 0.5682 MB / 1.367 GB, free: 9.379 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.7731, allocations: 0 / 1.367 GB, free: 9.379 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001752/0.7732, allocations: 197.4 kB / 1.367 GB, free: 9.234 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003669/0.7736, allocations: 58.41 kB / 1.367 GB, free: 9.188 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006836/0.7743, allocations: 498.3 kB / 1.368 GB, free: 8.75 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002297/0.7746, allocations: 0.8352 MB / 1.368 GB, free: 7.895 MB / 0.8073 GB Notification: Performance of SimCode: time 2.1e-07/0.7746, allocations: 0 / 1.368 GB, free: 7.895 MB / 0.8073 GB Notification: Performance of Templates: time 0.008084/0.7826, allocations: 5.473 MB / 1.374 GB, free: 2.5 MB / 0.8073 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches