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.00098/0.00098, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001085/0.001085, allocations: 161 kB / 23.81 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 0.9841/0.9841, allocations: 177.2 MB / 204.2 MB, free: 5.613 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.85/1.85, allocations: 377.8 MB / 0.6236 GB, free: 8.512 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.713e-06/1.713e-06, allocations: 0 / 0.8115 GB, free: 1.68 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.416e-05/2.588e-05, allocations: 2.906 kB / 0.8116 GB, free: 1.676 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.005856/0.005882, allocations: 1.835 MB / 0.8133 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.004768/0.01065, allocations: 1.222 MB / 0.8145 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001104/0.01076, allocations: 0 / 0.8145 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.00034/0.0111, allocations: 63.61 kB / 0.8146 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003946/0.01149, allocations: 125.1 kB / 0.8147 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005386/0.01203, allocations: 200.1 kB / 0.8149 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002388/0.01227, allocations: 159.5 kB / 0.8151 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.01238, allocations: 18.17 kB / 0.8151 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001458/0.01252, allocations: 92.39 kB / 0.8152 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001146/0.01264, allocations: 56.39 kB / 0.8152 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.165e-05/0.01266, allocations: 8 kB / 0.8152 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000184/0.01284, allocations: 89.11 kB / 0.8153 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 7.659e-05/0.01292, allocations: 39.83 kB / 0.8153 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.316e-05/0.01297, allocations: 27.88 kB / 0.8154 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.003313/0.01628, allocations: 171.9 kB / 0.8155 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.01629, allocations: 0 / 0.8155 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.513e-06/0.01629, allocations: 1.375 kB / 0.8155 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5e-06/0.01629, allocations: 0 / 0.8155 GB, free: 13.59 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.0006066/0.0169, allocations: 0.5206 MB / 0.816 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.01694, allocations: 9.188 kB / 0.8161 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.667e-05/0.01701, allocations: 20.84 kB / 0.8161 GB, free: 13 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002488/0.01725, allocations: 193 kB / 0.8163 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/0.01728, allocations: 5.438 kB / 0.8163 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.398e-05/0.01729, allocations: 4.375 kB / 0.8163 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001615/0.01745, allocations: 75.92 kB / 0.8163 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.01746, allocations: 3.938 kB / 0.8163 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.01747, allocations: 4 kB / 0.8164 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.552e-05/0.0175, allocations: 4.875 kB / 0.8164 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.319e-05/0.01755, allocations: 15.98 kB / 0.8164 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004494/0.018, allocations: 332.9 kB / 0.8167 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001498/0.01815, allocations: 71.09 kB / 0.8168 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.128e-05/0.01819, allocations: 24.52 kB / 0.8168 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.277e-05/0.01821, allocations: 1.219 kB / 0.8168 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001224/0.01833, allocations: 77.06 kB / 0.8169 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=8): time 1.593e-06/0.01833, allocations: 0 / 0.8169 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.0002482/0.01858, allocations: 110.9 kB / 0.817 GB, free: 12 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.169e-05/0.01861, allocations: 51.41 kB / 0.817 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000222/0.01883, allocations: 281.8 kB / 0.8173 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.01885, allocations: 27.27 kB / 0.8173 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.003099/0.02195, allocations: 174.8 kB / 0.8175 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.169e-05/0.02198, allocations: 23.83 kB / 0.8175 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.914e-05/0.02203, allocations: 35.3 kB / 0.8175 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.02217, allocations: 0.5067 MB / 0.818 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.759e-05/0.0222, allocations: 11.98 kB / 0.818 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.611e-05/0.02227, allocations: 72.69 kB / 0.8181 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.014e-05/0.02235, allocations: 47.31 kB / 0.8181 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.02235, allocations: 0 / 0.8181 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001585/0.02251, allocations: 93.97 kB / 0.8182 GB, free: 10.6 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.02253, allocations: 8 kB / 0.8182 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.02254, allocations: 0.5312 kB / 0.8182 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.02255, allocations: 1.938 kB / 0.8182 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.831e-05/0.02264, allocations: 15.98 kB / 0.8183 GB, free: 10.58 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.02264, allocations: 3.938 kB / 0.8183 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.954e-05/0.02269, allocations: 11.98 kB / 0.8183 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.0227, allocations: 4 kB / 0.8183 GB, free: 10.56 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 9.894e-05/0.0228, allocations: 162.5 kB / 0.8184 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.753e-05/0.02283, allocations: 23.89 kB / 0.8185 GB, free: 10.37 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005207/0.02335, allocations: 103.9 kB / 0.8186 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-05/0.02336, allocations: 4.641 kB / 0.8186 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.02336, allocations: 0 / 0.8186 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.02337, allocations: 2.844 kB / 0.8186 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001567/0.02352, allocations: 184.4 kB / 0.8187 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.02353, allocations: 0 / 0.8187 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.795e-05/0.02356, allocations: 7.984 kB / 0.8187 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.02357, allocations: 0 / 0.8187 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.759e-06/0.02358, allocations: 4 kB / 0.8188 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.02358, allocations: 0 / 0.8188 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.02358, allocations: 0 / 0.8188 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001575/0.02374, allocations: 146.9 kB / 0.8189 GB, free: 9.867 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.294e-05/0.02376, allocations: 15.89 kB / 0.8189 GB, free: 9.852 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.297e-05/0.02378, allocations: 4 kB / 0.8189 GB, free: 9.848 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.807e-05/0.02382, allocations: 4 kB / 0.8189 GB, free: 9.844 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.626e-05/0.02387, allocations: 7.984 kB / 0.8189 GB, free: 9.836 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.02388, allocations: 4 kB / 0.8189 GB, free: 9.832 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001262/0.024, allocations: 201.5 kB / 0.8191 GB, free: 9.637 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.024, allocations: 0 / 0.8191 GB, free: 9.637 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002507/0.02426, allocations: 31.94 kB / 0.8191 GB, free: 9.605 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.003083/0.02734, allocations: 419.2 kB / 0.8195 GB, free: 9.344 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001845/0.02752, allocations: 57.16 kB / 0.8196 GB, free: 9.285 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.02753, allocations: 0 / 0.8196 GB, free: 9.285 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.573e-05/0.02758, allocations: 31.61 kB / 0.8196 GB, free: 9.25 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002775/0.02786, allocations: 65.28 kB / 0.8197 GB, free: 9.195 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004498/0.02831, allocations: 258.8 kB / 0.8199 GB, free: 8.914 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.102e-05/0.02836, allocations: 79.69 kB / 0.82 GB, free: 8.816 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.824e-05/0.02842, allocations: 18.19 kB / 0.82 GB, free: 8.797 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.752e-05/0.02846, allocations: 28.48 kB / 0.8201 GB, free: 8.77 MB / 0.7761 GB Notification: Performance of SimCode: time 1.072e-06/0.02847, allocations: 4.125 kB / 0.8201 GB, free: 8.766 MB / 0.7761 GB Notification: Performance of Templates: time 0.005267/0.03373, allocations: 2.795 MB / 0.8228 GB, free: 6.008 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.042825287207961]