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.001035/0.001035, allocations: 80.3 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.001158/0.001158, allocations: 168.1 kB / 24.86 MB, free: 9.227 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 0.969/0.969, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.938/1.938, allocations: 377.9 MB / 0.6247 GB, free: 8.379 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 1.653e-06/1.653e-06, allocations: 0 / 0.8128 GB, free: 1.414 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.401e-05/2.566e-05, allocations: 3.25 kB / 0.8128 GB, free: 1.41 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.003454/0.003479, allocations: 1.818 MB / 0.8146 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001669/0.005148, allocations: 1.206 MB / 0.8157 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.129e-05/0.005239, allocations: 5.188 kB / 0.8157 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0002775/0.005517, allocations: 63.61 kB / 0.8158 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002803/0.005797, allocations: 124.8 kB / 0.8159 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003811/0.006178, allocations: 193.2 kB / 0.8161 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001673/0.006346, allocations: 155.6 kB / 0.8163 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.033e-05/0.006436, allocations: 21.61 kB / 0.8163 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001032/0.006539, allocations: 91.69 kB / 0.8164 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 9.186e-05/0.006631, allocations: 66.28 kB / 0.8164 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.559e-05/0.006647, allocations: 8 kB / 0.8164 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001423/0.006789, allocations: 75.88 kB / 0.8165 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 6.236e-05/0.006851, allocations: 39.84 kB / 0.8165 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.204e-05/0.006893, allocations: 35.84 kB / 0.8166 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002247/0.007118, allocations: 171.4 kB / 0.8167 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.007122, allocations: 0.8125 kB / 0.8167 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.122e-06/0.007123, allocations: 0 / 0.8167 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.007127, allocations: 0.5625 kB / 0.8167 GB, free: 13.36 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.0005385/0.007665, allocations: 0.5252 MB / 0.8173 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.007701, allocations: 8.031 kB / 0.8173 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.577e-05/0.007747, allocations: 22.03 kB / 0.8173 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000166/0.007913, allocations: 181 kB / 0.8175 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.007929, allocations: 4.375 kB / 0.8175 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.829e-06/0.007939, allocations: 5.906 kB / 0.8175 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001124/0.008052, allocations: 74.8 kB / 0.8175 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.008063, allocations: 3.938 kB / 0.8175 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.008073, allocations: 4 kB / 0.8175 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.863e-05/0.008091, allocations: 1.938 kB / 0.8176 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.274e-05/0.008124, allocations: 15.97 kB / 0.8176 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003038/0.008428, allocations: 304.2 kB / 0.8179 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.584e-05/0.008524, allocations: 56.61 kB / 0.8179 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.715e-05/0.008551, allocations: 27.61 kB / 0.8179 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.083e-05/0.008562, allocations: 0 / 0.8179 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.743e-05/0.008649, allocations: 70.17 kB / 0.818 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=8): time 8.31e-07/0.00865, allocations: 96 / 0.818 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.0001711/0.008821, allocations: 102 kB / 0.8181 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.697e-05/0.008848, allocations: 55.92 kB / 0.8182 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001442/0.008992, allocations: 273.7 kB / 0.8184 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.009006, allocations: 30.58 kB / 0.8184 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.712e-05/0.009073, allocations: 174.8 kB / 0.8186 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.102e-05/0.009094, allocations: 20.66 kB / 0.8186 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-05/0.009127, allocations: 35.28 kB / 0.8187 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.009236, allocations: 0.5045 MB / 0.8192 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.733e-05/0.009254, allocations: 8 kB / 0.8192 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.127e-05/0.009295, allocations: 74.05 kB / 0.8192 GB, free: 10.6 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.948e-05/0.009345, allocations: 51.64 kB / 0.8193 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.009346, allocations: 1.156 kB / 0.8193 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of matching and sorting (n=10) (initialization): time 9.307e-05/0.009439, allocations: 89.42 kB / 0.8194 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.00945, allocations: 4.906 kB / 0.8194 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.009459, allocations: 4 kB / 0.8194 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.835e-06/0.009467, allocations: 0.8438 kB / 0.8194 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.667e-05/0.009524, allocations: 11.98 kB / 0.8194 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.009527, allocations: 4 kB / 0.8194 GB, free: 10.42 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.265e-05/0.00956, allocations: 1.281 kB / 0.8194 GB, free: 10.42 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.009568, allocations: 8 kB / 0.8194 GB, free: 10.41 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 7.424e-05/0.009642, allocations: 169.2 kB / 0.8196 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.013e-05/0.009662, allocations: 19.84 kB / 0.8196 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000116/0.009778, allocations: 99.98 kB / 0.8197 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/0.009785, allocations: 0 / 0.8197 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.009786, allocations: 1.562 kB / 0.8197 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.00979, allocations: 0 / 0.8197 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000105/0.009895, allocations: 145.1 kB / 0.8198 GB, free: 9.949 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.009896, allocations: 0 / 0.8198 GB, free: 9.949 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.491e-05/0.009921, allocations: 16.98 kB / 0.8198 GB, free: 9.934 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.009923, allocations: 3.938 kB / 0.8198 GB, free: 9.93 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.064e-06/0.00993, allocations: 7.984 kB / 0.8198 GB, free: 9.922 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.009931, allocations: 7.281 kB / 0.8199 GB, free: 9.918 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.009932, allocations: 0 / 0.8199 GB, free: 9.918 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001028/0.01003, allocations: 128.2 kB / 0.82 GB, free: 9.77 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.677e-05/0.01005, allocations: 19.89 kB / 0.82 GB, free: 9.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.714e-05/0.01007, allocations: 3.938 kB / 0.82 GB, free: 9.746 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.34e-05/0.01009, allocations: 4 kB / 0.82 GB, free: 9.742 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.207e-05/0.01012, allocations: 11.98 kB / 0.82 GB, free: 9.73 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.01013, allocations: 0 / 0.82 GB, free: 9.73 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.005e-05/0.01021, allocations: 193 kB / 0.8202 GB, free: 9.543 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01021, allocations: 0 / 0.8202 GB, free: 9.543 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001689/0.01038, allocations: 32.94 kB / 0.8202 GB, free: 9.512 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.0008251/0.0112, allocations: 416.6 kB / 0.8206 GB, free: 9.25 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000106/0.01131, allocations: 48.72 kB / 0.8207 GB, free: 9.199 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.022e-06/0.01131, allocations: 0 / 0.8207 GB, free: 9.199 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.747e-05/0.01135, allocations: 27.67 kB / 0.8207 GB, free: 9.168 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001883/0.01154, allocations: 54.86 kB / 0.8208 GB, free: 9.121 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003105/0.01185, allocations: 264 kB / 0.821 GB, free: 8.836 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.81e-05/0.01189, allocations: 79.69 kB / 0.8211 GB, free: 8.738 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.679e-05/0.01193, allocations: 26.84 kB / 0.8211 GB, free: 8.711 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.7e-05/0.01201, allocations: 98.17 kB / 0.8212 GB, free: 8.613 MB / 0.7761 GB Notification: Performance of SimCode: time 4.11e-07/0.01201, allocations: 3.188 kB / 0.8212 GB, free: 8.613 MB / 0.7761 GB Notification: Performance of Templates: time 0.004202/0.01621, allocations: 2.878 MB / 0.824 GB, free: 5.785 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.2763110883533955]