Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002017/0.002017, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002625/0.002625, allocations: 190.7 kB / 22.23 MB, free: 5.105 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.8/2.8, allocations: 476.7 MB / 0.7646 GB, free: 9.914 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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=2500,variableFilter="time|reaRep.u|reaRep.y.1.|reaRep.y.2.|reaRep.y.3.",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002015/0.002015, allocations: 63.89 kB / 1.11 GB, free: 6.375 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 1.113/1.115, allocations: 168.8 MB / 1.274 GB, free: 4.227 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.002206/1.118, allocations: 0.6433 MB / 1.275 GB, free: 3.59 MB / 0.9669 GB
Notification: Performance of NFInst.instExpressions: time 0.00111/1.119, allocations: 0.7962 MB / 1.276 GB, free: 2.781 MB / 0.9669 GB
Notification: Performance of NFInst.updateImplicitVariability: time 6.166e-05/1.119, allocations: 8 kB / 1.276 GB, free: 2.773 MB / 0.9669 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001101/1.119, allocations: 3.938 kB / 1.276 GB, free: 2.77 MB / 0.9669 GB
Notification: Performance of NFTyping.typeBindings: time 2.544e-05/1.119, allocations: 7.922 kB / 1.276 GB, free: 2.762 MB / 0.9669 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0001233/1.119, allocations: 8 kB / 1.276 GB, free: 2.754 MB / 0.9669 GB
Notification: Performance of NFFlatten.flatten: time 8.956e-05/1.119, allocations: 27.92 kB / 1.276 GB, free: 2.727 MB / 0.9669 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/1.119, allocations: 3.984 kB / 1.276 GB, free: 2.723 MB / 0.9669 GB
Notification: Performance of NFEvalConstants.evaluate: time 6.185e-05/1.119, allocations: 15.92 kB / 1.276 GB, free: 2.707 MB / 0.9669 GB
Notification: Performance of NFSimplifyModel.simplify: time 6.142e-05/1.119, allocations: 15.92 kB / 1.276 GB, free: 2.691 MB / 0.9669 GB
Notification: Performance of NFPackage.collectConstants: time 1.831e-05/1.119, allocations: 4 kB / 1.276 GB, free: 2.688 MB / 0.9669 GB
Notification: Performance of NFFlatten.collectFunctions: time 7.324e-06/1.119, allocations: 0 / 1.276 GB, free: 2.688 MB / 0.9669 GB
Notification: Performance of NFScalarize.scalarize: time 5.926e-05/1.119, allocations: 11.94 kB / 1.276 GB, free: 2.676 MB / 0.9669 GB
Notification: Performance of NFVerifyModel.verify: time 3.945e-05/1.119, allocations: 11.94 kB / 1.276 GB, free: 2.664 MB / 0.9669 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001039/1.12, allocations: 31.55 kB / 1.276 GB, free: 2.637 MB / 0.9669 GB
Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/1.12, allocations: 0 / 1.276 GB, free: 2.637 MB / 0.9669 GB
Notification: Performance of FrontEnd: time 2.325e-06/1.12, allocations: 0 / 1.276 GB, free: 2.637 MB / 0.9669 GB
Notification: Performance of Transformations before backend: time 6.752e-06/1.12, allocations: 0 / 1.276 GB, free: 2.637 MB / 0.9669 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.0005132/1.12, allocations: 269 kB / 1.276 GB, free: 2.348 MB / 0.9669 GB
Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/1.12, allocations: 12.03 kB / 1.276 GB, free: 2.336 MB / 0.9669 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.385e-05/1.12, allocations: 0.9375 kB / 1.276 GB, free: 2.336 MB / 0.9669 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001865/1.12, allocations: 118.5 kB / 1.276 GB, free: 2.195 MB / 0.9669 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/1.12, allocations: 384 / 1.276 GB, free: 2.195 MB / 0.9669 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.473e-05/1.12, allocations: 8.312 kB / 1.276 GB, free: 2.188 MB / 0.9669 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002042/1.121, allocations: 54.23 kB / 1.276 GB, free: 2.129 MB / 0.9669 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.978e-06/1.121, allocations: 4.188 kB / 1.276 GB, free: 2.125 MB / 0.9669 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/1.121, allocations: 3.938 kB / 1.276 GB, free: 2.121 MB / 0.9669 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/1.121, allocations: 0 / 1.276 GB, free: 2.121 MB / 0.9669 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001684/1.121, allocations: 39.95 kB / 1.276 GB, free: 2.082 MB / 0.9669 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004665/1.121, allocations: 251.9 kB / 1.277 GB, free: 1.793 MB / 0.9669 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001131/1.121, allocations: 34.55 kB / 1.277 GB, free: 1.75 MB / 0.9669 GB
Notification: Performance of preOpt resolveLoops (simulation): time 7.929e-05/1.121, allocations: 20.91 kB / 1.277 GB, free: 1.727 MB / 0.9669 GB
Notification: Performance of preOpt evalFunc (simulation): time 9.868e-06/1.121, allocations: 0 / 1.277 GB, free: 1.727 MB / 0.9669 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/1.121, allocations: 38.55 kB / 1.277 GB, free: 1.68 MB / 0.9669 GB
Notification: Performance of pre-optimization done (n=1): time 7.21e-07/1.121, allocations: 0 / 1.277 GB, free: 1.68 MB / 0.9669 GB
Notification: Performance of matching and sorting (n=1): time 0.000333/1.122, allocations: 73.59 kB / 1.277 GB, free: 1.602 MB / 0.9669 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.53e-05/1.122, allocations: 59.34 kB / 1.277 GB, free: 1.531 MB / 0.9669 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.422e-05/1.122, allocations: 101.8 kB / 1.277 GB, free: 1.422 MB / 0.9669 GB
Notification: Performance of collectPreVariables (initialization): time 1.846e-05/1.122, allocations: 29.83 kB / 1.277 GB, free: 1.387 MB / 0.9669 GB
Notification: Performance of collectInitialEqns (initialization): time 6.106e-05/1.122, allocations: 92.03 kB / 1.277 GB, free: 1.293 MB / 0.9669 GB
Notification: Performance of collectInitialBindings (initialization): time 1.879e-05/1.122, allocations: 4 kB / 1.277 GB, free: 1.289 MB / 0.9669 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.197e-05/1.122, allocations: 13.7 kB / 1.277 GB, free: 1.27 MB / 0.9669 GB
Notification: Performance of setup shared object (initialization): time 0.000166/1.122, allocations: 318.8 kB / 1.277 GB, free: 0.9492 MB / 0.9669 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 7.684e-05/1.122, allocations: 12.23 kB / 1.277 GB, free: 0.9375 MB / 0.9669 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 6.758e-05/1.122, allocations: 15.98 kB / 1.277 GB, free: 0.9219 MB / 0.9669 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001325/1.123, allocations: 44.88 kB / 1.277 GB, free: 0.875 MB / 0.9669 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/1.123, allocations: 0 / 1.277 GB, free: 0.875 MB / 0.9669 GB
Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001689/1.123, allocations: 65.56 kB / 1.277 GB, free: 0.8047 MB / 0.9669 GB
Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/1.123, allocations: 6.188 kB / 1.277 GB, free: 0.8008 MB / 0.9669 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/1.123, allocations: 3.984 kB / 1.278 GB, free: 0.7969 MB / 0.9669 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/1.123, allocations: 11.97 kB / 1.278 GB, free: 0.7852 MB / 0.9669 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.116e-05/1.123, allocations: 4 kB / 1.278 GB, free: 0.7812 MB / 0.9669 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/1.123, allocations: 0 / 1.278 GB, free: 0.7812 MB / 0.9669 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.344e-05/1.123, allocations: 7.984 kB / 1.278 GB, free: 0.7734 MB / 0.9669 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.844e-06/1.123, allocations: 0 / 1.278 GB, free: 0.7734 MB / 0.9669 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.0001069/1.123, allocations: 117.8 kB / 1.278 GB, free: 0.6484 MB / 0.9669 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.069e-05/1.123, allocations: 0 / 1.278 GB, free: 0.6484 MB / 0.9669 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.262e-05/1.123, allocations: 3.156 kB / 1.278 GB, free: 0.6445 MB / 0.9669 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/1.123, allocations: 7.984 kB / 1.278 GB, free: 0.6367 MB / 0.9669 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.299e-06/1.123, allocations: 0 / 1.278 GB, free: 0.6367 MB / 0.9669 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/1.123, allocations: 0 / 1.278 GB, free: 0.6367 MB / 0.9669 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000179/1.123, allocations: 132.7 kB / 1.278 GB, free: 476 kB / 0.9669 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/1.123, allocations: 0 / 1.278 GB, free: 476 kB / 0.9669 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.871e-05/1.123, allocations: 7.984 kB / 1.278 GB, free: 468 kB / 0.9669 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/1.123, allocations: 0 / 1.278 GB, free: 468 kB / 0.9669 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/1.123, allocations: 4 kB / 1.278 GB, free: 464 kB / 0.9669 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/1.123, allocations: 0 / 1.278 GB, free: 464 kB / 0.9669 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/1.123, allocations: 0 / 1.278 GB, free: 464 kB / 0.9669 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000235/1.124, allocations: 167.4 kB / 1.278 GB, free: 280 kB / 0.9669 GB
Notification: Performance of postOpt removeConstants (simulation): time 5.511e-06/1.124, allocations: 0 / 1.278 GB, free: 280 kB / 0.9669 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/1.124, allocations: 4 kB / 1.278 GB, free: 276 kB / 0.9669 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.773e-05/1.124, allocations: 11.92 kB / 1.278 GB, free: 264 kB / 0.9669 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.681e-05/1.124, allocations: 0 / 1.278 GB, free: 264 kB / 0.9669 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-06/1.124, allocations: 0 / 1.278 GB, free: 264 kB / 0.9669 GB
Notification: Performance of sorting global known variables: time 5.199e-05/1.124, allocations: 87.31 kB / 1.278 GB, free: 176 kB / 0.9669 GB
Notification: Performance of sort global known variables: time 9e-08/1.124, allocations: 0 / 1.278 GB, free: 176 kB / 0.9669 GB
Notification: Performance of remove unused functions: time 0.0002099/1.124, allocations: 7.953 kB / 1.278 GB, free: 168 kB / 0.9669 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.0001319/1.124, allocations: 99.23 kB / 1.278 GB, free: 56 kB / 0.9669 GB
Notification: Performance of simCode: created initialization part: time 0.0001975/1.124, allocations: 27.97 kB / 1.278 GB, free: 28 kB / 0.9669 GB
Notification: Performance of simCode: created event and clocks part: time 2.345e-06/1.124, allocations: 4 kB / 1.278 GB, free: 24 kB / 0.9669 GB
Notification: Performance of simCode: created simulation system equations: time 7.455e-05/1.124, allocations: 19.98 kB / 1.278 GB, free: 4 kB / 0.9669 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003584/1.125, allocations: 16.11 kB / 1.278 GB, free: 15.99 MB / 0.9825 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003476/1.125, allocations: 109.5 kB / 1.278 GB, free: 15.86 MB / 0.9825 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003363/1.125, allocations: 0.6807 MB / 1.279 GB, free: 15.15 MB / 0.9825 GB
Notification: Performance of simCode: alias equations: time 3.095e-05/1.125, allocations: 0 / 1.279 GB, free: 15.15 MB / 0.9825 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.78e-05/1.125, allocations: 7.438 kB / 1.279 GB, free: 15.14 MB / 0.9825 GB
Notification: Performance of SimCode: time 3.11e-07/1.125, allocations: 4.062 kB / 1.279 GB, free: 15.14 MB / 0.9825 GB
Notification: Performance of Templates: time 0.003077/1.129, allocations: 435 kB / 1.279 GB, free: 14.72 MB / 0.9825 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.makefile [Timeout 300]
(rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.298509120941162]