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.001609/0.001609, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.002006/0.002006, allocations: 169 kB / 24.28 MB, free: 280 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.9872/0.9872, allocations: 177.1 MB / 204.6 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.857/1.857, allocations: 377.8 MB / 0.6239 GB, free: 8.574 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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 3.296e-06/3.296e-06, allocations: 4 kB / 0.8115 GB, free: 2.07 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.724e-05/2.054e-05, allocations: 4.844 kB / 0.8115 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.003149/0.003169, allocations: 1.827 MB / 0.8133 GB, free: 252 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001995/0.005164, allocations: 1.219 MB / 0.8145 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001145/0.005279, allocations: 3.938 kB / 0.8145 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0003318/0.00561, allocations: 59.67 kB / 0.8146 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003654/0.005976, allocations: 116.8 kB / 0.8147 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005291/0.006505, allocations: 200.9 kB / 0.8149 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002344/0.006739, allocations: 159.5 kB / 0.815 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.006849, allocations: 21.61 kB / 0.815 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001405/0.00699, allocations: 92.89 kB / 0.8151 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001149/0.007105, allocations: 55.81 kB / 0.8152 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.183e-05/0.007127, allocations: 8.562 kB / 0.8152 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001807/0.007307, allocations: 79.86 kB / 0.8153 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 8.207e-05/0.007389, allocations: 44.94 kB / 0.8153 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.119e-05/0.007451, allocations: 31.86 kB / 0.8153 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002948/0.007745, allocations: 167.4 kB / 0.8155 GB, free: 14 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.007748, allocations: 0.8438 kB / 0.8155 GB, free: 14 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.92e-07/0.007749, allocations: 4 kB / 0.8155 GB, free: 14 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.007753, allocations: 2.188 kB / 0.8155 GB, free: 14 MB / 0.7761 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.0006568/0.00841, allocations: 0.5206 MB / 0.816 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.008454, allocations: 12.03 kB / 0.816 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.784e-05/0.008522, allocations: 16.84 kB / 0.816 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000268/0.00879, allocations: 185 kB / 0.8162 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.315e-05/0.008813, allocations: 4.906 kB / 0.8162 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.712e-05/0.00883, allocations: 8.375 kB / 0.8162 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002135/0.009044, allocations: 124.6 kB / 0.8164 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.009055, allocations: 12.42 kB / 0.8164 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.009069, allocations: 5.594 kB / 0.8164 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.544e-05/0.009085, allocations: 0 / 0.8164 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.845e-05/0.009153, allocations: 19.92 kB / 0.8164 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004814/0.009634, allocations: 335.6 kB / 0.8167 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001548/0.009789, allocations: 72.58 kB / 0.8168 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.299e-05/0.009842, allocations: 27.67 kB / 0.8168 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.244e-05/0.009855, allocations: 0.5 kB / 0.8168 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001358/0.00999, allocations: 73.73 kB / 0.8169 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=8): time 2.685e-06/0.009993, allocations: 0.625 kB / 0.8169 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.0002838/0.01028, allocations: 109.5 kB / 0.817 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.841e-05/0.01033, allocations: 81.92 kB / 0.8171 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002699/0.0106, allocations: 277.8 kB / 0.8173 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.01061, allocations: 30.62 kB / 0.8174 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.01072, allocations: 174.8 kB / 0.8175 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.072e-05/0.01075, allocations: 21.06 kB / 0.8175 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.376e-05/0.01081, allocations: 31.36 kB / 0.8176 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001766/0.01098, allocations: 0.5001 MB / 0.8181 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.173e-05/0.01102, allocations: 12.95 kB / 0.8181 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000105/0.01113, allocations: 110.1 kB / 0.8182 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.54e-05/0.01122, allocations: 49.62 kB / 0.8182 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.01123, allocations: 0 / 0.8182 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001684/0.0114, allocations: 97.45 kB / 0.8183 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.01141, allocations: 8 kB / 0.8183 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.01142, allocations: 0 / 0.8183 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.01143, allocations: 3.344 kB / 0.8183 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.433e-05/0.01153, allocations: 12 kB / 0.8183 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.01153, allocations: 3.984 kB / 0.8183 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.65e-05/0.01159, allocations: 8 kB / 0.8183 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.0116, allocations: 4 kB / 0.8184 GB, free: 10.83 MB / 0.7761 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.0001039/0.0117, allocations: 169.6 kB / 0.8185 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.258e-05/0.01174, allocations: 19.91 kB / 0.8185 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001906/0.01193, allocations: 100.1 kB / 0.8186 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/0.01194, allocations: 4 kB / 0.8186 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.01194, allocations: 0 / 0.8186 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.01195, allocations: 8.422 kB / 0.8186 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001894/0.01214, allocations: 185 kB / 0.8188 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.01214, allocations: 0 / 0.8188 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.411e-05/0.01218, allocations: 13.61 kB / 0.8188 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.01218, allocations: 0 / 0.8188 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.01219, allocations: 0 / 0.8188 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.0122, allocations: 0 / 0.8188 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.0122, allocations: 5.062 kB / 0.8188 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001843/0.01238, allocations: 136.2 kB / 0.819 GB, free: 10.13 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.883e-05/0.01241, allocations: 15.91 kB / 0.819 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.805e-05/0.01244, allocations: 9.078 kB / 0.819 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.4e-05/0.01248, allocations: 4 kB / 0.819 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.131e-05/0.01254, allocations: 8.641 kB / 0.819 GB, free: 10.1 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.01255, allocations: 4 kB / 0.819 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.000156/0.0127, allocations: 197.1 kB / 0.8192 GB, free: 9.902 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1e-07/0.0127, allocations: 4 kB / 0.8192 GB, free: 9.898 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002888/0.01299, allocations: 32.97 kB / 0.8192 GB, free: 9.867 MB / 0.7761 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.001267/0.01426, allocations: 412.3 kB / 0.8196 GB, free: 9.609 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001701/0.01443, allocations: 59.58 kB / 0.8197 GB, free: 9.547 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.01443, allocations: 0 / 0.8197 GB, free: 9.547 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.329e-05/0.0145, allocations: 35.8 kB / 0.8197 GB, free: 9.508 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002917/0.01479, allocations: 49.88 kB / 0.8198 GB, free: 9.465 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000497/0.01528, allocations: 270.8 kB / 0.82 GB, free: 9.172 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.962e-05/0.01534, allocations: 83.69 kB / 0.8201 GB, free: 9.07 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 7.117e-05/0.01542, allocations: 21.48 kB / 0.8201 GB, free: 9.047 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.424e-05/0.01547, allocations: 20.48 kB / 0.8201 GB, free: 9.027 MB / 0.7761 GB Notification: Performance of SimCode: time 9.12e-07/0.01547, allocations: 0 / 0.8201 GB, free: 9.027 MB / 0.7761 GB Notification: Performance of Templates: time 0.006136/0.02161, allocations: 2.694 MB / 0.8228 GB, free: 6.379 MB / 0.7761 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 -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.154958304949105]