Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.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.RealVectorFilter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reaFil.u.1.|reaFil.u.2.|reaFil.u.3.|reaFil.y.1.|reaFil.y.2.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reaFil.u.1.|reaFil.u.2.|reaFil.u.3.|reaFil.y.1.|reaFil.y.2.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter") [: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.695/1.695, allocations: 390.4 MB / 397.7 MB, free: 11.25 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.0009295/0.0009297, allocations: 193.2 kB / 490.8 MB, free: 1.914 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.05/1.05, allocations: 221.4 MB / 0.7863 GB, free: 13.75 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008017/0.0008018, allocations: 95.53 kB / 0.9264 GB, free: 14.29 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.911e-06/5.921e-06, allocations: 4 kB / 1.072 GB, free: 164.7 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.1655, allocations: 143 MB / 1.212 GB, free: 21.89 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4447/0.6102, allocations: 149 MB / 1.357 GB, free: 3.992 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001672/0.6104, allocations: 65.14 kB / 1.357 GB, free: 3.957 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.002286/0.6127, allocations: 0.6779 MB / 1.358 GB, free: 3.402 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 7.574e-06/0.6128, allocations: 0 / 1.358 GB, free: 3.402 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0002168/0.613, allocations: 341 kB / 1.358 GB, free: 3.031 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.833e-05/0.613, allocations: 8.031 kB / 1.358 GB, free: 3.023 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.741e-05/0.613, allocations: 11.84 kB / 1.358 GB, free: 3.012 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001704/0.6132, allocations: 175 kB / 1.358 GB, free: 2.801 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.955e-06/0.6132, allocations: 0 / 1.358 GB, free: 2.801 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.909e-06/0.6133, allocations: 4 kB / 1.358 GB, free: 2.797 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.219e-05/0.6133, allocations: 24.05 kB / 1.358 GB, free: 2.781 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.359e-05/0.6134, allocations: 82.66 kB / 1.358 GB, free: 2.691 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.6134, allocations: 4 kB / 1.358 GB, free: 2.688 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.244e-06/0.6134, allocations: 0 / 1.358 GB, free: 2.688 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.6134, allocations: 3.984 kB / 1.358 GB, free: 2.684 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003413/0.6138, allocations: 0.5683 MB / 1.359 GB, free: 2.082 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.696e-05/0.6138, allocations: 173 kB / 1.359 GB, free: 1.902 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.181e-05/0.6139, allocations: 81.08 kB / 1.359 GB, free: 1.82 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.192e-05/0.6139, allocations: 75.28 kB / 1.359 GB, free: 1.746 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.673e-05/0.614, allocations: 105.8 kB / 1.359 GB, free: 1.633 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.614, allocations: 4 kB / 1.359 GB, free: 1.629 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 5.942e-05/0.614, allocations: 37.58 kB / 1.359 GB, free: 1.59 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.037e-05/0.6141, allocations: 51.41 kB / 1.359 GB, free: 1.527 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.022e-05/0.6141, allocations: 105.7 kB / 1.36 GB, free: 1.418 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.6141, allocations: 25.7 kB / 1.36 GB, free: 1.387 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.599e-05/0.6142, allocations: 99.41 kB / 1.36 GB, free: 1.289 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.022e-06/0.6142, allocations: 0 / 1.36 GB, free: 1.289 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.7e-07/0.6142, allocations: 384 / 1.36 GB, free: 1.289 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.709e-05/0.6143, allocations: 318.8 kB / 1.36 GB, free: 0.9688 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.074e-06/0.6143, allocations: 0 / 1.36 GB, free: 0.9688 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.142e-05/0.6143, allocations: 11.36 kB / 1.36 GB, free: 0.9609 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.879e-05/0.6143, allocations: 79.22 kB / 1.36 GB, free: 0.8828 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.815e-05/0.6144, allocations: 75.28 kB / 1.36 GB, free: 0.8086 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.199e-05/0.6144, allocations: 29.7 kB / 1.36 GB, free: 0.7734 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.023e-05/0.6145, allocations: 8 kB / 1.36 GB, free: 0.7656 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.911e-05/0.6145, allocations: 79.22 kB / 1.36 GB, free: 0.6875 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.592e-05/0.6145, allocations: 154.6 kB / 1.36 GB, free: 0.5352 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.83e-05/0.6146, allocations: 75.28 kB / 1.36 GB, free: 472 kB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.257e-05/0.6146, allocations: 155.2 kB / 1.361 GB, free: 316 kB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.956e-05/0.6147, allocations: 87.17 kB / 1.361 GB, free: 228 kB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.488e-05/0.6147, allocations: 75.97 kB / 1.361 GB, free: 152 kB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 9.825e-05/0.6148, allocations: 262.5 kB / 1.361 GB, free: 15.89 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.734e-05/0.6149, allocations: 105 kB / 1.361 GB, free: 15.78 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.631e-05/0.6149, allocations: 112.6 kB / 1.361 GB, free: 15.66 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.913e-05/0.615, allocations: 184.2 kB / 1.361 GB, free: 15.48 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.451e-05/0.615, allocations: 184.2 kB / 1.362 GB, free: 15.29 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-05/0.6151, allocations: 180.1 kB / 1.362 GB, free: 15.11 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001699/0.6153, allocations: 399.7 kB / 1.362 GB, free: 14.68 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.411e-05/0.6153, allocations: 101 kB / 1.362 GB, free: 14.57 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.425e-05/0.6153, allocations: 109 kB / 1.362 GB, free: 14.46 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.316e-05/0.6154, allocations: 180.2 kB / 1.363 GB, free: 14.28 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.969e-05/0.6154, allocations: 180.2 kB / 1.363 GB, free: 14.09 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-05/0.6155, allocations: 176.9 kB / 1.363 GB, free: 13.91 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.987e-05/0.6155, allocations: 187.9 kB / 1.363 GB, free: 13.73 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.682e-05/0.6156, allocations: 308.1 kB / 1.363 GB, free: 13.4 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.674e-05/0.6157, allocations: 185.9 kB / 1.364 GB, free: 13.2 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.516e-05/0.6158, allocations: 176.3 kB / 1.364 GB, free: 13.02 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.15e-05/0.6158, allocations: 112.3 kB / 1.364 GB, free: 12.9 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.301e-05/0.6159, allocations: 188.2 kB / 1.364 GB, free: 12.71 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.435e-05/0.6159, allocations: 101 kB / 1.364 GB, free: 12.61 MB / 0.823 GB Notification: Performance of sort global known variables: time 4.403e-05/0.616, allocations: 87.09 kB / 1.364 GB, free: 12.52 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002153/0.6162, allocations: 11.89 kB / 1.364 GB, free: 12.51 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 9.404e-05/0.6163, allocations: 170.5 kB / 1.364 GB, free: 12.34 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 2.84e-05/0.6163, allocations: 11.12 kB / 1.364 GB, free: 12.33 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.6163, allocations: 288 / 1.364 GB, free: 12.33 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 8.32e-07/0.6163, allocations: 0 / 1.364 GB, free: 12.33 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002431/0.6166, allocations: 0.5251 MB / 1.365 GB, free: 11.8 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00018/0.6168, allocations: 161.1 kB / 1.365 GB, free: 11.63 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002227/0.617, allocations: 0.7036 MB / 1.366 GB, free: 10.9 MB / 0.823 GB Notification: Performance of SimCode: time 2.31e-07/0.617, allocations: 0 / 1.366 GB, free: 10.9 MB / 0.823 GB Notification: Performance of Templates: time 0.001476/0.6185, allocations: 268.6 kB / 1.366 GB, free: 10.65 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorFilter.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches