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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 79.73 kB / 19.76 MB, free: 1.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001714/0.001714, allocations: 158.5 kB / 23.01 MB, free: 4.598 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.501/1.501, allocations: 177.2 MB / 203.4 MB, free: 8.996 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.036/3.036, allocations: 394.2 MB / 0.6386 GB, free: 11.96 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|reaRep.u|reaRep.y.1.|reaRep.y.2.|reaRep.y.3.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002135/0.002135, allocations: 63.91 kB / 1.009 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1/1.003, allocations: 181.8 MB / 1.187 GB, free: 16.22 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.00195/1.004, allocations: 0.6473 MB / 1.187 GB, free: 15.83 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0008869/1.005, allocations: 0.8191 MB / 1.188 GB, free: 15.21 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.698e-05/1.005, allocations: 1.594 kB / 1.188 GB, free: 15.21 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 9.256e-05/1.005, allocations: 4.641 kB / 1.188 GB, free: 15.21 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 2.18e-05/1.006, allocations: 5.594 kB / 1.188 GB, free: 15.2 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001119/1.006, allocations: 8.219 kB / 1.188 GB, free: 15.2 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 8.01e-05/1.006, allocations: 33.23 kB / 1.188 GB, free: 15.18 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/1.006, allocations: 2.047 kB / 1.188 GB, free: 15.18 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 4.615e-05/1.006, allocations: 14.62 kB / 1.188 GB, free: 15.17 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 5.49e-05/1.006, allocations: 14.75 kB / 1.188 GB, free: 15.16 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.961e-05/1.006, allocations: 2.062 kB / 1.188 GB, free: 15.16 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 8.987e-06/1.006, allocations: 11.06 kB / 1.188 GB, free: 15.16 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 5.479e-05/1.006, allocations: 3.875 kB / 1.188 GB, free: 15.16 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 3.236e-05/1.006, allocations: 11.7 kB / 1.188 GB, free: 15.15 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 8.857e-05/1.006, allocations: 28.78 kB / 1.188 GB, free: 15.14 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/1.006, allocations: 5.406 kB / 1.188 GB, free: 15.13 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.683e-06/1.006, allocations: 0 / 1.188 GB, free: 15.13 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.24e-06/1.006, allocations: 0 / 1.188 GB, free: 15.13 MB / 1.076 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.0004117/1.007, allocations: 266.7 kB / 1.188 GB, free: 14.87 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/1.007, allocations: 9.375 kB / 1.188 GB, free: 14.87 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.064e-05/1.007, allocations: 4.125 kB / 1.188 GB, free: 14.87 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/1.007, allocations: 112.1 kB / 1.189 GB, free: 14.74 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/1.007, allocations: 5.625 kB / 1.189 GB, free: 14.73 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.5e-05/1.007, allocations: 2.25 kB / 1.189 GB, free: 14.73 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/1.007, allocations: 57.94 kB / 1.189 GB, free: 14.7 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/1.007, allocations: 4.125 kB / 1.189 GB, free: 14.69 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/1.007, allocations: 3.938 kB / 1.189 GB, free: 14.69 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/1.007, allocations: 6.141 kB / 1.189 GB, free: 14.68 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001741/1.007, allocations: 38.2 kB / 1.189 GB, free: 14.68 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003487/1.008, allocations: 216.2 kB / 1.189 GB, free: 14.46 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001237/1.008, allocations: 41.7 kB / 1.189 GB, free: 14.43 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.556e-05/1.008, allocations: 17.94 kB / 1.189 GB, free: 14.42 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.444e-05/1.008, allocations: 1.406 kB / 1.189 GB, free: 14.42 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.702e-05/1.008, allocations: 32.69 kB / 1.189 GB, free: 14.38 MB / 1.076 GB Notification: Performance of pre-optimization done (n=1): time 1.162e-06/1.008, allocations: 0 / 1.189 GB, free: 14.38 MB / 1.076 GB Notification: Performance of matching and sorting (n=1): time 0.0003491/1.008, allocations: 80.12 kB / 1.189 GB, free: 14.34 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.815e-05/1.008, allocations: 51.97 kB / 1.189 GB, free: 14.28 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.007e-05/1.008, allocations: 103.4 kB / 1.189 GB, free: 14.18 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.018e-05/1.008, allocations: 29.7 kB / 1.189 GB, free: 14.14 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.141e-05/1.008, allocations: 91.53 kB / 1.189 GB, free: 14.05 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.813e-05/1.008, allocations: 0.5156 kB / 1.189 GB, free: 14.05 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.724e-05/1.008, allocations: 12.67 kB / 1.189 GB, free: 14.04 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.795e-05/1.008, allocations: 317.1 kB / 1.19 GB, free: 13.72 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.679e-05/1.008, allocations: 17.14 kB / 1.19 GB, free: 13.71 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.221e-05/1.009, allocations: 14.8 kB / 1.19 GB, free: 13.71 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001535/1.009, allocations: 35.72 kB / 1.19 GB, free: 13.7 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/1.009, allocations: 3.938 kB / 1.19 GB, free: 13.7 MB / 1.076 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001848/1.009, allocations: 64.06 kB / 1.19 GB, free: 13.66 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/1.009, allocations: 11.59 kB / 1.19 GB, free: 13.66 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/1.009, allocations: 0 / 1.19 GB, free: 13.66 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/1.009, allocations: 1.156 kB / 1.19 GB, free: 13.66 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.621e-05/1.009, allocations: 11.5 kB / 1.19 GB, free: 13.65 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/1.009, allocations: 3.938 kB / 1.19 GB, free: 13.65 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.691e-05/1.009, allocations: 6.328 kB / 1.19 GB, free: 13.65 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-06/1.009, allocations: 1.344 kB / 1.19 GB, free: 13.65 MB / 1.076 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 4.921e-05/1.009, allocations: 117.5 kB / 1.19 GB, free: 13.53 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.144e-05/1.009, allocations: 1.219 kB / 1.19 GB, free: 13.53 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.994e-05/1.009, allocations: 9.375 kB / 1.19 GB, free: 13.52 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/1.009, allocations: 0 / 1.19 GB, free: 13.52 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/1.009, allocations: 5.859 kB / 1.19 GB, free: 13.51 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/1.009, allocations: 3.938 kB / 1.19 GB, free: 13.51 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000103/1.009, allocations: 109.1 kB / 1.19 GB, free: 13.38 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/1.009, allocations: 0.75 kB / 1.19 GB, free: 13.38 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.887e-05/1.009, allocations: 7.062 kB / 1.19 GB, free: 13.38 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/1.009, allocations: 1.219 kB / 1.19 GB, free: 13.38 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/1.009, allocations: 0.75 kB / 1.19 GB, free: 13.38 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/1.009, allocations: 1.219 kB / 1.19 GB, free: 13.38 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/1.009, allocations: 0 / 1.19 GB, free: 13.38 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002121/1.01, allocations: 165.5 kB / 1.19 GB, free: 13.23 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 9.077e-06/1.01, allocations: 5.703 kB / 1.19 GB, free: 13.23 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.098e-05/1.01, allocations: 0 / 1.19 GB, free: 13.23 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.308e-05/1.01, allocations: 6.062 kB / 1.19 GB, free: 13.23 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.932e-05/1.01, allocations: 2.422 kB / 1.19 GB, free: 13.23 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-06/1.01, allocations: 1.156 kB / 1.19 GB, free: 13.23 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.626e-05/1.01, allocations: 81.53 kB / 1.19 GB, free: 13.16 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/1.01, allocations: 0 / 1.19 GB, free: 13.16 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002178/1.01, allocations: 11.45 kB / 1.19 GB, free: 13.15 MB / 1.076 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 9.854e-05/1.01, allocations: 99.5 kB / 1.19 GB, free: 13.05 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002213/1.01, allocations: 33.11 kB / 1.19 GB, free: 13.05 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/1.01, allocations: 0 / 1.19 GB, free: 13.05 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 9.851e-05/1.01, allocations: 14.67 kB / 1.19 GB, free: 13.05 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003106/1.011, allocations: 10.95 kB / 1.19 GB, free: 13.04 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002698/1.011, allocations: 109.2 kB / 1.191 GB, free: 12.93 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.954e-05/1.011, allocations: 66.81 kB / 1.191 GB, free: 12.86 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.849e-05/1.011, allocations: 1.859 kB / 1.191 GB, free: 12.86 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.272e-05/1.011, allocations: 9.5 kB / 1.191 GB, free: 12.85 MB / 1.076 GB Notification: Performance of SimCode: time 3.91e-07/1.011, allocations: 0 / 1.191 GB, free: 12.85 MB / 1.076 GB Notification: Performance of Templates: time 0.002858/1.014, allocations: 465.6 kB / 1.191 GB, free: 12.76 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.makefile [Timeout 300] (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=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.409312629024498]