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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.233/2.233, allocations: 387.1 MB / 399.7 MB, free: 9.477 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.001095/0.001095, allocations: 176.9 kB / 492.3 MB, free: 0.6172 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.478/1.478, allocations: 221.3 MB / 0.7871 GB, free: 12.95 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.001024/0.001024, allocations: 98.83 kB / 0.9267 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.895e-05/2.897e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3099/0.31, allocations: 142.3 MB / 1.212 GB, free: 38.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.039/1.349, allocations: 148.9 MB / 1.358 GB, free: 19.1 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002402/1.349, allocations: 71.12 kB / 1.358 GB, free: 19.1 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002746/1.352, allocations: 0.8124 MB / 1.359 GB, free: 34.77 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.333e-06/1.352, allocations: 0 / 1.359 GB, free: 34.77 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.098e-06/1.352, allocations: 0 / 1.359 GB, free: 34.77 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002998/1.352, allocations: 344.1 kB / 1.359 GB, free: 34.42 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/1.352, allocations: 11.69 kB / 1.359 GB, free: 34.41 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.741e-05/1.352, allocations: 8.859 kB / 1.359 GB, free: 34.41 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/1.352, allocations: 178 kB / 1.359 GB, free: 34.21 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.294e-05/1.352, allocations: 7.484 kB / 1.359 GB, free: 34.2 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.367e-05/1.352, allocations: 3.844 kB / 1.359 GB, free: 34.2 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001163/1.352, allocations: 50.28 kB / 1.359 GB, free: 34.17 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.011e-06/1.353, allocations: 3.938 kB / 1.359 GB, free: 34.17 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/1.353, allocations: 0 / 1.359 GB, free: 34.17 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/1.353, allocations: 3.844 kB / 1.359 GB, free: 34.17 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.852e-05/1.353, allocations: 19.53 kB / 1.359 GB, free: 34.17 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003569/1.353, allocations: 288.3 kB / 1.36 GB, free: 33.89 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.957e-05/1.353, allocations: 26.95 kB / 1.36 GB, free: 33.87 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.533e-05/1.353, allocations: 12.42 kB / 1.36 GB, free: 33.86 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.409e-05/1.353, allocations: 0 / 1.36 GB, free: 33.86 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.803e-05/1.353, allocations: 40.92 kB / 1.36 GB, free: 33.82 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.383e-06/1.353, allocations: 0 / 1.36 GB, free: 33.82 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001518/1.353, allocations: 49.69 kB / 1.36 GB, free: 33.78 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.74e-05/1.353, allocations: 55.92 kB / 1.36 GB, free: 33.71 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.347e-05/1.353, allocations: 94.39 kB / 1.36 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.836e-06/1.353, allocations: 25.7 kB / 1.36 GB, free: 33.59 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.411e-05/1.353, allocations: 92.34 kB / 1.36 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.101e-05/1.353, allocations: 7.969 kB / 1.36 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-06/1.353, allocations: 0 / 1.36 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.255e-05/1.354, allocations: 315.8 kB / 1.36 GB, free: 33.19 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.973e-05/1.354, allocations: 7.344 kB / 1.36 GB, free: 33.19 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.533e-05/1.354, allocations: 8.047 kB / 1.36 GB, free: 33.19 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.185e-05/1.354, allocations: 9.094 kB / 1.36 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/1.354, allocations: 0 / 1.36 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.16e-05/1.354, allocations: 53.61 kB / 1.36 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/1.354, allocations: 3.969 kB / 1.36 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/1.354, allocations: 9.016 kB / 1.36 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/1.354, allocations: 0 / 1.36 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/1.354, allocations: 10.59 kB / 1.36 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-06/1.354, allocations: 0 / 1.36 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.827e-05/1.354, allocations: 14.19 kB / 1.36 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/1.354, allocations: 0.6094 kB / 1.36 GB, free: 33.14 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 6.471e-05/1.354, allocations: 105.5 kB / 1.36 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.244e-05/1.354, allocations: 7.438 kB / 1.36 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.996e-05/1.354, allocations: 3.922 kB / 1.36 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/1.354, allocations: 0 / 1.36 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/1.354, allocations: 3.125 kB / 1.36 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/1.354, allocations: 0 / 1.36 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000135/1.354, allocations: 172.6 kB / 1.361 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/1.354, allocations: 0 / 1.361 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.195e-05/1.354, allocations: 10.92 kB / 1.361 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/1.354, allocations: 4.703 kB / 1.361 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.293e-06/1.354, allocations: 0 / 1.361 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/1.354, allocations: 0.6094 kB / 1.361 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/1.354, allocations: 3.938 kB / 1.361 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001143/1.354, allocations: 144.9 kB / 1.361 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.359e-05/1.355, allocations: 82.28 kB / 1.361 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.333e-05/1.355, allocations: 0 / 1.361 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.15e-05/1.355, allocations: 14.77 kB / 1.361 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.542e-05/1.355, allocations: 9.547 kB / 1.361 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/1.355, allocations: 0 / 1.361 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.35e-05/1.355, allocations: 81.91 kB / 1.361 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.51e-07/1.355, allocations: 0 / 1.361 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002129/1.355, allocations: 19.61 kB / 1.361 GB, free: 32.51 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 0.0001155/1.355, allocations: 106.6 kB / 1.361 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.029e-05/1.355, allocations: 26.25 kB / 1.361 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/1.355, allocations: 0 / 1.361 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.803e-05/1.355, allocations: 9.125 kB / 1.361 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001513/1.355, allocations: 12.73 kB / 1.361 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002087/1.356, allocations: 69.59 kB / 1.361 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002524/1.356, allocations: 0.6827 MB / 1.362 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.888e-05/1.356, allocations: 8.672 kB / 1.362 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.604e-05/1.356, allocations: 11.94 kB / 1.362 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of SimCode: time 2.61e-07/1.356, allocations: 0 / 1.362 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of Templates: time 0.002259/1.358, allocations: 0.5171 MB / 1.362 GB, free: 31.56 MB / 0.8386 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