Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001818/0.001818, allocations: 105.6 kB / 16.27 MB, free: 6.414 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.001929/0.001929, allocations: 189.8 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.566/2.566, allocations: 437.1 MB / 0.7111 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 63.05 kB / 0.8699 GB, free: 2.191 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3359/0.3379, allocations: 151.6 MB / 1.018 GB, free: 10.63 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.00218/0.3401, allocations: 0.6513 MB / 1.019 GB, free: 9.98 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0009824/0.3411, allocations: 0.7924 MB / 1.019 GB, free: 9.176 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.633e-05/0.3412, allocations: 0 / 1.019 GB, free: 9.176 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 8.638e-05/0.3413, allocations: 3.938 kB / 1.019 GB, free: 9.172 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 1.771e-05/0.3413, allocations: 3.938 kB / 1.019 GB, free: 9.168 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001094/0.3414, allocations: 15.98 kB / 1.019 GB, free: 9.152 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 7.162e-05/0.3415, allocations: 19.94 kB / 1.019 GB, free: 9.133 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.3416, allocations: 7.984 kB / 1.019 GB, free: 9.125 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 4.789e-05/0.3417, allocations: 11.94 kB / 1.019 GB, free: 9.113 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.695e-05/0.3417, allocations: 11.98 kB / 1.019 GB, free: 9.102 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.651e-05/0.3418, allocations: 0 / 1.019 GB, free: 9.102 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 9.718e-06/0.3418, allocations: 7.938 kB / 1.019 GB, free: 9.094 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 5.367e-05/0.3418, allocations: 7.984 kB / 1.019 GB, free: 9.086 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.718e-05/0.3419, allocations: 11.92 kB / 1.019 GB, free: 9.074 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 8.374e-05/0.342, allocations: 39.89 kB / 1.02 GB, free: 9.035 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.342, allocations: 0 / 1.02 GB, free: 9.035 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.874e-06/0.342, allocations: 0 / 1.02 GB, free: 9.035 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.626e-06/0.342, allocations: 0 / 1.02 GB, free: 9.035 MB / 0.795 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.000512/0.3425, allocations: 343.7 kB / 1.02 GB, free: 8.648 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.3426, allocations: 8.031 kB / 1.02 GB, free: 8.641 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.626e-05/0.3426, allocations: 12.84 kB / 1.02 GB, free: 8.629 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001762/0.3428, allocations: 164.4 kB / 1.02 GB, free: 8.43 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.3428, allocations: 12.31 kB / 1.02 GB, free: 8.418 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.009e-05/0.3428, allocations: 4.375 kB / 1.02 GB, free: 8.414 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001981/0.343, allocations: 58.17 kB / 1.02 GB, free: 8.352 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.343, allocations: 192 / 1.02 GB, free: 8.352 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.3431, allocations: 3.938 kB / 1.02 GB, free: 8.348 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.3431, allocations: 0 / 1.02 GB, free: 8.348 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001727/0.3432, allocations: 39.95 kB / 1.02 GB, free: 8.309 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004462/0.3437, allocations: 272.8 kB / 1.02 GB, free: 7.992 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.3438, allocations: 38.5 kB / 1.02 GB, free: 7.945 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.702e-05/0.3439, allocations: 20.91 kB / 1.02 GB, free: 7.922 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.214e-05/0.3439, allocations: 0 / 1.02 GB, free: 7.922 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/0.344, allocations: 34.56 kB / 1.021 GB, free: 7.879 MB / 0.795 GB Notification: Performance of pre-optimization done (n=1): time 8.91e-07/0.344, allocations: 3.938 kB / 1.021 GB, free: 7.875 MB / 0.795 GB Notification: Performance of matching and sorting (n=1): time 0.0003406/0.3443, allocations: 73.64 kB / 1.021 GB, free: 7.797 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.718e-05/0.3444, allocations: 55.41 kB / 1.021 GB, free: 7.73 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.632e-05/0.3445, allocations: 105.8 kB / 1.021 GB, free: 7.617 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.889e-05/0.3445, allocations: 25.7 kB / 1.021 GB, free: 7.586 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.141e-05/0.3446, allocations: 100.1 kB / 1.021 GB, free: 7.484 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.339e-05/0.3446, allocations: 0 / 1.021 GB, free: 7.484 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.359e-05/0.3447, allocations: 13.7 kB / 1.021 GB, free: 7.465 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.3448, allocations: 318.8 kB / 1.021 GB, free: 7.145 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.563e-05/0.3449, allocations: 15.98 kB / 1.021 GB, free: 7.129 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.188e-05/0.345, allocations: 11.98 kB / 1.021 GB, free: 7.117 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001533/0.3451, allocations: 40.88 kB / 1.021 GB, free: 7.074 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.3452, allocations: 0 / 1.021 GB, free: 7.074 MB / 0.795 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001925/0.3454, allocations: 57.67 kB / 1.021 GB, free: 7.012 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.3454, allocations: 8 kB / 1.021 GB, free: 7.004 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.3454, allocations: 0 / 1.021 GB, free: 7.004 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.3454, allocations: 3.938 kB / 1.021 GB, free: 7 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.849e-05/0.3455, allocations: 12.02 kB / 1.021 GB, free: 6.988 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.958e-06/0.3455, allocations: 0 / 1.021 GB, free: 6.988 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.56e-05/0.3456, allocations: 7.984 kB / 1.021 GB, free: 6.98 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.3456, allocations: 0 / 1.021 GB, free: 6.98 MB / 0.795 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.531e-05/0.3457, allocations: 113.8 kB / 1.021 GB, free: 6.859 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.121e-05/0.3457, allocations: 0 / 1.021 GB, free: 6.859 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.992e-05/0.3457, allocations: 7.125 kB / 1.021 GB, free: 6.852 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.3457, allocations: 4 kB / 1.021 GB, free: 6.848 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3457, allocations: 256 / 1.021 GB, free: 6.848 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.197e-06/0.3457, allocations: 7.984 kB / 1.021 GB, free: 6.84 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001797/0.3459, allocations: 165.5 kB / 1.022 GB, free: 6.629 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3459, allocations: 0 / 1.022 GB, free: 6.629 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.661e-05/0.346, allocations: 11.98 kB / 1.022 GB, free: 6.617 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.346, allocations: 3.938 kB / 1.022 GB, free: 6.613 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.346, allocations: 3.984 kB / 1.022 GB, free: 6.609 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.346, allocations: 0 / 1.022 GB, free: 6.609 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.346, allocations: 0 / 1.022 GB, free: 6.609 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002535/0.3463, allocations: 163.4 kB / 1.022 GB, free: 6.434 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.696e-05/0.3463, allocations: 81.05 kB / 1.022 GB, free: 6.336 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.233e-05/0.3464, allocations: 4 kB / 1.022 GB, free: 6.332 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.649e-05/0.3464, allocations: 11.98 kB / 1.022 GB, free: 6.32 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.295e-05/0.3465, allocations: 0 / 1.022 GB, free: 6.32 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-06/0.3465, allocations: 0 / 1.022 GB, free: 6.32 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.397e-05/0.3465, allocations: 79.28 kB / 1.022 GB, free: 6.242 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3465, allocations: 4.031 kB / 1.022 GB, free: 6.238 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002074/0.3467, allocations: 4 kB / 1.022 GB, free: 6.234 MB / 0.795 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001219/0.3469, allocations: 103.2 kB / 1.022 GB, free: 6.125 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002208/0.3471, allocations: 27.97 kB / 1.022 GB, free: 6.098 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3471, allocations: 0 / 1.022 GB, free: 6.098 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 8.859e-05/0.3472, allocations: 24.05 kB / 1.022 GB, free: 6.074 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002612/0.3475, allocations: 9.812 kB / 1.022 GB, free: 6.066 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003051/0.3478, allocations: 143.2 kB / 1.022 GB, free: 5.895 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003367/0.3481, allocations: 0.6768 MB / 1.023 GB, free: 5.191 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.585e-05/0.3482, allocations: 7.438 kB / 1.023 GB, free: 5.184 MB / 0.795 GB Notification: Performance of SimCode: time 2.4e-07/0.3482, allocations: 0 / 1.023 GB, free: 5.184 MB / 0.795 GB Notification: Performance of Templates: time 0.002222/0.3504, allocations: 0.5687 MB / 1.023 GB, free: 4.621 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches