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.008269/0.008269, allocations: 95.92 kB / 15.73 MB, free: 6.039 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.001771/0.001771, allocations: 200.9 kB / 16.68 MB, free: 5.969 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.475/1.475, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.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.749/2.749, allocations: 437 MB / 0.7105 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001553/0.001553, allocations: 63.91 kB / 1.019 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3663/0.3679, allocations: 151.6 MB / 1.167 GB, free: 6.812 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.00185/0.3698, allocations: 0.6482 MB / 1.167 GB, free: 6.16 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0009665/0.3708, allocations: 0.7966 MB / 1.168 GB, free: 5.352 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.029e-05/0.3708, allocations: 0 / 1.168 GB, free: 5.352 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.000105/0.3709, allocations: 7.938 kB / 1.168 GB, free: 5.344 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 2.153e-05/0.371, allocations: 7.922 kB / 1.168 GB, free: 5.336 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001136/0.3711, allocations: 15.92 kB / 1.168 GB, free: 5.32 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.349e-05/0.3712, allocations: 19.98 kB / 1.168 GB, free: 5.301 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.3713, allocations: 8 kB / 1.168 GB, free: 5.293 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.615e-05/0.3714, allocations: 11.92 kB / 1.168 GB, free: 5.281 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.488e-05/0.3714, allocations: 11.94 kB / 1.168 GB, free: 5.27 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.3714, allocations: 0 / 1.168 GB, free: 5.27 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.034e-05/0.3715, allocations: 7.938 kB / 1.168 GB, free: 5.262 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.413e-05/0.3715, allocations: 11.98 kB / 1.168 GB, free: 5.25 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.773e-05/0.3716, allocations: 7.938 kB / 1.168 GB, free: 5.242 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 9.338e-05/0.3717, allocations: 39.81 kB / 1.168 GB, free: 5.203 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3717, allocations: 3.938 kB / 1.168 GB, free: 5.199 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.202e-06/0.3717, allocations: 0 / 1.168 GB, free: 5.199 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.022e-06/0.3717, allocations: 0 / 1.168 GB, free: 5.199 MB / 0.92 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.0004931/0.3722, allocations: 343.5 kB / 1.168 GB, free: 4.812 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.3722, allocations: 8.031 kB / 1.168 GB, free: 4.805 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.035e-05/0.3723, allocations: 8.891 kB / 1.169 GB, free: 4.797 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001755/0.3724, allocations: 168.3 kB / 1.169 GB, free: 4.594 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.104e-06/0.3725, allocations: 4.375 kB / 1.169 GB, free: 4.59 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.085e-05/0.3725, allocations: 4.375 kB / 1.169 GB, free: 4.586 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001845/0.3727, allocations: 58.23 kB / 1.169 GB, free: 4.523 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.3727, allocations: 4.125 kB / 1.169 GB, free: 4.52 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.3727, allocations: 3.938 kB / 1.169 GB, free: 4.516 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.3727, allocations: 0 / 1.169 GB, free: 4.516 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001507/0.3729, allocations: 35.95 kB / 1.169 GB, free: 4.48 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005912/0.3735, allocations: 276.9 kB / 1.169 GB, free: 4.16 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001252/0.3736, allocations: 38.5 kB / 1.169 GB, free: 4.113 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.282e-05/0.3737, allocations: 20.89 kB / 1.169 GB, free: 4.09 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/0.3737, allocations: 0 / 1.169 GB, free: 4.09 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.473e-05/0.3738, allocations: 34.56 kB / 1.169 GB, free: 4.047 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.3738, allocations: 0 / 1.169 GB, free: 4.047 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.0004179/0.3742, allocations: 77.64 kB / 1.169 GB, free: 3.965 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.312e-05/0.3743, allocations: 55.41 kB / 1.169 GB, free: 3.898 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.3744, allocations: 97.86 kB / 1.169 GB, free: 3.793 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.753e-05/0.3744, allocations: 25.7 kB / 1.169 GB, free: 3.762 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.499e-05/0.3745, allocations: 100.1 kB / 1.169 GB, free: 3.66 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.121e-05/0.3745, allocations: 0 / 1.169 GB, free: 3.66 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.515e-05/0.3746, allocations: 9.719 kB / 1.169 GB, free: 3.645 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001748/0.3748, allocations: 322.8 kB / 1.17 GB, free: 3.32 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.945e-05/0.3748, allocations: 11.98 kB / 1.17 GB, free: 3.309 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.913e-05/0.3749, allocations: 19.97 kB / 1.17 GB, free: 3.289 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001572/0.3751, allocations: 32.89 kB / 1.17 GB, free: 3.254 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.3751, allocations: 3.938 kB / 1.17 GB, free: 3.25 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001723/0.3753, allocations: 61.66 kB / 1.17 GB, free: 3.184 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.3753, allocations: 10.03 kB / 1.17 GB, free: 3.176 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.3753, allocations: 0 / 1.17 GB, free: 3.176 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.3753, allocations: 256 / 1.17 GB, free: 3.176 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.188e-05/0.3754, allocations: 11.92 kB / 1.17 GB, free: 3.164 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.3755, allocations: 11.97 kB / 1.17 GB, free: 3.152 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.097e-05/0.3755, allocations: 4 kB / 1.17 GB, free: 3.148 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.3755, allocations: 4 kB / 1.17 GB, free: 3.145 MB / 0.92 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 0.0001035/0.3756, allocations: 117.8 kB / 1.17 GB, free: 3.02 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.228e-05/0.3757, allocations: 3.953 kB / 1.17 GB, free: 3.016 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.185e-05/0.3757, allocations: 3.125 kB / 1.17 GB, free: 3.012 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.3757, allocations: 4 kB / 1.17 GB, free: 3.008 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.3757, allocations: 0 / 1.17 GB, free: 3.008 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.3757, allocations: 4 kB / 1.17 GB, free: 3.004 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001878/0.3759, allocations: 157.6 kB / 1.17 GB, free: 2.801 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.3759, allocations: 3.984 kB / 1.17 GB, free: 2.797 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.062e-05/0.376, allocations: 12 kB / 1.17 GB, free: 2.785 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.376, allocations: 0 / 1.17 GB, free: 2.785 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.376, allocations: 0 / 1.17 GB, free: 2.785 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.376, allocations: 0 / 1.17 GB, free: 2.785 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.376, allocations: 0 / 1.17 GB, free: 2.785 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002322/0.3762, allocations: 159.5 kB / 1.17 GB, free: 2.613 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.848e-05/0.3763, allocations: 85.05 kB / 1.17 GB, free: 2.512 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.348e-05/0.3763, allocations: 0 / 1.17 GB, free: 2.512 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.006e-05/0.3764, allocations: 7.984 kB / 1.17 GB, free: 2.504 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.828e-05/0.3765, allocations: 0 / 1.17 GB, free: 2.504 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.3765, allocations: 3.984 kB / 1.17 GB, free: 2.5 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.404e-05/0.3765, allocations: 87.27 kB / 1.171 GB, free: 2.414 MB / 0.92 GB Notification: Performance of sort global known variables: time 1e-07/0.3765, allocations: 32 / 1.171 GB, free: 2.414 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002106/0.3767, allocations: 11.94 kB / 1.171 GB, free: 2.402 MB / 0.92 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.0001746/0.3769, allocations: 99.25 kB / 1.171 GB, free: 2.293 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002364/0.3772, allocations: 31.95 kB / 1.171 GB, free: 2.262 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3772, allocations: 0 / 1.171 GB, free: 2.262 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 7.885e-05/0.3773, allocations: 15.98 kB / 1.171 GB, free: 2.246 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003263/0.3776, allocations: 12.06 kB / 1.171 GB, free: 2.234 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004587/0.3781, allocations: 113.3 kB / 1.171 GB, free: 2.098 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003596/0.3784, allocations: 0.6768 MB / 1.172 GB, free: 1.395 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 4.414e-05/0.3785, allocations: 4 kB / 1.172 GB, free: 1.391 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.716e-05/0.3785, allocations: 7.438 kB / 1.172 GB, free: 1.383 MB / 0.92 GB Notification: Performance of SimCode: time 2.9e-07/0.3785, allocations: 0 / 1.172 GB, free: 1.383 MB / 0.92 GB Notification: Performance of Templates: time 0.002891/0.3814, allocations: 435 kB / 1.172 GB, free: 0.9609 MB / 0.92 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=480 -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/jenkins/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