Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator.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.001431/0.001431, allocations: 110 kB / 18.93 MB, free: 2.945 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.001538/0.001538, allocations: 190.1 kB / 22.23 MB, free: 5.16 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.479/1.479, 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.82/2.82, allocations: 476.7 MB / 0.7646 GB, free: 9.859 MB / 0.6231 GB
"
[Timeout remaining time 177]
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.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intRep.u|intRep.y.2.|intRep.y.1.",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator")
translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intRep.u|intRep.y.2.|intRep.y.1.",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002047/0.002047, allocations: 63.89 kB / 1.11 GB, free: 6.289 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.8464/0.8485, allocations: 168.8 MB / 1.274 GB, free: 4.16 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.003235/0.8517, allocations: 1.789 MB / 1.276 GB, free: 2.363 MB / 0.9669 GB
Notification: Performance of NFInst.instExpressions: time 0.001897/0.8536, allocations: 1.139 MB / 1.277 GB, free: 1.219 MB / 0.9669 GB
Notification: Performance of NFInst.updateImplicitVariability: time 9.089e-05/0.8537, allocations: 0 / 1.277 GB, free: 1.219 MB / 0.9669 GB
Notification: Performance of NFTyping.typeComponents: time 0.0003342/0.854, allocations: 51.73 kB / 1.277 GB, free: 1.168 MB / 0.9669 GB
Notification: Performance of NFTyping.typeBindings: time 0.0002696/0.8543, allocations: 79.67 kB / 1.277 GB, free: 1.09 MB / 0.9669 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0006657/0.855, allocations: 236.3 kB / 1.278 GB, free: 0.8633 MB / 0.9669 GB
Notification: Performance of NFFlatten.flatten: time 0.0002452/0.8552, allocations: 147.6 kB / 1.278 GB, free: 0.7188 MB / 0.9669 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.8553, allocations: 17.3 kB / 1.278 GB, free: 0.7031 MB / 0.9669 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001175/0.8555, allocations: 63.77 kB / 1.278 GB, free: 0.6406 MB / 0.9669 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001241/0.8556, allocations: 71.73 kB / 1.278 GB, free: 0.5703 MB / 0.9669 GB
Notification: Performance of NFPackage.collectConstants: time 2.458e-05/0.8556, allocations: 4 kB / 1.278 GB, free: 0.5664 MB / 0.9669 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001993/0.8558, allocations: 91.86 kB / 1.278 GB, free: 488 kB / 0.9669 GB
Notification: Performance of NFScalarize.scalarize: time 8.269e-05/0.8559, allocations: 35.86 kB / 1.278 GB, free: 452 kB / 0.9669 GB
Notification: Performance of NFVerifyModel.verify: time 7.744e-05/0.856, allocations: 55.61 kB / 1.278 GB, free: 396 kB / 0.9669 GB
Notification: Performance of NFConvertDAE.convert: time 0.0003485/0.8563, allocations: 205.6 kB / 1.278 GB, free: 196 kB / 0.9669 GB
Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.8563, allocations: 4 kB / 1.278 GB, free: 192 kB / 0.9669 GB
Notification: Performance of FrontEnd: time 1.433e-06/0.8563, allocations: 0 / 1.278 GB, free: 192 kB / 0.9669 GB
Notification: Performance of Transformations before backend: time 5.28e-06/0.8563, allocations: 3.938 kB / 1.278 GB, free: 188 kB / 0.9669 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 10
 * Number of variables: 10
