Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009781/0.0009781, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001684/0.001684, allocations: 165 kB / 24.17 MB, free: 328 kB / 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 0.9779/0.9779, allocations: 177.2 MB / 204.6 MB, free: 5.441 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.988/1.988, allocations: 377.9 MB / 0.624 GB, free: 8.371 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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_12_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_12_Buildings.Utilities.Math.Examples.IntegerReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0.7656 kB / 0.7601 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.513e-05/1.629e-05, allocations: 6.047 kB / 0.7601 GB, free: 6.566 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.002287/0.002303, allocations: 1.882 MB / 0.7619 GB, free: 4.695 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001358/0.003661, allocations: 1.23 MB / 0.7631 GB, free: 3.469 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.086e-05/0.003732, allocations: 9.5 kB / 0.7631 GB, free: 3.461 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0002513/0.003983, allocations: 57.09 kB / 0.7632 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0002349/0.004218, allocations: 118.6 kB / 0.7633 GB, free: 3.297 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003495/0.004568, allocations: 191.6 kB / 0.7635 GB, free: 3.113 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001665/0.004734, allocations: 167.5 kB / 0.7636 GB, free: 2.949 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.258e-05/0.004817, allocations: 14.23 kB / 0.7636 GB, free: 2.93 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001037/0.00492, allocations: 84.55 kB / 0.7637 GB, free: 2.848 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 8.474e-05/0.005005, allocations: 64.55 kB / 0.7638 GB, free: 2.785 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.692e-05/0.005022, allocations: 8 kB / 0.7638 GB, free: 2.777 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001414/0.005164, allocations: 84.55 kB / 0.7639 GB, free: 2.695 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 5.467e-05/0.005218, allocations: 43.84 kB / 0.7639 GB, free: 2.652 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.948e-05/0.005258, allocations: 38.05 kB / 0.764 GB, free: 2.617 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002004/0.005458, allocations: 163.4 kB / 0.7641 GB, free: 2.457 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.452e-06/0.00546, allocations: 0 / 0.7641 GB, free: 2.457 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.01e-07/0.00546, allocations: 0 / 0.7641 GB, free: 2.457 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.838e-06/0.005464, allocations: 0 / 0.7641 GB, free: 2.457 MB / 0.7136 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.0006517/0.006116, allocations: 397.5 kB / 0.7645 GB, free: 2.039 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.673e-05/0.006142, allocations: 9.5 kB / 0.7645 GB, free: 2.031 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.431e-05/0.006177, allocations: 12.92 kB / 0.7645 GB, free: 2.02 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00017/0.006347, allocations: 170.2 kB / 0.7647 GB, free: 1.828 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/0.006367, allocations: 4.375 kB / 0.7647 GB, free: 1.824 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.08e-05/0.006378, allocations: 13.56 kB / 0.7647 GB, free: 1.812 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000108/0.006486, allocations: 69.69 kB / 0.7648 GB, free: 1.734 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.006494, allocations: 3.938 kB / 0.7648 GB, free: 1.73 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.514e-06/0.006502, allocations: 5.812 kB / 0.7648 GB, free: 1.727 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.633e-05/0.006518, allocations: 4 kB / 0.7648 GB, free: 1.723 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.85e-05/0.006546, allocations: 15.97 kB / 0.7648 GB, free: 1.707 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002435/0.00679, allocations: 197.8 kB / 0.765 GB, free: 1.496 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.354e-05/0.006883, allocations: 99.23 kB / 0.7651 GB, free: 1.391 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.956e-05/0.006903, allocations: 12.86 kB / 0.7651 GB, free: 1.375 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.186e-05/0.006915, allocations: 7.938 kB / 0.7651 GB, free: 1.367 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.223e-05/0.006997, allocations: 66.28 kB / 0.7651 GB, free: 1.289 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.006998, allocations: 3.938 kB / 0.7652 GB, free: 1.285 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0001198/0.007118, allocations: 72.45 kB / 0.7652 GB, free: 1.211 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.268e-05/0.007141, allocations: 55.41 kB / 0.7653 GB, free: 1.145 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.007267, allocations: 224.1 kB / 0.7655 GB, free: 0.9102 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.007281, allocations: 29.7 kB / 0.7655 GB, free: 0.875 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.264e-05/0.007324, allocations: 104.6 kB / 0.7656 GB, free: 0.7695 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.146e-05/0.007345, allocations: 23.8 kB / 0.7656 GB, free: 0.7461 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.13e-05/0.007376, allocations: 21.69 kB / 0.7657 GB, free: 0.7188 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.352e-05/0.00745, allocations: 332.1 kB / 0.766 GB, free: 396 kB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.642e-05/0.007466, allocations: 6.828 kB / 0.766 GB, free: 388 kB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.033e-05/0.007507, allocations: 68.19 kB / 0.766 GB, free: 304 kB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.651e-05/0.007553, allocations: 40 kB / 0.7661 GB, free: 256 kB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.007555, allocations: 0.5625 kB / 0.7661 GB, free: 256 kB / 0.7136 GB Notification: Performance of matching and sorting (n=10) (initialization): time 8.28e-05/0.007638, allocations: 87.66 kB / 0.7662 GB, free: 164 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.007649, allocations: 5.406 kB / 0.7662 GB, free: 160 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.007654, allocations: 3.984 kB / 0.7662 GB, free: 156 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.007666, allocations: 0 / 0.7662 GB, free: 156 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.804e-05/0.007724, allocations: 15.98 kB / 0.7662 GB, free: 140 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.685e-06/0.007726, allocations: 0 / 0.7662 GB, free: 140 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.358e-05/0.00776, allocations: 12 kB / 0.7662 GB, free: 128 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-06/0.007765, allocations: 0 / 0.7662 GB, free: 128 kB / 0.7136 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 7.612e-05/0.007842, allocations: 129 kB / 0.7663 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.587e-05/0.007857, allocations: 19.92 kB / 0.7663 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.419e-05/0.007952, allocations: 75.06 kB / 0.7664 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.007959, allocations: 0 / 0.7664 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-06/0.00796, allocations: 0 / 0.7664 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.007964, allocations: 4 kB / 0.7664 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.138e-05/0.008055, allocations: 97.84 kB / 0.7665 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.008057, allocations: 0.875 kB / 0.7665 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.559e-05/0.008083, allocations: 15.92 kB / 0.7665 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.008084, allocations: 2.438 kB / 0.7665 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.00809, allocations: 3.938 kB / 0.7665 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.008091, allocations: 0 / 0.7665 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.008092, allocations: 0 / 0.7665 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.725e-05/0.008169, allocations: 102.7 kB / 0.7666 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.755e-05/0.008186, allocations: 15.86 kB / 0.7667 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.719e-05/0.008204, allocations: 10.66 kB / 0.7667 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.209e-05/0.008226, allocations: 0 / 0.7667 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.931e-05/0.008265, allocations: 19.91 kB / 0.7667 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.523e-06/0.008272, allocations: 0 / 0.7667 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.831e-05/0.00833, allocations: 81 kB / 0.7668 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6.1e-08/0.00833, allocations: 0 / 0.7668 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001332/0.008463, allocations: 31.94 kB / 0.7668 GB, free: 15.47 MB / 0.7292 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.001215/0.009678, allocations: 0.5226 MB / 0.7673 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 9.886e-05/0.009777, allocations: 46.08 kB / 0.7673 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.00978, allocations: 0 / 0.7673 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.485e-05/0.009815, allocations: 28.84 kB / 0.7674 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000141/0.009956, allocations: 47.02 kB / 0.7674 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003189/0.01027, allocations: 270.1 kB / 0.7677 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.793e-05/0.01031, allocations: 79.66 kB / 0.7677 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.433e-05/0.01036, allocations: 23.47 kB / 0.7678 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.409e-05/0.01043, allocations: 75.36 kB / 0.7678 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of SimCode: time 5.21e-07/0.01043, allocations: 0.9375 kB / 0.7678 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of Templates: time 0.004549/0.01498, allocations: 2.83 MB / 0.7706 GB, free: 11.92 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.1207455499097705]