Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.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.00117/0.00117, allocations: 80.88 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001209/0.001209, allocations: 181 kB / 23.35 MB, free: 1.137 MB / 18.57 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.123/1.123, allocations: 177.2 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] 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.451/2.451, allocations: 438.8 MB / 0.6827 GB, free: 13.59 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intRep.u|intRep.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator") translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intRep.u|intRep.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.8386 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.513e-05/2.661e-05, allocations: 6.312 kB / 0.8386 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.003719/0.003746, allocations: 1.871 MB / 0.8405 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.002111/0.005857, allocations: 1.246 MB / 0.8417 GB, free: 11 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.005961, allocations: 0 / 0.8417 GB, free: 11 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.000381/0.006342, allocations: 59.62 kB / 0.8417 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0004086/0.006751, allocations: 119.4 kB / 0.8418 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006138/0.007365, allocations: 195.3 kB / 0.842 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002451/0.00761, allocations: 155.5 kB / 0.8422 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.007722, allocations: 22.27 kB / 0.8422 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000168/0.00789, allocations: 83.73 kB / 0.8423 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001229/0.008013, allocations: 55.88 kB / 0.8423 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.233e-05/0.008035, allocations: 8 kB / 0.8423 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002271/0.008262, allocations: 87.8 kB / 0.8424 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 8.1e-05/0.008343, allocations: 43.84 kB / 0.8425 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 5.42e-05/0.008397, allocations: 27.92 kB / 0.8425 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002982/0.008696, allocations: 171.4 kB / 0.8427 GB, free: 9.992 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.0087, allocations: 0 / 0.8427 GB, free: 9.992 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.573e-06/0.008701, allocations: 0 / 0.8427 GB, free: 9.992 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.008705, allocations: 0 / 0.8427 GB, free: 9.992 MB / 0.8073 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.0005727/0.009278, allocations: 397.4 kB / 0.843 GB, free: 9.574 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.009325, allocations: 16.61 kB / 0.8431 GB, free: 9.559 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.223e-05/0.009377, allocations: 12.94 kB / 0.8431 GB, free: 9.547 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002587/0.009636, allocations: 169.4 kB / 0.8432 GB, free: 9.355 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.137e-05/0.009657, allocations: 4.375 kB / 0.8432 GB, free: 9.352 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.626e-05/0.009673, allocations: 8.375 kB / 0.8432 GB, free: 9.344 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001721/0.009845, allocations: 73.69 kB / 0.8433 GB, free: 9.262 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.009856, allocations: 3.938 kB / 0.8433 GB, free: 9.258 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.009867, allocations: 4 kB / 0.8433 GB, free: 9.254 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.274e-05/0.009889, allocations: 3.984 kB / 0.8433 GB, free: 9.25 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.341e-05/0.009933, allocations: 8 kB / 0.8433 GB, free: 9.242 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003739/0.01031, allocations: 197.9 kB / 0.8435 GB, free: 9.031 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001446/0.01045, allocations: 108.1 kB / 0.8436 GB, free: 8.914 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.3e-05/0.01048, allocations: 16.84 kB / 0.8436 GB, free: 8.895 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.449e-05/0.0105, allocations: 7.875 kB / 0.8436 GB, free: 8.887 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001214/0.01062, allocations: 66.2 kB / 0.8437 GB, free: 8.809 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=8): time 1.723e-06/0.01062, allocations: 4 kB / 0.8437 GB, free: 8.805 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8): time 0.0001792/0.0108, allocations: 77.58 kB / 0.8438 GB, free: 8.723 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.038e-05/0.01083, allocations: 51.41 kB / 0.8438 GB, free: 8.66 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002035/0.01104, allocations: 216.9 kB / 0.844 GB, free: 8.434 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.01105, allocations: 25.7 kB / 0.8441 GB, free: 8.402 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.275e-05/0.01112, allocations: 108.5 kB / 0.8442 GB, free: 8.293 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.258e-05/0.01115, allocations: 23.83 kB / 0.8442 GB, free: 8.27 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.946e-05/0.0112, allocations: 29.69 kB / 0.8442 GB, free: 8.234 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.01132, allocations: 330.8 kB / 0.8445 GB, free: 7.902 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.284e-05/0.01135, allocations: 10.83 kB / 0.8445 GB, free: 7.891 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.917e-05/0.01141, allocations: 52.27 kB / 0.8446 GB, free: 7.824 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.306e-05/0.01149, allocations: 47.28 kB / 0.8446 GB, free: 7.77 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.01149, allocations: 0 / 0.8446 GB, free: 7.77 MB / 0.8073 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001296/0.01162, allocations: 76.41 kB / 0.8447 GB, free: 7.688 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.01163, allocations: 6.188 kB / 0.8447 GB, free: 7.684 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.862e-06/0.01164, allocations: 0 / 0.8447 GB, free: 7.684 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.01165, allocations: 4 kB / 0.8447 GB, free: 7.68 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.575e-05/0.01175, allocations: 15.98 kB / 0.8447 GB, free: 7.664 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.01175, allocations: 4 kB / 0.8447 GB, free: 7.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.21e-05/0.01181, allocations: 3.953 kB / 0.8447 GB, free: 7.656 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.01182, allocations: 4 kB / 0.8447 GB, free: 7.652 MB / 0.8073 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 9.558e-05/0.01191, allocations: 124.6 kB / 0.8449 GB, free: 7.52 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.626e-05/0.01194, allocations: 15.92 kB / 0.8449 GB, free: 7.504 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002215/0.01216, allocations: 87.02 kB / 0.845 GB, free: 7.418 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.49e-05/0.01217, allocations: 4 kB / 0.845 GB, free: 7.414 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.01218, allocations: 0 / 0.845 GB, free: 7.414 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.01218, allocations: 0 / 0.845 GB, free: 7.414 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001545/0.01234, allocations: 105.8 kB / 0.8451 GB, free: 7.293 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.01234, allocations: 4 kB / 0.8451 GB, free: 7.289 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.93e-05/0.01239, allocations: 4 kB / 0.8451 GB, free: 7.285 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.01239, allocations: 3.938 kB / 0.8451 GB, free: 7.281 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/0.01241, allocations: 11.92 kB / 0.8451 GB, free: 7.27 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.01241, allocations: 0 / 0.8451 GB, free: 7.27 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.01241, allocations: 4 kB / 0.8451 GB, free: 7.266 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001477/0.01256, allocations: 102.8 kB / 0.8452 GB, free: 7.145 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.165e-05/0.01259, allocations: 15.91 kB / 0.8452 GB, free: 7.129 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.054e-05/0.01262, allocations: 7.922 kB / 0.8452 GB, free: 7.121 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.742e-05/0.01267, allocations: 4 kB / 0.8452 GB, free: 7.117 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.406e-05/0.01272, allocations: 7.984 kB / 0.8452 GB, free: 7.109 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.594e-05/0.01274, allocations: 4 kB / 0.8452 GB, free: 7.105 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001021/0.01284, allocations: 81 kB / 0.8453 GB, free: 7.023 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01284, allocations: 0 / 0.8453 GB, free: 7.023 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002782/0.01312, allocations: 27.94 kB / 0.8453 GB, free: 6.996 MB / 0.8073 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 (8): * Single equations (assignments): 5 * 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.00202/0.01514, allocations: 0.5174 MB / 0.8458 GB, free: 6.707 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001623/0.0153, allocations: 44.83 kB / 0.8459 GB, free: 6.66 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/0.01531, allocations: 0 / 0.8459 GB, free: 6.66 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.923e-05/0.01537, allocations: 32.92 kB / 0.8459 GB, free: 6.625 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002382/0.0156, allocations: 44.08 kB / 0.846 GB, free: 6.586 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006358/0.01624, allocations: 269.6 kB / 0.8462 GB, free: 6.285 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.676e-05/0.0163, allocations: 75.83 kB / 0.8463 GB, free: 6.191 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 6.903e-05/0.01637, allocations: 17.48 kB / 0.8463 GB, free: 6.176 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/0.01649, allocations: 79.36 kB / 0.8464 GB, free: 6.098 MB / 0.8073 GB Notification: Performance of SimCode: time 8.91e-07/0.01649, allocations: 0 / 0.8464 GB, free: 6.098 MB / 0.8073 GB Notification: Performance of Templates: time 0.00685/0.02334, allocations: 2.85 MB / 0.8492 GB, free: 3.289 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_IntegerReplicator.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.6823202590458095]