Notification: Performance of Generate backend data structure: time 0.0007977/0.8571, allocations: 419 kB / 1.279 GB, free: 15.74 MB / 0.9825 GB
Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.8572, allocations: 12.03 kB / 1.279 GB, free: 15.73 MB / 0.9825 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.869e-05/0.8572, allocations: 20.83 kB / 1.279 GB, free: 15.71 MB / 0.9825 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003757/0.8576, allocations: 199 kB / 1.279 GB, free: 15.48 MB / 0.9825 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.8576, allocations: 4.375 kB / 1.279 GB, free: 15.48 MB / 0.9825 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.031e-05/0.8576, allocations: 12.12 kB / 1.279 GB, free: 15.47 MB / 0.9825 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002388/0.8579, allocations: 92.22 kB / 1.279 GB, free: 15.36 MB / 0.9825 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.8579, allocations: 0 / 1.279 GB, free: 15.36 MB / 0.9825 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.8579, allocations: 0 / 1.279 GB, free: 15.36 MB / 0.9825 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.921e-05/0.8579, allocations: 4 kB / 1.279 GB, free: 15.36 MB / 0.9825 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000146/0.8581, allocations: 43.91 kB / 1.279 GB, free: 15.32 MB / 0.9825 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005648/0.8586, allocations: 319.8 kB / 1.279 GB, free: 14.96 MB / 0.9825 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.000251/0.8589, allocations: 86.69 kB / 1.279 GB, free: 14.87 MB / 0.9825 GB
Notification: Performance of preOpt resolveLoops (simulation): time 7.564e-05/0.859, allocations: 24.84 kB / 1.279 GB, free: 14.84 MB / 0.9825 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.704e-05/0.859, allocations: 12 kB / 1.279 GB, free: 14.83 MB / 0.9825 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001868/0.8592, allocations: 83.27 kB / 1.279 GB, free: 14.73 MB / 0.9825 GB
Notification: Performance of pre-optimization done (n=8): time 1.372e-06/0.8592, allocations: 0 / 1.279 GB, free: 14.73 MB / 0.9825 GB
Notification: Performance of matching and sorting (n=8): time 0.0003989/0.8596, allocations: 145.5 kB / 1.28 GB, free: 14.59 MB / 0.9825 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.674e-05/0.8597, allocations: 106.8 kB / 1.28 GB, free: 14.46 MB / 0.9825 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002996/0.86, allocations: 259 kB / 1.28 GB, free: 14.19 MB / 0.9825 GB
Notification: Performance of collectPreVariables (initialization): time 3.361e-05/0.86, allocations: 25.7 kB / 1.28 GB, free: 14.16 MB / 0.9825 GB
Notification: Performance of collectInitialEqns (initialization): time 8.945e-05/0.8601, allocations: 120.1 kB / 1.28 GB, free: 14.04 MB / 0.9825 GB
Notification: Performance of collectInitialBindings (initialization): time 3.052e-05/0.8601, allocations: 23.78 kB / 1.28 GB, free: 14.02 MB / 0.9825 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.537e-05/0.8602, allocations: 29.72 kB / 1.28 GB, free: 13.98 MB / 0.9825 GB
Notification: Performance of setup shared object (initialization): time 0.0001865/0.8604, allocations: 330.8 kB / 1.28 GB, free: 13.65 MB / 0.9825 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 7.844e-05/0.8604, allocations: 23.98 kB / 1.281 GB, free: 13.62 MB / 0.9825 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001157/0.8605, allocations: 68.28 kB / 1.281 GB, free: 13.54 MB / 0.9825 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001668/0.8607, allocations: 81.91 kB / 1.281 GB, free: 13.46 MB / 0.9825 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.8607, allocations: 4 kB / 1.281 GB, free: 13.45 MB / 0.9825 GB
Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002322/0.861, allocations: 105.6 kB / 1.281 GB, free: 13.34 MB / 0.9825 GB
Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.861, allocations: 8 kB / 1.281 GB, free: 13.34 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.861, allocations: 0 / 1.281 GB, free: 13.34 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.861, allocations: 4.125 kB / 1.281 GB, free: 13.33 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.8611, allocations: 15.98 kB / 1.281 GB, free: 13.32 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.8611, allocations: 7.969 kB / 1.281 GB, free: 13.31 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.713e-05/0.8612, allocations: 15.89 kB / 1.281 GB, free: 13.29 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.8612, allocations: 0 / 1.281 GB, free: 13.29 MB / 0.9825 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 2
 * Number of states: 0 ()
 * Number of discrete variables: 8 ($PRE.intTab.combiTimeTable.nextTimeEvent,$whenCondition1,intRep.y[2],intRep.y[1],intTab.combiTimeTable.nextTimeEventScaled,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEvent,intTab.y)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (9):
 * Single equations (assignments): 8
 * Array equations: 1
 * 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.0001531/0.8614, allocations: 138.5 kB / 1.281 GB, free: 13.15 MB / 0.9825 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.416e-05/0.8614, allocations: 15.91 kB / 1.281 GB, free: 13.13 MB / 0.9825 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003797/0.8618, allocations: 131 kB / 1.281 GB, free: 13 MB / 0.9825 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-05/0.8618, allocations: 4 kB / 1.281 GB, free: 12.99 MB / 0.9825 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.8618, allocations: 0 / 1.281 GB, free: 12.99 MB / 0.9825 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.8618, allocations: 7.938 kB / 1.281 GB, free: 12.98 MB / 0.9825 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002258/0.862, allocations: 184.7 kB / 1.281 GB, free: 12.76 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.862, allocations: 0 / 1.281 GB, free: 12.76 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.645e-05/0.8621, allocations: 11.98 kB / 1.281 GB, free: 12.75 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.8621, allocations: 0 / 1.281 GB, free: 12.75 MB / 0.9825 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.8621, allocations: 7.938 kB / 1.281 GB, free: 12.74 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.8621, allocations: 0 / 1.281 GB, free: 12.74 MB / 0.9825 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.8621, allocations: 4 kB / 1.281 GB, free: 12.74 MB / 0.9825 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002777/0.8624, allocations: 152.9 kB / 1.281 GB, free: 12.57 MB / 0.9825 GB
Notification: Performance of postOpt removeConstants (simulation): time 4.223e-05/0.8624, allocations: 19.84 kB / 1.281 GB, free: 12.55 MB / 0.9825 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.856e-05/0.8624, allocations: 0 / 1.281 GB, free: 12.55 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.946e-05/0.8625, allocations: 7.984 kB / 1.281 GB, free: 12.54 MB / 0.9825 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.328e-05/0.8626, allocations: 12.02 kB / 1.281 GB, free: 12.53 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/0.8626, allocations: 7.938 kB / 1.281 GB, free: 12.52 MB / 0.9825 GB
Notification: Performance of sorting global known variables: time 0.0002034/0.8628, allocations: 195 kB / 1.282 GB, free: 12.33 MB / 0.9825 GB
Notification: Performance of sort global known variables: time 9e-08/0.8628, allocations: 0 / 1.282 GB, free: 12.33 MB / 0.9825 GB
Notification: Performance of remove unused functions: time 0.0002709/0.863, allocations: 35.92 kB / 1.282 GB, free: 12.3 MB / 0.9825 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 6 ($whenCondition1,intTab.y,intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled,intRep.y[1],intRep.y[2])
 * Number of discrete states: 2 (intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (7):
 * Single equations (assignments): 4
 * Array equations: 1
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 2
 * 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.001579/0.8646, allocations: 422.9 kB / 1.282 GB, free: 12.03 MB / 0.9825 GB
Notification: Performance of simCode: created initialization part: time 0.0002457/0.8649, allocations: 67.91 kB / 1.282 GB, free: 11.96 MB / 0.9825 GB
Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.8649, allocations: 0 / 1.282 GB, free: 11.96 MB / 0.9825 GB
Notification: Performance of simCode: created simulation system equations: time 9.897e-05/0.865, allocations: 31.98 kB / 1.282 GB, free: 11.93 MB / 0.9825 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003164/0.8653, allocations: 45.58 kB / 1.282 GB, free: 11.9 MB / 0.9825 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006141/0.8659, allocations: 305.6 kB / 1.283 GB, free: 11.57 MB / 0.9825 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003838/0.8663, allocations: 0.7279 MB / 1.283 GB, free: 10.82 MB / 0.9825 GB
Notification: Performance of simCode: alias equations: time 7.578e-05/0.8664, allocations: 21.08 kB / 1.283 GB, free: 10.8 MB / 0.9825 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.952e-05/0.8664, allocations: 15.44 kB / 1.283 GB, free: 10.78 MB / 0.9825 GB
Notification: Performance of SimCode: time 3.2e-07/0.8664, allocations: 0 / 1.283 GB, free: 10.78 MB / 0.9825 GB
Notification: Performance of Templates: time 0.006766/0.8732, allocations: 2.61 MB / 1.286 GB, free: 8.195 MB / 0.9825 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator.makefile [Timeout 300]
(rm -f Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_IntegerReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator.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.837196322157979]