Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.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.RealScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reaRep.u|reaRep.y.1.|reaRep.y.2.|reaRep.y.3.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reaRep.u|reaRep.y.1.|reaRep.y.2.|reaRep.y.3.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") [: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.78/1.78, allocations: 387.2 MB / 394.5 MB, free: 13.66 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.0009781/0.0009781, allocations: 185.2 kB / 487 MB, free: 5.363 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.121/1.121, allocations: 221.3 MB / 0.7819 GB, free: 1.336 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.0008496/0.0008497, allocations: 93.92 kB / 0.9213 GB, free: 2.59 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.733e-06/6.773e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1982/0.1983, allocations: 142.3 MB / 1.205 GB, free: 26.2 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.521/0.7193, allocations: 148 MB / 1.35 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000163/0.7195, allocations: 69.17 kB / 1.35 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.001314/0.7208, allocations: 342.6 kB / 1.35 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 8.055e-06/0.7209, allocations: 5.031 kB / 1.35 GB, free: 15.88 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002259/0.7211, allocations: 332.4 kB / 1.35 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.7211, allocations: 9.875 kB / 1.35 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.719e-05/0.7212, allocations: 8.906 kB / 1.35 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.902e-05/0.7213, allocations: 177.5 kB / 1.351 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.233e-06/0.7213, allocations: 0 / 1.351 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.098e-05/0.7213, allocations: 7.719 kB / 1.351 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.822e-05/0.7214, allocations: 10.25 kB / 1.351 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.713e-05/0.7214, allocations: 43.88 kB / 1.351 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.7214, allocations: 2.031 kB / 1.351 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.7214, allocations: 0 / 1.351 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.406e-06/0.7215, allocations: 0 / 1.351 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002862/0.7217, allocations: 256.4 kB / 1.351 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.449e-05/0.7218, allocations: 22.23 kB / 1.351 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.952e-05/0.7218, allocations: 14.55 kB / 1.351 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.034e-05/0.7218, allocations: 5.719 kB / 1.351 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.247e-05/0.7218, allocations: 31.91 kB / 1.351 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.7219, allocations: 3.938 kB / 1.351 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1): time 0.0001106/0.722, allocations: 41.36 kB / 1.351 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.588e-05/0.722, allocations: 51.41 kB / 1.351 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.641e-05/0.722, allocations: 94.22 kB / 1.351 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 5.56e-06/0.722, allocations: 27.23 kB / 1.351 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.981e-05/0.7221, allocations: 88.08 kB / 1.351 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.186e-05/0.7221, allocations: 5.219 kB / 1.351 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.504e-06/0.7221, allocations: 0 / 1.351 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 3.703e-05/0.7221, allocations: 317.2 kB / 1.352 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.228e-05/0.7222, allocations: 2.844 kB / 1.352 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.027e-06/0.7222, allocations: 1.406 kB / 1.352 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.328e-05/0.7222, allocations: 6.75 kB / 1.352 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.7222, allocations: 0 / 1.352 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.084e-05/0.7222, allocations: 43.03 kB / 1.352 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.868e-06/0.7223, allocations: 6.703 kB / 1.352 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-06/0.7223, allocations: 3.75 kB / 1.352 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.666e-06/0.7223, allocations: 3.906 kB / 1.352 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.499e-05/0.7224, allocations: 11.02 kB / 1.352 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.805e-06/0.7224, allocations: 1.312 kB / 1.352 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.049e-05/0.7224, allocations: 13.12 kB / 1.352 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-06/0.7224, allocations: 1.281 kB / 1.352 GB, free: 14.3 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.325e-05/0.7225, allocations: 108.3 kB / 1.352 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.372e-05/0.7225, allocations: 6.922 kB / 1.352 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.641e-05/0.7225, allocations: 3.156 kB / 1.352 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.7225, allocations: 1.469 kB / 1.352 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.7225, allocations: 0 / 1.352 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.7226, allocations: 1.219 kB / 1.352 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.323e-05/0.7226, allocations: 140.7 kB / 1.352 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.7226, allocations: 0 / 1.352 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.68e-05/0.7227, allocations: 10.44 kB / 1.352 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.7227, allocations: 7.922 kB / 1.352 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.31e-06/0.7227, allocations: 1.312 kB / 1.352 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.7227, allocations: 3.906 kB / 1.352 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.7227, allocations: 0 / 1.352 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.235e-05/0.7228, allocations: 139.1 kB / 1.352 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.4e-05/0.7228, allocations: 82.23 kB / 1.352 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.7228, allocations: 1.172 kB / 1.352 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.317e-05/0.7229, allocations: 10.5 kB / 1.352 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.176e-05/0.723, allocations: 0 / 1.352 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-06/0.723, allocations: 5.344 kB / 1.352 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.727e-05/0.723, allocations: 83.78 kB / 1.352 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001873/0.7232, allocations: 2.562 kB / 1.352 GB, free: 13.71 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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 7.12e-05/0.7233, allocations: 103.9 kB / 1.352 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.422e-05/0.7233, allocations: 9.938 kB / 1.352 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.022e-06/0.7233, allocations: 0 / 1.352 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.62e-05/0.7233, allocations: 11.16 kB / 1.352 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001387/0.7235, allocations: 10.78 kB / 1.352 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001605/0.7237, allocations: 66.47 kB / 1.352 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002034/0.7239, allocations: 0.6914 MB / 1.353 GB, free: 28.84 MB / 0.823 GB Notification: Performance of SimCode: time 2.4e-07/0.7239, allocations: 0 / 1.353 GB, free: 28.84 MB / 0.823 GB Notification: Performance of Templates: time 0.001678/0.7256, allocations: 374.7 kB / 1.354 GB, free: 28.8 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches