Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.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.IntegerScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram.y|reaToInt.y|intRep.y.1.|intRep.y.2.|intRep.y.3.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram.y|reaToInt.y|intRep.y.1.|intRep.y.2.|intRep.y.3.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") [: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.704/1.704, allocations: 390.4 MB / 397.7 MB, free: 11.26 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.0009115/0.0009115, allocations: 181.2 kB / 490.8 MB, free: 1.941 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.06/1.06, allocations: 221.4 MB / 0.7863 GB, free: 13.72 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.000802/0.0008021, allocations: 84.67 kB / 0.9264 GB, free: 14.25 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.101e-06/6.121e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1657/0.1657, allocations: 143 MB / 1.212 GB, free: 40.11 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4435/0.6093, allocations: 149 MB / 1.357 GB, free: 17.36 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001594/0.6095, allocations: 67.62 kB / 1.357 GB, free: 17.36 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.00185/0.6113, allocations: 0.5154 MB / 1.358 GB, free: 17.33 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.104e-06/0.6113, allocations: 0 / 1.358 GB, free: 17.33 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002951/0.6116, allocations: 348.3 kB / 1.358 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.936e-05/0.6117, allocations: 12.84 kB / 1.358 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.356e-05/0.6117, allocations: 6.125 kB / 1.358 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001009/0.6118, allocations: 170.5 kB / 1.358 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.6118, allocations: 9.609 kB / 1.358 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.468e-06/0.6118, allocations: 3.031 kB / 1.358 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.55e-05/0.6119, allocations: 19.91 kB / 1.358 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.349e-05/0.612, allocations: 50.83 kB / 1.358 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.612, allocations: 0 / 1.358 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.612, allocations: 1.719 kB / 1.358 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.612, allocations: 1 kB / 1.358 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002652/0.6123, allocations: 251.7 kB / 1.358 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.333e-05/0.6124, allocations: 37.39 kB / 1.358 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.138e-05/0.6124, allocations: 9.75 kB / 1.358 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.329e-05/0.6124, allocations: 1.031 kB / 1.358 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.401e-05/0.6124, allocations: 39.62 kB / 1.359 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.6124, allocations: 0 / 1.359 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.00013/0.6126, allocations: 45.8 kB / 1.359 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.253e-05/0.6126, allocations: 52.06 kB / 1.359 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.199e-05/0.6126, allocations: 95.22 kB / 1.359 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.973e-06/0.6127, allocations: 25.7 kB / 1.359 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.039e-05/0.6127, allocations: 94.19 kB / 1.359 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.111e-05/0.6127, allocations: 5.703 kB / 1.359 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-06/0.6127, allocations: 0 / 1.359 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.409e-05/0.6128, allocations: 313.2 kB / 1.359 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.667e-05/0.6128, allocations: 11.69 kB / 1.359 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.484e-05/0.6129, allocations: 11.11 kB / 1.359 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.822e-05/0.6129, allocations: 5 kB / 1.359 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-06/0.6129, allocations: 0 / 1.359 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.512e-05/0.613, allocations: 45.73 kB / 1.359 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.298e-06/0.613, allocations: 6.25 kB / 1.359 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/0.613, allocations: 0 / 1.359 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.498e-06/0.613, allocations: 1 kB / 1.359 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.6131, allocations: 19.78 kB / 1.359 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.6131, allocations: 9.406 kB / 1.359 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.071e-05/0.6132, allocations: 8.562 kB / 1.359 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.6132, allocations: 1.844 kB / 1.359 GB, free: 31.73 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intRep.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 4.986e-05/0.6132, allocations: 102 kB / 1.359 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.413e-05/0.6133, allocations: 10.59 kB / 1.359 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.739e-05/0.6133, allocations: 8.75 kB / 1.359 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.6133, allocations: 0 / 1.359 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.6133, allocations: 0 / 1.359 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.6133, allocations: 1.828 kB / 1.359 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.195e-05/0.6134, allocations: 142.2 kB / 1.36 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.6134, allocations: 0 / 1.36 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.473e-05/0.6135, allocations: 20.72 kB / 1.36 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.6135, allocations: 0 / 1.36 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.6135, allocations: 1.828 kB / 1.36 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.6135, allocations: 7.844 kB / 1.36 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.6135, allocations: 1 kB / 1.36 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.592e-05/0.6136, allocations: 139.2 kB / 1.36 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.4e-05/0.6136, allocations: 82.5 kB / 1.36 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.277e-05/0.6137, allocations: 1.656 kB / 1.36 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.928e-05/0.6138, allocations: 12.78 kB / 1.36 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.805e-05/0.6138, allocations: 8.781 kB / 1.36 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-06/0.6138, allocations: 1.641 kB / 1.36 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3.121e-05/0.6138, allocations: 83 kB / 1.36 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001912/0.614, allocations: 11.17 kB / 1.36 GB, free: 31.13 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intRep.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.291e-05/0.6141, allocations: 108.3 kB / 1.36 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.502e-05/0.6142, allocations: 22.27 kB / 1.36 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 9.72e-07/0.6142, allocations: 0 / 1.36 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.39e-05/0.6142, allocations: 11.22 kB / 1.36 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001309/0.6144, allocations: 10.28 kB / 1.36 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001768/0.6146, allocations: 68.23 kB / 1.36 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002645/0.6148, allocations: 0.6929 MB / 1.361 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of SimCode: time 2.61e-07/0.6149, allocations: 4.125 kB / 1.361 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of Templates: time 0.001905/0.6168, allocations: 0.5509 MB / 1.361 GB, free: 30.2 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches