Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.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.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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.773/1.773, allocations: 387.2 MB / 394.5 MB, free: 13.62 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.0009108/0.0009109, allocations: 185.2 kB / 487 MB, free: 5.328 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.149/1.149, allocations: 221.3 MB / 0.7819 GB, free: 1.422 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.0008373/0.0008373, allocations: 94.88 kB / 0.9213 GB, free: 2.676 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 9.007e-06/9.017e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1947/0.1947, allocations: 142.3 MB / 1.205 GB, free: 26.24 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5434/0.7381, allocations: 148.2 MB / 1.35 GB, free: 16.23 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001471/0.7383, allocations: 69.78 kB / 1.35 GB, free: 16.23 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.001765/0.7401, allocations: 0.5101 MB / 1.35 GB, free: 16.2 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 7.555e-06/0.7401, allocations: 1.094 kB / 1.35 GB, free: 16.2 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002612/0.7404, allocations: 352.7 kB / 1.351 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.087e-05/0.7404, allocations: 9.938 kB / 1.351 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.34e-05/0.7404, allocations: 5.344 kB / 1.351 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.778e-05/0.7405, allocations: 179.1 kB / 1.351 GB, free: 15.65 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.7406, allocations: 6.656 kB / 1.351 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.738e-06/0.7406, allocations: 2.188 kB / 1.351 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.267e-05/0.7406, allocations: 20.62 kB / 1.351 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.035e-05/0.7407, allocations: 51.94 kB / 1.351 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.158e-06/0.7407, allocations: 0 / 1.351 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.785e-06/0.7407, allocations: 0 / 1.351 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.304e-06/0.7407, allocations: 5.031 kB / 1.351 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002276/0.741, allocations: 249.6 kB / 1.351 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.423e-05/0.741, allocations: 40.06 kB / 1.351 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.049e-05/0.7411, allocations: 8.984 kB / 1.351 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 9.538e-06/0.7411, allocations: 0 / 1.351 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.136e-05/0.7411, allocations: 36.81 kB / 1.351 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.7411, allocations: 0 / 1.351 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0001185/0.7412, allocations: 46.08 kB / 1.351 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.147e-05/0.7412, allocations: 52.25 kB / 1.351 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.73e-05/0.7413, allocations: 99.56 kB / 1.352 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 6.943e-06/0.7413, allocations: 29.73 kB / 1.352 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.73e-05/0.7413, allocations: 88.02 kB / 1.352 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.024e-05/0.7413, allocations: 3.906 kB / 1.352 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-06/0.7413, allocations: 0 / 1.352 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.7e-05/0.7414, allocations: 317.5 kB / 1.352 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.6e-05/0.7414, allocations: 4.125 kB / 1.352 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.401e-05/0.7414, allocations: 9.125 kB / 1.352 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.73e-05/0.7415, allocations: 6.812 kB / 1.352 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.7415, allocations: 6.266 kB / 1.352 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.678e-05/0.7415, allocations: 43.41 kB / 1.352 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 8.526e-06/0.7416, allocations: 9 kB / 1.352 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.7416, allocations: 5.188 kB / 1.352 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.396e-06/0.7416, allocations: 0 / 1.352 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.7417, allocations: 15.61 kB / 1.352 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.685e-06/0.7417, allocations: 1.344 kB / 1.352 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.978e-05/0.7418, allocations: 13.88 kB / 1.352 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.62e-06/0.7418, allocations: 1.219 kB / 1.352 GB, free: 14.61 MB / 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: 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 3.693e-05/0.7418, allocations: 106.1 kB / 1.352 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.573e-05/0.7418, allocations: 6.359 kB / 1.352 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.663e-05/0.7419, allocations: 4.594 kB / 1.352 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.7419, allocations: 0 / 1.352 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.7419, allocations: 4 kB / 1.352 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.7419, allocations: 2.938 kB / 1.352 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.288e-05/0.742, allocations: 141.4 kB / 1.352 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.742, allocations: 0 / 1.352 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.549e-05/0.7421, allocations: 11.7 kB / 1.352 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.7421, allocations: 5.188 kB / 1.352 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.7421, allocations: 3.828 kB / 1.352 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.7421, allocations: 1.281 kB / 1.352 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.7421, allocations: 4 kB / 1.352 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.683e-05/0.7422, allocations: 139.2 kB / 1.353 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.487e-05/0.7422, allocations: 82.36 kB / 1.353 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.157e-05/0.7422, allocations: 1.547 kB / 1.353 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.003e-05/0.7423, allocations: 7.969 kB / 1.353 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.543e-05/0.7424, allocations: 9.188 kB / 1.353 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.7424, allocations: 2.156 kB / 1.353 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.003e-05/0.7424, allocations: 83.22 kB / 1.353 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002012/0.7426, allocations: 19.59 kB / 1.353 GB, free: 14.02 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: 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 8.417e-05/0.7427, allocations: 108.2 kB / 1.353 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.093e-05/0.7428, allocations: 15.67 kB / 1.353 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-06/0.7428, allocations: 0 / 1.353 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.42e-05/0.7428, allocations: 17.09 kB / 1.353 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001291/0.7429, allocations: 2.844 kB / 1.353 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001656/0.7431, allocations: 73.75 kB / 1.353 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001869/0.7433, allocations: 0.6923 MB / 1.354 GB, free: 29.14 MB / 0.823 GB Notification: Performance of SimCode: time 2.5e-07/0.7433, allocations: 3.938 kB / 1.354 GB, free: 29.14 MB / 0.823 GB Notification: Performance of Templates: time 0.00184/0.7451, allocations: 0.556 MB / 1.354 GB, free: 29.08 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches