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.001867/0.001867, allocations: 77.48 kB / 19.18 MB, free: 2.52 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.002256/0.002256, allocations: 166.7 kB / 22.46 MB, free: 5.375 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.532/1.532, allocations: 177.1 MB / 202.8 MB, free: 9.172 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 2.911/2.911, allocations: 389 MB / 0.633 GB, free: 0.9961 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 2.585e-06/2.585e-06, allocations: 0 / 1 GB, free: 6.215 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.126e-05/3.384e-05, allocations: 4.812 kB / 1 GB, free: 6.211 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.002067/0.002101, allocations: 0.6565 MB / 1.001 GB, free: 5.555 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001238/0.003339, allocations: 0.816 MB / 1.002 GB, free: 4.727 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.45e-05/0.003393, allocations: 4 kB / 1.002 GB, free: 4.723 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0001086/0.003502, allocations: 3.938 kB / 1.002 GB, free: 4.719 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 2.717e-05/0.003529, allocations: 0 / 1.002 GB, free: 4.719 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001206/0.00365, allocations: 7.984 kB / 1.002 GB, free: 4.711 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 8.71e-05/0.003737, allocations: 27.92 kB / 1.002 GB, free: 4.684 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 9.661e-05/0.003833, allocations: 0 / 1.002 GB, free: 4.684 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 8.669e-05/0.00392, allocations: 23.86 kB / 1.002 GB, free: 4.66 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 5.028e-05/0.00397, allocations: 7.984 kB / 1.002 GB, free: 4.652 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.896e-05/0.003989, allocations: 4 kB / 1.002 GB, free: 4.648 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 6.843e-06/0.003996, allocations: 4 kB / 1.002 GB, free: 4.645 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 5.755e-05/0.004054, allocations: 11.98 kB / 1.002 GB, free: 4.633 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 3.773e-05/0.004091, allocations: 11.92 kB / 1.002 GB, free: 4.621 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 9.689e-05/0.004188, allocations: 27.89 kB / 1.002 GB, free: 4.594 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.351e-06/0.004194, allocations: 4 kB / 1.002 GB, free: 4.59 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.202e-06/0.004195, allocations: 0 / 1.002 GB, free: 4.59 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.598e-06/0.004199, allocations: 0 / 1.002 GB, free: 4.59 MB / 0.9044 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.0005224/0.004722, allocations: 266.3 kB / 1.002 GB, free: 4.297 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.004762, allocations: 8.031 kB / 1.002 GB, free: 4.289 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.328e-05/0.004796, allocations: 0.9375 kB / 1.002 GB, free: 4.289 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001716/0.004967, allocations: 117.8 kB / 1.002 GB, free: 4.148 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.00498, allocations: 4.375 kB / 1.002 GB, free: 4.145 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.016e-05/0.00499, allocations: 4.312 kB / 1.002 GB, free: 4.141 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002077/0.005198, allocations: 62.17 kB / 1.002 GB, free: 4.074 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.005208, allocations: 192 / 1.002 GB, free: 4.074 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.00522, allocations: 4.359 kB / 1.002 GB, free: 4.07 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.005225, allocations: 384 / 1.002 GB, free: 4.07 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001743/0.005399, allocations: 35.91 kB / 1.002 GB, free: 4.035 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004063/0.005805, allocations: 216.5 kB / 1.002 GB, free: 3.793 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001289/0.005934, allocations: 42.5 kB / 1.002 GB, free: 3.742 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.197e-05/0.006026, allocations: 20.89 kB / 1.002 GB, free: 3.719 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.328e-05/0.006039, allocations: 0 / 1.002 GB, free: 3.719 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.714e-05/0.006076, allocations: 38.5 kB / 1.002 GB, free: 3.672 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.006078, allocations: 4 kB / 1.002 GB, free: 3.668 MB / 0.9044 GB Notification: Performance of matching and sorting (n=1): time 0.0003808/0.006458, allocations: 73.64 kB / 1.003 GB, free: 3.59 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.435e-05/0.006533, allocations: 55.41 kB / 1.003 GB, free: 3.523 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.695e-05/0.00663, allocations: 101.9 kB / 1.003 GB, free: 3.414 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.006649, allocations: 29.64 kB / 1.003 GB, free: 3.379 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001518/0.006801, allocations: 92.08 kB / 1.003 GB, free: 3.285 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.822e-05/0.006819, allocations: 4 kB / 1.003 GB, free: 3.281 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.02e-05/0.006849, allocations: 9.719 kB / 1.003 GB, free: 3.266 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001864/0.007035, allocations: 314.8 kB / 1.003 GB, free: 2.949 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.751e-05/0.007123, allocations: 16.11 kB / 1.003 GB, free: 2.934 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.546e-05/0.007198, allocations: 19.97 kB / 1.003 GB, free: 2.914 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001556/0.007354, allocations: 36.83 kB / 1.003 GB, free: 2.875 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.007355, allocations: 0 / 1.003 GB, free: 2.875 MB / 0.9044 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002042/0.007559, allocations: 69.55 kB / 1.003 GB, free: 2.801 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.007575, allocations: 4.094 kB / 1.003 GB, free: 2.797 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.007579, allocations: 4 kB / 1.003 GB, free: 2.793 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.007594, allocations: 0 / 1.003 GB, free: 2.793 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.474e-05/0.007678, allocations: 11.92 kB / 1.003 GB, free: 2.781 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.007683, allocations: 4 kB / 1.003 GB, free: 2.777 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.141e-05/0.007725, allocations: 0 / 1.003 GB, free: 2.777 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-06/0.007731, allocations: 4 kB / 1.003 GB, free: 2.773 MB / 0.9044 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.602e-05/0.007817, allocations: 106.4 kB / 1.003 GB, free: 2.66 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.784e-05/0.007845, allocations: 11.92 kB / 1.003 GB, free: 2.648 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.498e-05/0.00787, allocations: 11.14 kB / 1.003 GB, free: 2.633 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.007871, allocations: 7.938 kB / 1.003 GB, free: 2.625 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.007875, allocations: 0 / 1.003 GB, free: 2.625 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.007877, allocations: 0 / 1.003 GB, free: 2.625 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000146/0.008023, allocations: 109.3 kB / 1.004 GB, free: 2.488 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.008024, allocations: 0 / 1.004 GB, free: 2.488 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.256e-05/0.008076, allocations: 8 kB / 1.004 GB, free: 2.48 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.008078, allocations: 0 / 1.004 GB, free: 2.48 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.008089, allocations: 7.922 kB / 1.004 GB, free: 2.473 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.00809, allocations: 0 / 1.004 GB, free: 2.473 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.008091, allocations: 0 / 1.004 GB, free: 2.473 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002712/0.008363, allocations: 159.5 kB / 1.004 GB, free: 2.301 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 1.016e-05/0.008373, allocations: 7.938 kB / 1.004 GB, free: 2.293 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.377e-05/0.008386, allocations: 3.938 kB / 1.004 GB, free: 2.289 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.086e-05/0.008457, allocations: 4 kB / 1.004 GB, free: 2.285 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.681e-05/0.008504, allocations: 11.92 kB / 1.004 GB, free: 2.273 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-06/0.008506, allocations: 0 / 1.004 GB, free: 2.273 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.215e-05/0.008559, allocations: 87.53 kB / 1.004 GB, free: 2.188 MB / 0.9044 GB Notification: Performance of sort global known variables: time 6e-08/0.008559, allocations: 0 / 1.004 GB, free: 2.188 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002111/0.00877, allocations: 4 kB / 1.004 GB, free: 2.184 MB / 0.9044 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.0001362/0.008906, allocations: 95.28 kB / 1.004 GB, free: 2.082 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000211/0.009117, allocations: 39.95 kB / 1.004 GB, free: 2.043 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.009119, allocations: 0 / 1.004 GB, free: 2.043 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 8.477e-05/0.009203, allocations: 15.98 kB / 1.004 GB, free: 2.027 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002947/0.009498, allocations: 0 / 1.004 GB, free: 2.027 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003215/0.009819, allocations: 120.8 kB / 1.004 GB, free: 1.883 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.623e-05/0.009886, allocations: 71.25 kB / 1.004 GB, free: 1.793 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.134e-05/0.009917, allocations: 7.984 kB / 1.004 GB, free: 1.785 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.519e-05/0.009942, allocations: 8.5 kB / 1.004 GB, free: 1.777 MB / 0.9044 GB Notification: Performance of SimCode: time 2.8e-07/0.009943, allocations: 0 / 1.004 GB, free: 1.777 MB / 0.9044 GB Notification: Performance of Templates: time 0.003012/0.01295, allocations: 464.8 kB / 1.005 GB, free: 1.332 MB / 0.9044 GB " [Timeout remaining time 300] 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 -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/jenkins/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: 8.325502634048462]