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.001034/0.001034, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001127/0.001127, allocations: 161 kB / 23.82 MB, free: 0.7539 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.051/1.051, allocations: 177.1 MB / 204.2 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.927/1.927, allocations: 377.8 MB / 0.6236 GB, free: 8.555 MB / 0.5886 GB " [Timeout remaining time 177] 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 2.064e-06/2.064e-06, allocations: 0 / 0.8115 GB, free: 1.746 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.734e-05/2.941e-05, allocations: 3.375 kB / 0.8115 GB, free: 1.742 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.003527/0.003556, allocations: 1.837 MB / 0.8133 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002192/0.005748, allocations: 1.21 MB / 0.8145 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001019/0.00585, allocations: 5.625 kB / 0.8145 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0003439/0.006194, allocations: 63.61 kB / 0.8146 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.000414/0.006608, allocations: 127.4 kB / 0.8147 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005933/0.007201, allocations: 198.3 kB / 0.8149 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002461/0.007447, allocations: 151.6 kB / 0.815 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.007558, allocations: 29.55 kB / 0.8151 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001607/0.007719, allocations: 83.81 kB / 0.8151 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001285/0.007847, allocations: 61.42 kB / 0.8152 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.624e-05/0.007874, allocations: 11.98 kB / 0.8152 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001929/0.008067, allocations: 83.81 kB / 0.8153 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 8.141e-05/0.008148, allocations: 39.84 kB / 0.8153 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.403e-05/0.008212, allocations: 40.47 kB / 0.8154 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003332/0.008545, allocations: 160.1 kB / 0.8155 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.008549, allocations: 3.938 kB / 0.8155 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.12e-07/0.00855, allocations: 0.6875 kB / 0.8155 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.008555, allocations: 0 / 0.8155 GB, free: 13.66 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.0006672/0.009222, allocations: 0.5177 MB / 0.816 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.009263, allocations: 8.031 kB / 0.816 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.579e-05/0.009339, allocations: 22.22 kB / 0.8161 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00029/0.009629, allocations: 188.9 kB / 0.8162 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.009653, allocations: 12.36 kB / 0.8162 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.815e-05/0.009671, allocations: 4.375 kB / 0.8163 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002233/0.009894, allocations: 125.6 kB / 0.8164 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.009906, allocations: 3.938 kB / 0.8164 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.00992, allocations: 4 kB / 0.8164 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.575e-05/0.009936, allocations: 0 / 0.8164 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.207e-05/0.01001, allocations: 17.02 kB / 0.8164 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005139/0.01052, allocations: 347.6 kB / 0.8167 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001772/0.0107, allocations: 64.23 kB / 0.8168 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.445e-05/0.01075, allocations: 24.23 kB / 0.8168 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/0.01077, allocations: 4.781 kB / 0.8168 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001404/0.01091, allocations: 73.08 kB / 0.8169 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=8): time 1.653e-06/0.01091, allocations: 1.156 kB / 0.8169 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.0002796/0.01119, allocations: 105.8 kB / 0.817 GB, free: 12 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.032e-05/0.01124, allocations: 83.61 kB / 0.8171 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002561/0.0115, allocations: 281.8 kB / 0.8173 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/0.01152, allocations: 29.7 kB / 0.8174 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.922e-05/0.01162, allocations: 170.8 kB / 0.8175 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.967e-05/0.01165, allocations: 19.78 kB / 0.8175 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.372e-05/0.0117, allocations: 35.36 kB / 0.8176 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.01187, allocations: 0.5001 MB / 0.8181 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.243e-05/0.01191, allocations: 12.52 kB / 0.8181 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.767e-05/0.012, allocations: 106.9 kB / 0.8182 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.516e-05/0.01209, allocations: 55.89 kB / 0.8182 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.0121, allocations: 0.8125 kB / 0.8182 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001856/0.01228, allocations: 93.47 kB / 0.8183 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.0123, allocations: 8.938 kB / 0.8183 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.01231, allocations: 4 kB / 0.8183 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.01232, allocations: 1.219 kB / 0.8183 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.01243, allocations: 23.86 kB / 0.8184 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.441e-06/0.01244, allocations: 0 / 0.8184 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.891e-05/0.0125, allocations: 8.844 kB / 0.8184 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.01251, allocations: 0 / 0.8184 GB, free: 10.48 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.0001162/0.01262, allocations: 171.9 kB / 0.8185 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.686e-05/0.01266, allocations: 19.89 kB / 0.8186 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002237/0.01288, allocations: 103 kB / 0.8187 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-05/0.0129, allocations: 4 kB / 0.8187 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.666e-06/0.0129, allocations: 4 kB / 0.8187 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.0129, allocations: 3.062 kB / 0.8187 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001857/0.01309, allocations: 176.5 kB / 0.8188 GB, free: 9.969 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.01309, allocations: 3.984 kB / 0.8188 GB, free: 9.965 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.269e-05/0.01315, allocations: 8 kB / 0.8188 GB, free: 9.957 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.01315, allocations: 0 / 0.8188 GB, free: 9.957 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.01316, allocations: 0 / 0.8188 GB, free: 9.957 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.01316, allocations: 0 / 0.8188 GB, free: 9.957 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.01316, allocations: 0 / 0.8188 GB, free: 9.957 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002139/0.01338, allocations: 141.5 kB / 0.819 GB, free: 9.797 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.549e-05/0.01341, allocations: 19.89 kB / 0.819 GB, free: 9.777 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.974e-05/0.01344, allocations: 4 kB / 0.819 GB, free: 9.773 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.56e-05/0.0135, allocations: 5.125 kB / 0.819 GB, free: 9.77 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.012e-05/0.01355, allocations: 7.984 kB / 0.819 GB, free: 9.762 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.47e-05/0.01356, allocations: 4 kB / 0.819 GB, free: 9.758 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001614/0.01372, allocations: 197.5 kB / 0.8192 GB, free: 9.566 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.2e-07/0.01372, allocations: 0 / 0.8192 GB, free: 9.566 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002975/0.01402, allocations: 35.94 kB / 0.8192 GB, free: 9.531 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.001333/0.01535, allocations: 420.6 kB / 0.8196 GB, free: 9.27 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001772/0.01553, allocations: 51.59 kB / 0.8197 GB, free: 9.215 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.01553, allocations: 7.938 kB / 0.8197 GB, free: 9.207 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.235e-05/0.01561, allocations: 40.69 kB / 0.8197 GB, free: 9.164 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003054/0.01591, allocations: 48.53 kB / 0.8198 GB, free: 9.117 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005541/0.01647, allocations: 268.7 kB / 0.82 GB, free: 8.828 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.23e-05/0.01653, allocations: 79.69 kB / 0.8201 GB, free: 8.73 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 7.528e-05/0.0166, allocations: 29.89 kB / 0.8201 GB, free: 8.699 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.62e-05/0.01666, allocations: 16.5 kB / 0.8202 GB, free: 8.684 MB / 0.7761 GB Notification: Performance of SimCode: time 7.12e-07/0.01666, allocations: 0 / 0.8202 GB, free: 8.684 MB / 0.7761 GB Notification: Performance of Templates: time 0.006726/0.02339, allocations: 2.693 MB / 0.8228 GB, free: 6.031 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.412287125363946]