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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.227/2.227, allocations: 387.4 MB / 394.9 MB, free: 13.34 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.001016/0.001016, allocations: 180.8 kB / 487.4 MB, free: 5.027 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.639/1.639, allocations: 221.5 MB / 0.7824 GB, free: 0.9414 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.000878/0.000878, allocations: 91.91 kB / 0.9219 GB, free: 2.184 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.599e-05/1.601e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.2979, allocations: 142.4 MB / 1.206 GB, free: 43.95 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.043/1.342, allocations: 148.1 MB / 1.351 GB, free: 18.37 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002326/1.342, allocations: 69.8 kB / 1.351 GB, free: 18.37 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00225/1.344, allocations: 0.6318 MB / 1.351 GB, free: 34.03 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.533e-06/1.344, allocations: 4 kB / 1.351 GB, free: 34.03 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.666e-06/1.344, allocations: 0 / 1.351 GB, free: 34.03 MB / 0.8386 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.0003111/1.344, allocations: 333.4 kB / 1.352 GB, free: 33.69 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/1.344, allocations: 7.688 kB / 1.352 GB, free: 33.69 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.248e-05/1.345, allocations: 9.047 kB / 1.352 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/1.345, allocations: 178.6 kB / 1.352 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/1.345, allocations: 0 / 1.352 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.646e-06/1.345, allocations: 4 kB / 1.352 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.763e-05/1.345, allocations: 15.48 kB / 1.352 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000107/1.345, allocations: 39.2 kB / 1.352 GB, free: 33.44 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/1.345, allocations: 0 / 1.352 GB, free: 33.44 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/1.345, allocations: 0 / 1.352 GB, free: 33.44 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/1.345, allocations: 3.875 kB / 1.352 GB, free: 33.44 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000357/1.345, allocations: 258.6 kB / 1.352 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.743e-05/1.345, allocations: 29.77 kB / 1.352 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.138e-05/1.345, allocations: 9.266 kB / 1.352 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.056e-05/1.345, allocations: 0 / 1.352 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.367e-05/1.345, allocations: 31.5 kB / 1.352 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/1.345, allocations: 0 / 1.352 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0001208/1.346, allocations: 45.95 kB / 1.352 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.871e-05/1.346, allocations: 52.2 kB / 1.352 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.108e-05/1.346, allocations: 95.12 kB / 1.352 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.307e-06/1.346, allocations: 25.7 kB / 1.352 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.328e-05/1.346, allocations: 85.28 kB / 1.352 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.405e-05/1.346, allocations: 7.344 kB / 1.352 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.975e-06/1.346, allocations: 0 / 1.352 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001096/1.346, allocations: 316.3 kB / 1.353 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.412e-05/1.346, allocations: 15.72 kB / 1.353 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.919e-06/1.346, allocations: 3.375 kB / 1.353 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.759e-05/1.346, allocations: 4.766 kB / 1.353 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/1.346, allocations: 0 / 1.353 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.076e-05/1.346, allocations: 38.02 kB / 1.353 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/1.346, allocations: 3.844 kB / 1.353 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/1.346, allocations: 0.6562 kB / 1.353 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/1.346, allocations: 3.844 kB / 1.353 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.222e-05/1.346, allocations: 11.89 kB / 1.353 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/1.346, allocations: 3.594 kB / 1.353 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.906e-05/1.346, allocations: 6.406 kB / 1.353 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.371e-06/1.346, allocations: 0.5625 kB / 1.353 GB, free: 32.46 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: 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 5.928e-05/1.346, allocations: 108.6 kB / 1.353 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.161e-05/1.346, allocations: 0.6094 kB / 1.353 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.472e-05/1.346, allocations: 8.062 kB / 1.353 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-06/1.346, allocations: 0 / 1.353 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/1.346, allocations: 4.562 kB / 1.353 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/1.346, allocations: 0 / 1.353 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001046/1.346, allocations: 139.4 kB / 1.353 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/1.346, allocations: 0 / 1.353 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.589e-05/1.346, allocations: 21.45 kB / 1.353 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/1.347, allocations: 0.5156 kB / 1.353 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-06/1.347, allocations: 2.562 kB / 1.353 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/1.347, allocations: 0.6094 kB / 1.353 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/1.347, allocations: 0 / 1.353 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.945e-05/1.347, allocations: 136.2 kB / 1.353 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.19e-05/1.347, allocations: 85.59 kB / 1.353 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.325e-05/1.347, allocations: 0.7969 kB / 1.353 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.145e-05/1.347, allocations: 5.859 kB / 1.353 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.821e-05/1.347, allocations: 9.281 kB / 1.353 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/1.347, allocations: 0 / 1.353 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.478e-05/1.347, allocations: 87 kB / 1.353 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.347, allocations: 0 / 1.353 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001921/1.347, allocations: 3.938 kB / 1.353 GB, free: 31.85 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: 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 9.313e-05/1.347, allocations: 95.95 kB / 1.353 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.571e-05/1.347, allocations: 12.38 kB / 1.353 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/1.347, allocations: 0 / 1.353 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.667e-05/1.347, allocations: 4.734 kB / 1.354 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001731/1.347, allocations: 14.86 kB / 1.354 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001917/1.348, allocations: 72.55 kB / 1.354 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000232/1.348, allocations: 0.6823 MB / 1.354 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.987e-05/1.348, allocations: 3.281 kB / 1.354 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.078e-05/1.348, allocations: 7.438 kB / 1.354 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.348, allocations: 0 / 1.354 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of Templates: time 0.002012/1.35, allocations: 316.7 kB / 1.355 GB, free: 30.93 MB / 0.8386 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