Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_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 10.0.0-master/package.mo): time 1.699/1.699, allocations: 390.4 MB / 397.7 MB, free: 1.859 MB / 307 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009315/0.0009315, allocations: 183 kB / 490.8 MB, free: 7.48 MB / 403 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.059/1.059, allocations: 221.3 MB / 0.7863 GB, free: 256 kB / 0.5498 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00082/0.0008201, allocations: 92.66 kB / 0.9264 GB, free: 0.6406 MB / 0.6904 GB Notification: Performance of FrontEnd - loaded program: time 5.901e-06/5.921e-06, allocations: 4 kB / 1.072 GB, free: 137.5 MB / 0.7217 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.1692, allocations: 143 MB / 1.212 GB, free: 10.58 MB / 0.7373 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.452/0.6212, allocations: 149.8 MB / 1.358 GB, free: 12.24 MB / 0.8311 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00017/0.6214, allocations: 71.97 kB / 1.358 GB, free: 12.17 MB / 0.8311 GB Notification: Performance of FrontEnd: time 0.01095/0.6324, allocations: 4 MB / 1.362 GB, free: 8.188 MB / 0.8311 GB Notification: Performance of Transformations before backend: time 1.196e-05/0.6324, allocations: 4 kB / 1.362 GB, free: 8.184 MB / 0.8311 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.0004411/0.6329, allocations: 485.6 kB / 1.362 GB, free: 7.648 MB / 0.8311 GB Notification: Performance of prepare preOptimizeDAE: time 2.833e-05/0.6329, allocations: 8.031 kB / 1.362 GB, free: 7.641 MB / 0.8311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.63e-05/0.633, allocations: 35.72 kB / 1.362 GB, free: 7.605 MB / 0.8311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004042/0.6334, allocations: 286.3 kB / 1.363 GB, free: 7.285 MB / 0.8311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.6334, allocations: 4 kB / 1.363 GB, free: 7.281 MB / 0.8311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.174e-05/0.6334, allocations: 12 kB / 1.363 GB, free: 7.27 MB / 0.8311 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001181/0.6336, allocations: 63.92 kB / 1.363 GB, free: 7.207 MB / 0.8311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001752/0.6337, allocations: 130.8 kB / 1.363 GB, free: 7.062 MB / 0.8311 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.904e-06/0.6338, allocations: 0 / 1.363 GB, free: 7.062 MB / 0.8311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.6338, allocations: 11.89 kB / 1.363 GB, free: 7.051 MB / 0.8311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.6338, allocations: 4 kB / 1.363 GB, free: 7.047 MB / 0.8311 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007449/0.6345, allocations: 0.7707 MB / 1.364 GB, free: 6.227 MB / 0.8311 GB Notification: Performance of preOpt comSubExp (simulation): time 7.688e-05/0.6346, allocations: 57.16 kB / 1.364 GB, free: 6.152 MB / 0.8311 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.491e-05/0.6347, allocations: 25.78 kB / 1.364 GB, free: 6.121 MB / 0.8311 GB Notification: Performance of preOpt evalFunc (simulation): time 8.546e-06/0.6347, allocations: 0 / 1.364 GB, free: 6.121 MB / 0.8311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.158e-05/0.6348, allocations: 85.11 kB / 1.364 GB, free: 6.02 MB / 0.8311 GB Notification: Performance of pre-optimization done (n=8): time 1.032e-06/0.6348, allocations: 0 / 1.364 GB, free: 6.02 MB / 0.8311 GB Notification: Performance of matching and sorting (n=8): time 0.000202/0.635, allocations: 101.4 kB / 1.364 GB, free: 5.914 MB / 0.8311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.304e-05/0.635, allocations: 77.11 kB / 1.364 GB, free: 5.82 MB / 0.8311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000156/0.6352, allocations: 181.8 kB / 1.364 GB, free: 5.633 MB / 0.8311 GB Notification: Performance of collectPreVariables (initialization): time 3.349e-05/0.6352, allocations: 33.7 kB / 1.364 GB, free: 5.594 MB / 0.8311 GB Notification: Performance of collectInitialEqns (initialization): time 7.428e-05/0.6353, allocations: 124.2 kB / 1.364 GB, free: 5.469 MB / 0.8311 GB Notification: Performance of collectInitialBindings (initialization): time 1.377e-05/0.6353, allocations: 15.75 kB / 1.364 GB, free: 5.453 MB / 0.8311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.913e-05/0.6354, allocations: 4 kB / 1.364 GB, free: 5.449 MB / 0.8311 GB Notification: Performance of setup shared object (initialization): time 9.033e-05/0.6355, allocations: 330.7 kB / 1.365 GB, free: 5.117 MB / 0.8311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.6356, allocations: 63.98 kB / 1.365 GB, free: 5.055 MB / 0.8311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001631/0.6358, allocations: 143.5 kB / 1.365 GB, free: 4.891 MB / 0.8311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003114/0.6361, allocations: 83.91 kB / 1.365 GB, free: 4.809 MB / 0.8311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.6361, allocations: 0 / 1.365 GB, free: 4.809 MB / 0.8311 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005433/0.6366, allocations: 245.3 kB / 1.365 GB, free: 4.562 MB / 0.8311 GB Notification: Performance of prepare postOptimizeDAE: time 9.658e-06/0.6367, allocations: 4 kB / 1.365 GB, free: 4.559 MB / 0.8311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.6367, allocations: 4 kB / 1.365 GB, free: 4.555 MB / 0.8311 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.768e-06/0.6367, allocations: 0 / 1.365 GB, free: 4.555 MB / 0.8311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.123e-05/0.6367, allocations: 4 kB / 1.365 GB, free: 4.551 MB / 0.8311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.6367, allocations: 4 kB / 1.365 GB, free: 4.547 MB / 0.8311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003689/0.6371, allocations: 87.95 kB / 1.365 GB, free: 4.461 MB / 0.8311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.71e-05/0.6371, allocations: 8 kB / 1.365 GB, free: 4.453 MB / 0.8311 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 8.701e-05/0.6372, allocations: 130.3 kB / 1.365 GB, free: 4.32 MB / 0.8311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.156e-05/0.6373, allocations: 16 kB / 1.365 GB, free: 4.305 MB / 0.8311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.506e-05/0.6373, allocations: 17.02 kB / 1.365 GB, free: 4.285 MB / 0.8311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.6373, allocations: 0 / 1.365 GB, free: 4.285 MB / 0.8311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.6373, allocations: 0 / 1.365 GB, free: 4.285 MB / 0.8311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.6373, allocations: 7.984 kB / 1.365 GB, free: 4.277 MB / 0.8311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001488/0.6375, allocations: 206 kB / 1.366 GB, free: 4.039 MB / 0.8311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.6375, allocations: 4.094 kB / 1.366 GB, free: 4.035 MB / 0.8311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.216e-05/0.6375, allocations: 11.94 kB / 1.366 GB, free: 4.023 MB / 0.8311 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.6375, allocations: 4 kB / 1.366 GB, free: 4.02 MB / 0.8311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.6375, allocations: 0 / 1.366 GB, free: 4.02 MB / 0.8311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.6375, allocations: 0 / 1.366 GB, free: 4.02 MB / 0.8311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.6376, allocations: 0 / 1.366 GB, free: 4.02 MB / 0.8311 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001485/0.6377, allocations: 139.4 kB / 1.366 GB, free: 3.855 MB / 0.8311 GB Notification: Performance of postOpt removeConstants (simulation): time 3.937e-05/0.6378, allocations: 92.92 kB / 1.366 GB, free: 3.746 MB / 0.8311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.13e-05/0.6378, allocations: 11.98 kB / 1.366 GB, free: 3.734 MB / 0.8311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.428e-05/0.6378, allocations: 3.906 kB / 1.366 GB, free: 3.73 MB / 0.8311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.364e-05/0.6379, allocations: 4 kB / 1.366 GB, free: 3.727 MB / 0.8311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/0.6379, allocations: 7.984 kB / 1.366 GB, free: 3.719 MB / 0.8311 GB Notification: Performance of sort global known variables: time 9.959e-05/0.638, allocations: 140 kB / 1.366 GB, free: 3.582 MB / 0.8311 GB Notification: Performance of remove unused functions: time 0.0002526/0.6382, allocations: 51.89 kB / 1.366 GB, free: 3.531 MB / 0.8311 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.0001344/0.6384, allocations: 118.4 kB / 1.366 GB, free: 3.41 MB / 0.8311 GB Notification: Performance of simCode: created initialization part: time 0.0002683/0.6386, allocations: 179.3 kB / 1.366 GB, free: 3.223 MB / 0.8311 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.6387, allocations: 7.938 kB / 1.366 GB, free: 3.215 MB / 0.8311 GB Notification: Performance of simCode: created simulation system equations: time 4.542e-05/0.6387, allocations: 31.94 kB / 1.366 GB, free: 3.184 MB / 0.8311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002094/0.6389, allocations: 27.97 kB / 1.366 GB, free: 3.156 MB / 0.8311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003492/0.6393, allocations: 200.7 kB / 1.367 GB, free: 2.934 MB / 0.8311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002582/0.6395, allocations: 0.7376 MB / 1.367 GB, free: 2.172 MB / 0.8311 GB Notification: Performance of SimCode: time 2.31e-07/0.6396, allocations: 0 / 1.367 GB, free: 2.172 MB / 0.8311 GB Notification: Performance of Templates: time 0.004484/0.644, allocations: 2.463 MB / 1.37 GB, free: 15.73 MB / 0.8467 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches