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.0077/0.0077, allocations: 98.42 kB / 15.73 MB, free: 5.602 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.001184/0.001184, allocations: 195.9 kB / 16.68 MB, free: 5.523 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.591/1.591, allocations: 222.9 MB / 240.4 MB, free: 4.168 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.83/2.83, allocations: 437 MB / 0.7105 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001239, allocations: 67.91 kB / 1.019 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3795/0.3807, allocations: 151.6 MB / 1.167 GB, free: 6.762 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001995/0.3828, allocations: 0.6426 MB / 1.167 GB, free: 6.113 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0009583/0.3837, allocations: 0.8044 MB / 1.168 GB, free: 5.297 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.248e-05/0.3838, allocations: 0 / 1.168 GB, free: 5.297 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001063/0.3839, allocations: 11.92 kB / 1.168 GB, free: 5.285 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 2.551e-05/0.384, allocations: 0 / 1.168 GB, free: 5.285 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000116/0.3841, allocations: 7.938 kB / 1.168 GB, free: 5.277 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.697e-05/0.3842, allocations: 23.92 kB / 1.168 GB, free: 5.254 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.3843, allocations: 7.984 kB / 1.168 GB, free: 5.246 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.12e-05/0.3844, allocations: 4 kB / 1.168 GB, free: 5.242 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.356e-05/0.3844, allocations: 19.92 kB / 1.168 GB, free: 5.223 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.016e-05/0.3844, allocations: 4 kB / 1.168 GB, free: 5.219 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.257e-06/0.3845, allocations: 0 / 1.168 GB, free: 5.219 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.658e-05/0.3845, allocations: 11.98 kB / 1.168 GB, free: 5.207 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.381e-05/0.3846, allocations: 15.92 kB / 1.168 GB, free: 5.191 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000109/0.3847, allocations: 23.84 kB / 1.168 GB, free: 5.168 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 1.059e-05/0.3847, allocations: 11.92 kB / 1.168 GB, free: 5.156 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.927e-06/0.3847, allocations: 3.938 kB / 1.168 GB, free: 5.152 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.111e-05/0.3847, allocations: 3.938 kB / 1.168 GB, free: 5.148 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.0005432/0.3853, allocations: 343.5 kB / 1.168 GB, free: 4.762 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.3854, allocations: 12.03 kB / 1.169 GB, free: 4.75 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.446e-05/0.3854, allocations: 4.891 kB / 1.169 GB, free: 4.746 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000172/0.3856, allocations: 172.3 kB / 1.169 GB, free: 4.539 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.889e-06/0.3856, allocations: 384 / 1.169 GB, free: 4.539 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.667e-05/0.3856, allocations: 8.375 kB / 1.169 GB, free: 4.531 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002021/0.3858, allocations: 50.23 kB / 1.169 GB, free: 4.477 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.3858, allocations: 192 / 1.169 GB, free: 4.477 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.3859, allocations: 3.938 kB / 1.169 GB, free: 4.473 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.3859, allocations: 8 kB / 1.169 GB, free: 4.465 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001522/0.386, allocations: 35.97 kB / 1.169 GB, free: 4.43 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004267/0.3865, allocations: 276.8 kB / 1.169 GB, free: 4.109 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001061/0.3866, allocations: 30.56 kB / 1.169 GB, free: 4.07 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.768e-05/0.3867, allocations: 20.91 kB / 1.169 GB, free: 4.047 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.503e-05/0.3867, allocations: 4 kB / 1.169 GB, free: 4.043 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/0.3867, allocations: 34.5 kB / 1.169 GB, free: 4 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 3.256e-06/0.3867, allocations: 3.984 kB / 1.169 GB, free: 3.996 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.000315/0.387, allocations: 77.64 kB / 1.169 GB, free: 3.914 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.3871, allocations: 55.53 kB / 1.169 GB, free: 3.848 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.886e-05/0.3872, allocations: 101.8 kB / 1.169 GB, free: 3.738 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.3872, allocations: 29.7 kB / 1.169 GB, free: 3.703 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.2e-05/0.3873, allocations: 84.09 kB / 1.169 GB, free: 3.617 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.396e-05/0.3873, allocations: 0 / 1.169 GB, free: 3.617 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.118e-05/0.3873, allocations: 17.72 kB / 1.169 GB, free: 3.594 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.3875, allocations: 318.8 kB / 1.17 GB, free: 3.273 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.433e-05/0.3875, allocations: 15.98 kB / 1.17 GB, free: 3.258 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.523e-05/0.3876, allocations: 15.98 kB / 1.17 GB, free: 3.242 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001385/0.3878, allocations: 44.75 kB / 1.17 GB, free: 3.195 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.3878, allocations: 3.938 kB / 1.17 GB, free: 3.191 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001717/0.3879, allocations: 61.73 kB / 1.17 GB, free: 3.125 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.388, allocations: 6.031 kB / 1.17 GB, free: 3.121 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.388, allocations: 0 / 1.17 GB, free: 3.121 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.388, allocations: 0 / 1.17 GB, free: 3.121 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.41e-05/0.3881, allocations: 7.984 kB / 1.17 GB, free: 3.113 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.3881, allocations: 4 kB / 1.17 GB, free: 3.109 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.904e-05/0.3881, allocations: 3.984 kB / 1.17 GB, free: 3.105 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.3882, allocations: 4.25 kB / 1.17 GB, free: 3.102 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 9.292e-05/0.3883, allocations: 109.8 kB / 1.17 GB, free: 2.984 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.337e-05/0.3883, allocations: 11.98 kB / 1.17 GB, free: 2.973 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.694e-05/0.3883, allocations: 3.125 kB / 1.17 GB, free: 2.969 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-06/0.3883, allocations: 7.938 kB / 1.17 GB, free: 2.961 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.3883, allocations: 0 / 1.17 GB, free: 2.961 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.573e-06/0.3883, allocations: 0 / 1.17 GB, free: 2.961 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001644/0.3885, allocations: 169.6 kB / 1.17 GB, free: 2.746 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.3885, allocations: 3.938 kB / 1.17 GB, free: 2.742 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.678e-05/0.3886, allocations: 7.984 kB / 1.17 GB, free: 2.734 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.3886, allocations: 0 / 1.17 GB, free: 2.734 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.3886, allocations: 0 / 1.17 GB, free: 2.734 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.3886, allocations: 4 kB / 1.17 GB, free: 2.73 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3886, allocations: 0 / 1.17 GB, free: 2.73 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002241/0.3888, allocations: 159.5 kB / 1.17 GB, free: 2.559 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.488e-05/0.3889, allocations: 77.11 kB / 1.17 GB, free: 2.465 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.045e-05/0.3889, allocations: 0 / 1.17 GB, free: 2.465 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.996e-05/0.3889, allocations: 12.02 kB / 1.17 GB, free: 2.453 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.621e-05/0.389, allocations: 0 / 1.17 GB, free: 2.453 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-06/0.389, allocations: 0 / 1.17 GB, free: 2.453 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.973e-05/0.389, allocations: 83.28 kB / 1.171 GB, free: 2.371 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.389, allocations: 0 / 1.171 GB, free: 2.371 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000216/0.3893, allocations: 7.938 kB / 1.171 GB, free: 2.363 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.000126/0.3894, allocations: 103.2 kB / 1.171 GB, free: 2.25 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002006/0.3896, allocations: 39.91 kB / 1.171 GB, free: 2.211 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3896, allocations: 0 / 1.171 GB, free: 2.211 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 7.77e-05/0.3897, allocations: 15.98 kB / 1.171 GB, free: 2.195 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000273/0.39, allocations: 7.938 kB / 1.171 GB, free: 2.188 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002871/0.3903, allocations: 109.4 kB / 1.171 GB, free: 2.055 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002764/0.3906, allocations: 0.6846 MB / 1.172 GB, free: 1.344 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.765e-05/0.3906, allocations: 4.125 kB / 1.172 GB, free: 1.34 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.177e-05/0.3906, allocations: 7.438 kB / 1.172 GB, free: 1.332 MB / 0.92 GB Notification: Performance of SimCode: time 2.2e-07/0.3906, allocations: 0 / 1.172 GB, free: 1.332 MB / 0.92 GB Notification: Performance of Templates: time 0.002312/0.3929, allocations: 424.9 kB / 1.172 GB, free: 0.9219 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