Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.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.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_latest_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_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001454/0.001454, allocations: 99 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.001676/0.001677, 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.465/1.465, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.742/2.742, allocations: 436.5 MB / 0.7104 GB, free: 7.805 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003659/0.000366, allocations: 8 kB / 0.8708 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8459/0.8463, allocations: 153.7 MB / 1.021 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.0008578/0.8472, allocations: 396.9 kB / 1.021 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009009/0.8481, allocations: 0.8157 MB / 1.022 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.437e-05/0.8481, allocations: 0 / 1.022 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 7.428e-05/0.8482, allocations: 4 kB / 1.022 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 3.161e-05/0.8483, allocations: 7.922 kB / 1.022 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001712/0.8485, allocations: 19.92 kB / 1.022 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.259e-05/0.8485, allocations: 15.97 kB / 1.022 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.927e-05/0.8486, allocations: 8 kB / 1.022 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.993e-05/0.8487, allocations: 19.92 kB / 1.022 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.102e-05/0.8488, allocations: 11.98 kB / 1.022 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.264e-05/0.8488, allocations: 0 / 1.022 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.019e-05/0.8488, allocations: 0 / 1.022 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.518e-05/0.8489, allocations: 11.92 kB / 1.022 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.386e-05/0.8489, allocations: 33.7 kB / 1.022 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 6.601e-05/0.849, allocations: 23.88 kB / 1.022 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.849, allocations: 0 / 1.022 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.055e-06/0.849, allocations: 0 / 1.022 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.409e-06/0.849, allocations: 0 / 1.022 GB, free: 15.73 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005043/0.8495, allocations: 349.3 kB / 1.022 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.8496, allocations: 11.98 kB / 1.022 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.938e-05/0.8496, allocations: 7.906 kB / 1.022 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001655/0.8498, allocations: 175 kB / 1.023 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.98e-05/0.8498, allocations: 0 / 1.023 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.433e-05/0.8498, allocations: 7.938 kB / 1.023 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002188/0.85, allocations: 73.61 kB / 1.023 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.8501, allocations: 0 / 1.023 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.8501, allocations: 7.984 kB / 1.023 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.8501, allocations: 0 / 1.023 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001953/0.8503, allocations: 55.95 kB / 1.023 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004413/0.8507, allocations: 284.8 kB / 1.023 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001569/0.8509, allocations: 46.5 kB / 1.023 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.64e-05/0.8509, allocations: 4 kB / 1.023 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.851, allocations: 30.56 kB / 1.023 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.851, allocations: 0 / 1.023 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0004536/0.8514, allocations: 113.5 kB / 1.023 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.83e-05/0.8515, allocations: 55.41 kB / 1.023 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.8516, allocations: 101.8 kB / 1.023 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.959e-05/0.8517, allocations: 25.7 kB / 1.023 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.092e-05/0.8517, allocations: 92.05 kB / 1.024 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.575e-05/0.8518, allocations: 0 / 1.024 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.988e-06/0.8518, allocations: 0 / 1.024 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.8519, allocations: 318.9 kB / 1.024 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.361e-05/0.852, allocations: 27.97 kB / 1.024 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.018e-05/0.8521, allocations: 23.98 kB / 1.024 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.706e-05/0.8522, allocations: 24.05 kB / 1.024 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.8522, allocations: 0 / 1.024 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002191/0.8524, allocations: 81.56 kB / 1.024 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.82e-05/0.8525, allocations: 19.95 kB / 1.024 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.8525, allocations: 256 / 1.024 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.8525, allocations: 0 / 1.024 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/0.8526, allocations: 12 kB / 1.024 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.8527, allocations: 3.984 kB / 1.024 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.662e-05/0.8527, allocations: 8 kB / 1.024 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.8527, allocations: 0 / 1.024 GB, free: 13.6 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: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked 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 0.0001541/0.8529, allocations: 125.8 kB / 1.024 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.095e-05/0.8529, allocations: 0 / 1.024 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.793e-05/0.853, allocations: 7.062 kB / 1.024 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.853, allocations: 3.938 kB / 1.024 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.853, allocations: 0 / 1.024 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.853, allocations: 4 kB / 1.024 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001893/0.8532, allocations: 173.5 kB / 1.024 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.8532, allocations: 0 / 1.024 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.067e-05/0.8533, allocations: 11.98 kB / 1.024 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.8533, allocations: 4 kB / 1.024 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.8533, allocations: 0 / 1.024 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.8533, allocations: 0 / 1.024 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.8533, allocations: 0 / 1.024 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002705/0.8536, allocations: 179.5 kB / 1.025 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.127e-05/0.8536, allocations: 84.97 kB / 1.025 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.8536, allocations: 7.984 kB / 1.025 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.965e-05/0.8537, allocations: 4 kB / 1.025 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.682e-05/0.8538, allocations: 7.984 kB / 1.025 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.506e-06/0.8538, allocations: 0 / 1.025 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.501e-05/0.8538, allocations: 83.28 kB / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of sort global known variables: time 9e-08/0.8539, allocations: 32 / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002251/0.8541, allocations: 8 kB / 1.025 GB, free: 12.82 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: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked 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.0001343/0.8542, allocations: 103.2 kB / 1.025 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002344/0.8545, allocations: 51.97 kB / 1.025 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.8545, allocations: 0 / 1.025 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001004/0.8546, allocations: 31.91 kB / 1.025 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001769/0.8548, allocations: 4 kB / 1.025 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003449/0.8551, allocations: 120.8 kB / 1.025 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002624/0.8554, allocations: 0.6887 MB / 1.026 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.867e-05/0.8554, allocations: 7.953 kB / 1.026 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.913e-05/0.8555, allocations: 11.44 kB / 1.026 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.8555, allocations: 0 / 1.026 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of Templates: time 0.002727/0.8582, allocations: 0.5007 MB / 1.026 GB, free: 11.24 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches