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.001397/0.001397, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001563/0.001563, allocations: 219.8 kB / 23.01 MB, free: 4.609 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.509/1.509, allocations: 230.6 MB / 256.8 MB, free: 8.027 MB / 206.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.315/3.315, allocations: 0.505 GB / 0.8108 GB, free: 22.01 MB / 0.6231 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.001995/0.001995, allocations: 68.38 kB / 1.178 GB, free: 16.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3486/0.3506, allocations: 180.2 MB / 1.354 GB, free: 7.961 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001918/0.3525, allocations: 0.6519 MB / 1.355 GB, free: 7.312 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001045/0.3535, allocations: 0.832 MB / 1.356 GB, free: 6.469 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.737e-05/0.3536, allocations: 3.938 kB / 1.356 GB, free: 6.465 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 8.364e-05/0.3537, allocations: 0 / 1.356 GB, free: 6.465 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 2.206e-05/0.3537, allocations: 3.938 kB / 1.356 GB, free: 6.461 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001046/0.3538, allocations: 7.984 kB / 1.356 GB, free: 6.453 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 8.197e-05/0.3539, allocations: 27.92 kB / 1.356 GB, free: 6.426 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.354, allocations: 8 kB / 1.356 GB, free: 6.418 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 4.832e-05/0.354, allocations: 3.938 kB / 1.356 GB, free: 6.414 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.294e-05/0.3541, allocations: 15.92 kB / 1.356 GB, free: 6.398 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.3541, allocations: 4 kB / 1.356 GB, free: 6.395 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 6.312e-06/0.3541, allocations: 4 kB / 1.356 GB, free: 6.391 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 5.775e-05/0.3542, allocations: 15.97 kB / 1.356 GB, free: 6.375 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.406e-05/0.3542, allocations: 11.94 kB / 1.356 GB, free: 6.363 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 9.097e-05/0.3543, allocations: 23.89 kB / 1.356 GB, free: 6.34 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 1.374e-05/0.3543, allocations: 7.938 kB / 1.356 GB, free: 6.332 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.333e-06/0.3543, allocations: 4 kB / 1.356 GB, free: 6.328 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.3543, allocations: 0 / 1.356 GB, free: 6.328 MB / 1.045 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.0004583/0.3548, allocations: 266.3 kB / 1.356 GB, free: 6.035 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.3548, allocations: 12.03 kB / 1.356 GB, free: 6.023 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.777e-05/0.3548, allocations: 4.891 kB / 1.356 GB, free: 6.02 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001604/0.355, allocations: 118.5 kB / 1.356 GB, free: 5.879 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.355, allocations: 8.375 kB / 1.356 GB, free: 5.871 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.719e-06/0.355, allocations: 384 / 1.356 GB, free: 5.871 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000201/0.3552, allocations: 54.23 kB / 1.356 GB, free: 5.812 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.3552, allocations: 192 / 1.356 GB, free: 5.812 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.3552, allocations: 7.875 kB / 1.356 GB, free: 5.805 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.3552, allocations: 0 / 1.356 GB, free: 5.805 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001638/0.3554, allocations: 39.97 kB / 1.356 GB, free: 5.766 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004258/0.3558, allocations: 243.9 kB / 1.356 GB, free: 5.484 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001214/0.356, allocations: 38.55 kB / 1.356 GB, free: 5.438 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.894e-05/0.356, allocations: 24.91 kB / 1.356 GB, free: 5.41 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.178e-05/0.3561, allocations: 0 / 1.356 GB, free: 5.41 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.3561, allocations: 30.56 kB / 1.356 GB, free: 5.371 MB / 1.045 GB Notification: Performance of pre-optimization done (n=1): time 8.11e-07/0.3561, allocations: 0 / 1.356 GB, free: 5.371 MB / 1.045 GB Notification: Performance of matching and sorting (n=1): time 0.0003465/0.3564, allocations: 77.58 kB / 1.357 GB, free: 5.289 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.583e-05/0.3565, allocations: 51.41 kB / 1.357 GB, free: 5.227 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.746e-05/0.3566, allocations: 110 kB / 1.357 GB, free: 5.109 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.3566, allocations: 25.7 kB / 1.357 GB, free: 5.078 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.576e-05/0.3567, allocations: 88.09 kB / 1.357 GB, free: 4.988 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.715e-05/0.3567, allocations: 4 kB / 1.357 GB, free: 4.984 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.904e-05/0.3567, allocations: 9.719 kB / 1.357 GB, free: 4.969 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.3568, allocations: 314.8 kB / 1.357 GB, free: 4.652 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.591e-05/0.3569, allocations: 23.97 kB / 1.357 GB, free: 4.629 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.848e-05/0.357, allocations: 15.98 kB / 1.357 GB, free: 4.613 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001412/0.3571, allocations: 32.83 kB / 1.357 GB, free: 4.578 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3571, allocations: 0 / 1.357 GB, free: 4.578 MB / 1.045 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001846/0.3573, allocations: 65.59 kB / 1.357 GB, free: 4.508 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.3573, allocations: 10.5 kB / 1.357 GB, free: 4.5 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.3574, allocations: 4.094 kB / 1.357 GB, free: 4.496 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.3574, allocations: 0 / 1.357 GB, free: 4.496 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.908e-05/0.3574, allocations: 7.984 kB / 1.357 GB, free: 4.488 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.3574, allocations: 0 / 1.357 GB, free: 4.488 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.272e-05/0.3575, allocations: 4 kB / 1.357 GB, free: 4.484 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.3575, allocations: 0 / 1.357 GB, free: 4.484 MB / 1.045 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.0001081/0.3576, allocations: 122.4 kB / 1.357 GB, free: 4.355 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.416e-05/0.3576, allocations: 3.953 kB / 1.357 GB, free: 4.352 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.795e-05/0.3576, allocations: 15.09 kB / 1.357 GB, free: 4.336 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.3576, allocations: 0 / 1.357 GB, free: 4.336 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.3577, allocations: 4 kB / 1.357 GB, free: 4.332 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.3577, allocations: 0 / 1.357 GB, free: 4.332 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001744/0.3578, allocations: 136.9 kB / 1.358 GB, free: 4.156 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.3578, allocations: 4 kB / 1.358 GB, free: 4.152 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.173e-05/0.3579, allocations: 8 kB / 1.358 GB, free: 4.145 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.3579, allocations: 0 / 1.358 GB, free: 4.145 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-06/0.3579, allocations: 0 / 1.358 GB, free: 4.145 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.3579, allocations: 3.984 kB / 1.358 GB, free: 4.141 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.3579, allocations: 0 / 1.358 GB, free: 4.141 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002454/0.3581, allocations: 159.4 kB / 1.358 GB, free: 3.969 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.103e-05/0.3582, allocations: 7.984 kB / 1.358 GB, free: 3.961 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.052e-05/0.3582, allocations: 0 / 1.358 GB, free: 3.961 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.598e-05/0.3582, allocations: 8 kB / 1.358 GB, free: 3.953 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.901e-05/0.3583, allocations: 7.969 kB / 1.358 GB, free: 3.945 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.404e-06/0.3583, allocations: 4.031 kB / 1.358 GB, free: 3.941 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.425e-05/0.3583, allocations: 79.28 kB / 1.358 GB, free: 3.863 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3583, allocations: 0 / 1.358 GB, free: 3.863 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000227/0.3586, allocations: 4 kB / 1.358 GB, free: 3.859 MB / 1.045 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.0001136/0.3587, allocations: 95.25 kB / 1.358 GB, free: 3.754 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002253/0.3589, allocations: 31.95 kB / 1.358 GB, free: 3.723 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.3589, allocations: 8 kB / 1.358 GB, free: 3.715 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 8.054e-05/0.359, allocations: 19.98 kB / 1.358 GB, free: 3.695 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002918/0.3593, allocations: 7.938 kB / 1.358 GB, free: 3.688 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003001/0.3596, allocations: 123.4 kB / 1.358 GB, free: 3.535 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003389/0.3599, allocations: 0.6807 MB / 1.359 GB, free: 2.828 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.765e-05/0.3599, allocations: 7.438 kB / 1.359 GB, free: 2.82 MB / 1.045 GB Notification: Performance of SimCode: time 3.91e-07/0.3599, allocations: 4.062 kB / 1.359 GB, free: 2.816 MB / 1.045 GB Notification: Performance of Templates: time 0.002038/0.362, allocations: 0.5783 MB / 1.359 GB, free: 2.246 MB / 1.045 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/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: 11.537885644997004]