Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.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.IntegerExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIntSig.u.1.|extIntSig.u.2.|extIntSig.u.3.|extIntSig.u.4.|extIntSig.y.1.|extIntSig.y.2.|extIntSig.y.3.|extIntSig1.y.1.|extIntSig1.y.2.|extIntSig1.y.3.|extIntSig1.y.4.|extIntSig1.y.5.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIntSig.u.1.|extIntSig.u.2.|extIntSig.u.3.|extIntSig.u.4.|extIntSig.y.1.|extIntSig.y.2.|extIntSig.y.3.|extIntSig1.y.1.|extIntSig1.y.2.|extIntSig1.y.3.|extIntSig1.y.4.|extIntSig1.y.5.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") [: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.764/1.764, allocations: 387.2 MB / 394.5 MB, free: 13.61 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.0009576/0.0009576, allocations: 177.3 kB / 487 MB, free: 5.305 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.127/1.127, allocations: 221.3 MB / 0.7819 GB, free: 1.312 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.0008245/0.0008245, allocations: 104.3 kB / 0.9213 GB, free: 2.574 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.584e-06/7.684e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2022/0.2022, allocations: 142.3 MB / 1.205 GB, free: 26.19 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4878/0.69, allocations: 149 MB / 1.351 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002101/0.6903, allocations: 71.56 kB / 1.351 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.01128/0.7016, allocations: 3.997 MB / 1.355 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.402e-05/0.7016, allocations: 2.75 kB / 1.355 GB, free: 15.61 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.000399/0.702, allocations: 491.4 kB / 1.355 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.7021, allocations: 12.89 kB / 1.355 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.496e-05/0.7022, allocations: 22.59 kB / 1.355 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004035/0.7026, allocations: 273 kB / 1.356 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.7026, allocations: 4 kB / 1.356 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.555e-05/0.7026, allocations: 14.38 kB / 1.356 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001258/0.7028, allocations: 55.45 kB / 1.356 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001777/0.703, allocations: 143.4 kB / 1.356 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.703, allocations: 4.844 kB / 1.356 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.703, allocations: 1.703 kB / 1.356 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.703, allocations: 2.438 kB / 1.356 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006601/0.7037, allocations: 0.7735 MB / 1.356 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.888e-05/0.7038, allocations: 59.97 kB / 1.357 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.393e-05/0.7038, allocations: 27.17 kB / 1.357 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 7.143e-06/0.7038, allocations: 1.031 kB / 1.357 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.194e-05/0.7039, allocations: 90.55 kB / 1.357 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=8): time 1.073e-06/0.7039, allocations: 0 / 1.357 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8): time 0.00019/0.7041, allocations: 95.94 kB / 1.357 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.021e-05/0.7041, allocations: 82.64 kB / 1.357 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001473/0.7043, allocations: 187.5 kB / 1.357 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.998e-05/0.7043, allocations: 29.23 kB / 1.357 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.803e-05/0.7044, allocations: 128.6 kB / 1.357 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.385e-05/0.7044, allocations: 8.203 kB / 1.357 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.105e-05/0.7044, allocations: 6.375 kB / 1.357 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.537e-05/0.7045, allocations: 330.6 kB / 1.357 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.7046, allocations: 67.05 kB / 1.358 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001606/0.7048, allocations: 137.5 kB / 1.358 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003233/0.7051, allocations: 97.27 kB / 1.358 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.7051, allocations: 1.031 kB / 1.358 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000553/0.7057, allocations: 236.8 kB / 1.358 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.638e-06/0.7057, allocations: 4.594 kB / 1.358 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.7057, allocations: 2.062 kB / 1.358 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.7057, allocations: 2.219 kB / 1.358 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.479e-05/0.7058, allocations: 6.859 kB / 1.358 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.7058, allocations: 6.344 kB / 1.358 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003848/0.7062, allocations: 86.8 kB / 1.358 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.282e-05/0.7062, allocations: 15.72 kB / 1.358 GB, free: 13.36 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition3,$whenCondition4,extIntSig.u[2],$PRE.intPul.booPul.y,intPul.booPul.y,$whenCondition1,$whenCondition2,extIntSig.u[3],$PRE.intPul1.booPul.y,intPul1.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 2 * 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 6.819e-05/0.7063, allocations: 117 kB / 1.358 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.961e-05/0.7063, allocations: 14.56 kB / 1.358 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.545e-05/0.7063, allocations: 16.92 kB / 1.358 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-06/0.7064, allocations: 1.406 kB / 1.358 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.7064, allocations: 0.9062 kB / 1.358 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.7064, allocations: 1.156 kB / 1.358 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000126/0.7065, allocations: 210.2 kB / 1.358 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.7065, allocations: 0 / 1.358 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.465e-05/0.7065, allocations: 4.562 kB / 1.358 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.7065, allocations: 2.594 kB / 1.358 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.245e-06/0.7066, allocations: 1.562 kB / 1.358 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.7066, allocations: 0.9062 kB / 1.358 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.7066, allocations: 0.8438 kB / 1.358 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001322/0.7067, allocations: 141.7 kB / 1.359 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.772e-05/0.7067, allocations: 94.88 kB / 1.359 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.243e-05/0.7068, allocations: 5.5 kB / 1.359 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.383e-05/0.7068, allocations: 0.625 kB / 1.359 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.404e-05/0.7068, allocations: 5.75 kB / 1.359 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.206e-06/0.7068, allocations: 8.141 kB / 1.359 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8.509e-05/0.7069, allocations: 143.8 kB / 1.359 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002575/0.7072, allocations: 49.97 kB / 1.359 GB, free: 12.77 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,extIntSig.u[2],intPul.booPul.y,$whenCondition1,$whenCondition2,extIntSig.u[3],intPul1.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001226/0.7073, allocations: 117.4 kB / 1.359 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.000276/0.7076, allocations: 180.4 kB / 1.359 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.7076, allocations: 0 / 1.359 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.657e-05/0.7077, allocations: 33.48 kB / 1.359 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000222/0.7079, allocations: 32.91 kB / 1.359 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003434/0.7083, allocations: 196 kB / 1.359 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002821/0.7086, allocations: 0.7538 MB / 1.36 GB, free: 27.77 MB / 0.823 GB Notification: Performance of SimCode: time 2.4e-07/0.7086, allocations: 0.7188 kB / 1.36 GB, free: 27.77 MB / 0.823 GB Notification: Performance of Templates: time 0.005115/0.7137, allocations: 2.461 MB / 1.363 GB, free: 27.56 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches