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.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.0008922/0.0008922, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.0009261/0.0009261, allocations: 169.6 kB / 24.87 MB, free: 8.891 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.002/1.002, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.757/1.757, allocations: 359 MB / 0.6063 GB, free: 10.91 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_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.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 3.938 kB / 0.7883 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.334e-05/1.462e-05, allocations: 2.938 kB / 0.7883 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.002126/0.002141, allocations: 1.828 MB / 0.7901 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001374/0.003515, allocations: 1.21 MB / 0.7913 GB, free: 9.199 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.217e-05/0.003587, allocations: 0 / 0.7913 GB, free: 9.199 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0002604/0.003848, allocations: 61.08 kB / 0.7913 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002516/0.004099, allocations: 127.4 kB / 0.7915 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003418/0.004441, allocations: 193.9 kB / 0.7916 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001651/0.004606, allocations: 159.5 kB / 0.7918 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.662e-05/0.004693, allocations: 29.59 kB / 0.7918 GB, free: 8.641 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.004793, allocations: 88.33 kB / 0.7919 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.224e-05/0.004875, allocations: 61.39 kB / 0.792 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.004891, allocations: 11.94 kB / 0.792 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001204/0.005012, allocations: 79.86 kB / 0.7921 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.151e-05/0.005063, allocations: 35.86 kB / 0.7921 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.621e-05/0.0051, allocations: 32.81 kB / 0.7921 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001882/0.005288, allocations: 175.3 kB / 0.7923 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.005289, allocations: 0.625 kB / 0.7923 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.81e-07/0.00529, allocations: 0 / 0.7923 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.005294, allocations: 1.344 kB / 0.7923 GB, free: 8.168 MB / 0.7448 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.0004179/0.005712, allocations: 0.5129 MB / 0.7928 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.905e-05/0.005741, allocations: 12.03 kB / 0.7928 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.543e-05/0.005776, allocations: 18.84 kB / 0.7928 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001579/0.005934, allocations: 188.2 kB / 0.793 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.00595, allocations: 4.375 kB / 0.793 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.043e-05/0.00596, allocations: 8.359 kB / 0.793 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001049/0.006065, allocations: 66.94 kB / 0.7931 GB, free: 7.289 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.006073, allocations: 14.08 kB / 0.7931 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.813e-06/0.00608, allocations: 0 / 0.7931 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.585e-05/0.006096, allocations: 3.984 kB / 0.7931 GB, free: 7.273 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.234e-05/0.006128, allocations: 19.92 kB / 0.7931 GB, free: 7.254 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002817/0.00641, allocations: 296.3 kB / 0.7934 GB, free: 6.938 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001036/0.006514, allocations: 63.91 kB / 0.7935 GB, free: 6.863 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.374e-05/0.006537, allocations: 20.16 kB / 0.7935 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.105e-05/0.006548, allocations: 1.656 kB / 0.7935 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.231e-05/0.006641, allocations: 77.02 kB / 0.7935 GB, free: 6.75 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.006642, allocations: 0 / 0.7935 GB, free: 6.75 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0001589/0.006801, allocations: 98.16 kB / 0.7936 GB, free: 6.648 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.491e-05/0.006826, allocations: 59.41 kB / 0.7937 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/0.006965, allocations: 266.9 kB / 0.7939 GB, free: 6.301 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.006979, allocations: 29.7 kB / 0.794 GB, free: 6.266 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.23e-05/0.007052, allocations: 174.8 kB / 0.7941 GB, free: 6.09 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.338e-05/0.007075, allocations: 24.97 kB / 0.7942 GB, free: 6.066 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.849e-05/0.007114, allocations: 27.38 kB / 0.7942 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.007238, allocations: 0.5118 MB / 0.7947 GB, free: 5.508 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.843e-05/0.007257, allocations: 9.375 kB / 0.7947 GB, free: 5.5 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.233e-05/0.007299, allocations: 60.75 kB / 0.7948 GB, free: 5.422 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.096e-05/0.00735, allocations: 53.03 kB / 0.7948 GB, free: 5.363 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.007351, allocations: 0 / 0.7948 GB, free: 5.363 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10) (initialization): time 9.886e-05/0.00745, allocations: 93.78 kB / 0.7949 GB, free: 5.266 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/0.007461, allocations: 4 kB / 0.7949 GB, free: 5.262 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.007466, allocations: 0.875 kB / 0.7949 GB, free: 5.262 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.314e-06/0.007473, allocations: 0 / 0.7949 GB, free: 5.262 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.44e-05/0.007537, allocations: 25.48 kB / 0.7949 GB, free: 5.238 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.916e-06/0.00754, allocations: 0 / 0.7949 GB, free: 5.238 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.292e-05/0.007573, allocations: 4 kB / 0.7949 GB, free: 5.234 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.007578, allocations: 0 / 0.7949 GB, free: 5.234 MB / 0.7448 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.668e-05/0.007655, allocations: 170.4 kB / 0.7951 GB, free: 5.059 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.049e-05/0.007676, allocations: 19.84 kB / 0.7951 GB, free: 5.039 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001273/0.007803, allocations: 106.4 kB / 0.7952 GB, free: 4.934 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.838e-06/0.007813, allocations: 4 kB / 0.7952 GB, free: 4.93 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.007814, allocations: 0 / 0.7952 GB, free: 4.93 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.007817, allocations: 0 / 0.7952 GB, free: 4.93 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001079/0.007925, allocations: 145.1 kB / 0.7954 GB, free: 4.762 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.007927, allocations: 3.984 kB / 0.7954 GB, free: 4.758 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.368e-05/0.007951, allocations: 4 kB / 0.7954 GB, free: 4.754 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.007954, allocations: 7.938 kB / 0.7954 GB, free: 4.746 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.03e-06/0.007959, allocations: 0 / 0.7954 GB, free: 4.746 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.00796, allocations: 0.5 kB / 0.7954 GB, free: 4.746 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.00796, allocations: 1.938 kB / 0.7954 GB, free: 4.746 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001097/0.00807, allocations: 136.2 kB / 0.7955 GB, free: 4.59 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.6e-05/0.008086, allocations: 15.89 kB / 0.7955 GB, free: 4.574 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.807e-05/0.008104, allocations: 11.94 kB / 0.7955 GB, free: 4.562 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.397e-05/0.008128, allocations: 0 / 0.7955 GB, free: 4.562 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.281e-05/0.008161, allocations: 10.42 kB / 0.7955 GB, free: 4.555 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.008173, allocations: 8 kB / 0.7956 GB, free: 4.547 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.492e-05/0.008258, allocations: 188.5 kB / 0.7957 GB, free: 4.363 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.008258, allocations: 4 kB / 0.7957 GB, free: 4.359 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001674/0.008425, allocations: 31.94 kB / 0.7958 GB, free: 4.328 MB / 0.7448 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.0007633/0.009188, allocations: 404.5 kB / 0.7962 GB, free: 4.078 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001002/0.009289, allocations: 44.69 kB / 0.7962 GB, free: 4.031 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.032e-06/0.00929, allocations: 0 / 0.7962 GB, free: 4.031 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.734e-05/0.009327, allocations: 36.69 kB / 0.7962 GB, free: 3.992 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000178/0.009505, allocations: 47.66 kB / 0.7963 GB, free: 3.953 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003075/0.009813, allocations: 268.8 kB / 0.7965 GB, free: 3.66 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.079e-05/0.009853, allocations: 79.83 kB / 0.7966 GB, free: 3.562 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.247e-05/0.009896, allocations: 22.31 kB / 0.7966 GB, free: 3.543 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.524e-05/0.009971, allocations: 98.11 kB / 0.7967 GB, free: 3.445 MB / 0.7448 GB Notification: Performance of SimCode: time 5.11e-07/0.009972, allocations: 5.344 kB / 0.7967 GB, free: 3.441 MB / 0.7448 GB Notification: Performance of Templates: time 0.004204/0.01418, allocations: 2.907 MB / 0.7996 GB, free: 0.5781 MB / 0.7448 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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: 4.986751757096499]