Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_latest_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_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009576/0.0009579, allocations: 98.45 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009664/0.0009667, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 223.2 MB / 239.9 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.615/2.615, allocations: 436.5 MB / 0.7104 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003817/0.0003817, allocations: 12 kB / 0.8708 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8632/0.8636, allocations: 153.7 MB / 1.021 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.0008994/0.8645, allocations: 373 kB / 1.021 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008807/0.8654, allocations: 0.7847 MB / 1.022 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.622e-05/0.8655, allocations: 0 / 1.022 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 8.12e-05/0.8656, allocations: 3.938 kB / 1.022 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 2.67e-05/0.8656, allocations: 3.906 kB / 1.022 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001001/0.8657, allocations: 11.98 kB / 1.022 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.167e-05/0.8658, allocations: 15.94 kB / 1.022 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.392e-05/0.8659, allocations: 3.984 kB / 1.022 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.028e-05/0.8659, allocations: 15.92 kB / 1.022 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.012e-05/0.866, allocations: 7.984 kB / 1.022 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.094e-05/0.866, allocations: 0 / 1.022 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.858e-06/0.866, allocations: 4 kB / 1.022 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.091e-05/0.8661, allocations: 4 kB / 1.022 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.006e-05/0.8661, allocations: 37.62 kB / 1.022 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 5.053e-05/0.8661, allocations: 11.97 kB / 1.022 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.8662, allocations: 4 kB / 1.022 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.704e-06/0.8662, allocations: 0 / 1.022 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.8662, allocations: 0 / 1.022 GB, free: 15.84 MB / 0.7794 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.0004199/0.8666, allocations: 349.2 kB / 1.022 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.8666, allocations: 15.97 kB / 1.022 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.767e-05/0.8667, allocations: 0 / 1.022 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001558/0.8668, allocations: 174.9 kB / 1.023 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.8669, allocations: 4 kB / 1.023 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.536e-05/0.8669, allocations: 4 kB / 1.023 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001993/0.8671, allocations: 61.62 kB / 1.023 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.8671, allocations: 3.938 kB / 1.023 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.8671, allocations: 4 kB / 1.023 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.249e-06/0.8671, allocations: 0 / 1.023 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001717/0.8673, allocations: 47.95 kB / 1.023 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004034/0.8677, allocations: 280.9 kB / 1.023 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001096/0.8678, allocations: 38.55 kB / 1.023 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.337e-06/0.8679, allocations: 4 kB / 1.023 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.773e-05/0.8679, allocations: 30.56 kB / 1.023 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 1.242e-06/0.8679, allocations: 0 / 1.023 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0003556/0.8682, allocations: 93.64 kB / 1.023 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/0.8683, allocations: 55.41 kB / 1.023 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.024e-05/0.8684, allocations: 102 kB / 1.023 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.8684, allocations: 25.7 kB / 1.023 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.353e-05/0.8685, allocations: 92.03 kB / 1.023 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.183e-05/0.8685, allocations: 0 / 1.023 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.866e-06/0.8685, allocations: 0 / 1.023 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.8686, allocations: 314.8 kB / 1.024 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.594e-05/0.8687, allocations: 23.92 kB / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.317e-05/0.8688, allocations: 19.98 kB / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.644e-05/0.8689, allocations: 27.92 kB / 1.024 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.8689, allocations: 0 / 1.024 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001897/0.8691, allocations: 77.64 kB / 1.024 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.8691, allocations: 4 kB / 1.024 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.8691, allocations: 3.938 kB / 1.024 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.8691, allocations: 3.984 kB / 1.024 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.792e-05/0.8692, allocations: 11.94 kB / 1.024 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.8692, allocations: 0 / 1.024 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.468e-05/0.8693, allocations: 16.02 kB / 1.024 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.032e-06/0.8693, allocations: 256 / 1.024 GB, free: 13.78 MB / 0.7794 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 () * Number of clocked 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 7.541e-05/0.8694, allocations: 113.8 kB / 1.024 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.06e-05/0.8694, allocations: 0 / 1.024 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.948e-05/0.8694, allocations: 7.125 kB / 1.024 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.8694, allocations: 3.984 kB / 1.024 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.8694, allocations: 11.92 kB / 1.024 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.8695, allocations: 0 / 1.024 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001583/0.8696, allocations: 165.7 kB / 1.024 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.8696, allocations: 3.953 kB / 1.024 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.595e-05/0.8697, allocations: 11.98 kB / 1.024 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.8697, allocations: 0 / 1.024 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.8697, allocations: 0 / 1.024 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.8697, allocations: 0 / 1.024 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.8697, allocations: 0 / 1.024 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002271/0.8699, allocations: 167.5 kB / 1.024 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.359e-05/0.87, allocations: 81.06 kB / 1.024 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.263e-05/0.87, allocations: 4 kB / 1.024 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.272e-05/0.8701, allocations: 16.02 kB / 1.024 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.412e-05/0.8701, allocations: 0 / 1.024 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.235e-06/0.8701, allocations: 0 / 1.024 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.414e-05/0.8702, allocations: 79.28 kB / 1.025 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8702, allocations: 0 / 1.025 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002171/0.8704, allocations: 11.84 kB / 1.025 GB, free: 13.02 MB / 0.7794 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 () * Number of clocked 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 0.0001171/0.8705, allocations: 107.2 kB / 1.025 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002077/0.8707, allocations: 43.97 kB / 1.025 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.8708, allocations: 0 / 1.025 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.852e-05/0.8709, allocations: 23.98 kB / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002087/0.8711, allocations: 8.109 kB / 1.025 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002775/0.8714, allocations: 112.7 kB / 1.025 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002275/0.8716, allocations: 0.6848 MB / 1.025 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.103e-05/0.8716, allocations: 4 kB / 1.025 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.227e-05/0.8717, allocations: 7.438 kB / 1.025 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.8717, allocations: 0 / 1.025 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of Templates: time 0.002229/0.8739, allocations: 344.7 kB / 1.026 GB, free: 11.64 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches