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.001441/0.001441, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.00158/0.00158, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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.479/1.479, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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 2.832/2.832, allocations: 377.8 MB / 0.6232 GB, free: 8.562 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.2.|intRep.y.1.",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.2.|intRep.y.1.",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.562e-06/1.562e-06, allocations: 0.875 kB / 0.8108 GB, free: 0.9609 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.707e-05/2.863e-05, allocations: 3.375 kB / 0.8108 GB, free: 0.957 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.003629/0.003658, allocations: 1.78 MB / 0.8125 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002548/0.006205, allocations: 1.2 MB / 0.8137 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001087/0.006314, allocations: 5.031 kB / 0.8137 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0003499/0.006664, allocations: 59.61 kB / 0.8138 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.000445/0.007109, allocations: 120.1 kB / 0.8139 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006851/0.007794, allocations: 197.8 kB / 0.8141 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002921/0.008086, allocations: 159.5 kB / 0.8142 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.008188, allocations: 13.64 kB / 0.8142 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002083/0.008397, allocations: 92.42 kB / 0.8143 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001698/0.008566, allocations: 60.7 kB / 0.8144 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.36e-05/0.0086, allocations: 8 kB / 0.8144 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002743/0.008874, allocations: 87.84 kB / 0.8145 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001032/0.008978, allocations: 36.5 kB / 0.8145 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001021/0.00908, allocations: 36.73 kB / 0.8146 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0004604/0.00954, allocations: 215.3 kB / 0.8148 GB, free: 12.92 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.009544, allocations: 0 / 0.8148 GB, free: 12.92 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.132e-06/0.009545, allocations: 1.25 kB / 0.8148 GB, free: 12.92 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.009551, allocations: 0 / 0.8148 GB, free: 12.92 MB / 0.7292 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.0008412/0.01039, allocations: 434.8 kB / 0.8152 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.01043, allocations: 9.969 kB / 0.8152 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.438e-05/0.01051, allocations: 20.83 kB / 0.8152 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004178/0.01093, allocations: 194.1 kB / 0.8154 GB, free: 12.22 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2e-05/0.01095, allocations: 12.31 kB / 0.8154 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.988e-05/0.01097, allocations: 9.391 kB / 0.8154 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002751/0.01124, allocations: 113.6 kB / 0.8155 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.01126, allocations: 3.938 kB / 0.8155 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.935e-05/0.01127, allocations: 9.516 kB / 0.8155 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.955e-05/0.01129, allocations: 8 kB / 0.8155 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001308/0.01142, allocations: 31.97 kB / 0.8156 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005955/0.01202, allocations: 292.4 kB / 0.8158 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002827/0.0123, allocations: 87.56 kB / 0.8159 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.475e-05/0.0124, allocations: 33.59 kB / 0.816 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.01242, allocations: 0.625 kB / 0.816 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002176/0.01263, allocations: 91.39 kB / 0.816 GB, free: 11.47 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 1.283e-06/0.01263, allocations: 0.6875 kB / 0.816 GB, free: 11.47 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.0004527/0.01309, allocations: 146.1 kB / 0.8162 GB, free: 11.32 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.099e-05/0.01318, allocations: 86.19 kB / 0.8163 GB, free: 11.22 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000369/0.01355, allocations: 275.2 kB / 0.8165 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.107e-05/0.01358, allocations: 33.7 kB / 0.8166 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.000114/0.01369, allocations: 116.7 kB / 0.8167 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.453e-05/0.01373, allocations: 19.8 kB / 0.8167 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.655e-05/0.01379, allocations: 31.02 kB / 0.8167 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002029/0.014, allocations: 326.8 kB / 0.817 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.984e-05/0.01409, allocations: 31.92 kB / 0.8171 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001816/0.01427, allocations: 115.9 kB / 0.8172 GB, free: 10.24 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001818/0.01445, allocations: 77.62 kB / 0.8173 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.01445, allocations: 0.5 kB / 0.8173 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000282/0.01473, allocations: 118.4 kB / 0.8174 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.01475, allocations: 9.719 kB / 0.8174 GB, free: 10.03 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.01476, allocations: 0 / 0.8174 GB, free: 10.03 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.01478, allocations: 0 / 0.8174 GB, free: 10.03 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.01489, allocations: 15.98 kB / 0.8174 GB, free: 10.01 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.01489, allocations: 0 / 0.8174 GB, free: 10.01 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.997e-05/0.01497, allocations: 13.89 kB / 0.8174 GB, free: 10 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-06/0.01498, allocations: 7.875 kB / 0.8174 GB, free: 9.992 MB / 0.7292 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.0001993/0.01518, allocations: 145.8 kB / 0.8175 GB, free: 9.84 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.498e-05/0.01523, allocations: 19.89 kB / 0.8176 GB, free: 9.82 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003557/0.01558, allocations: 135.8 kB / 0.8177 GB, free: 9.676 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.816e-06/0.01559, allocations: 3.438 kB / 0.8177 GB, free: 9.676 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.0156, allocations: 0 / 0.8177 GB, free: 9.676 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.0156, allocations: 0 / 0.8177 GB, free: 9.676 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002219/0.01582, allocations: 165.2 kB / 0.8179 GB, free: 9.484 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.01582, allocations: 0 / 0.8179 GB, free: 9.484 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.679e-05/0.01589, allocations: 8 kB / 0.8179 GB, free: 9.477 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.01589, allocations: 0 / 0.8179 GB, free: 9.477 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.0159, allocations: 4 kB / 0.8179 GB, free: 9.473 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.01591, allocations: 4 kB / 0.8179 GB, free: 9.469 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.01591, allocations: 0 / 0.8179 GB, free: 9.469 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003476/0.01626, allocations: 169.6 kB / 0.818 GB, free: 9.285 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.637e-05/0.01629, allocations: 16.34 kB / 0.8181 GB, free: 9.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.119e-05/0.01632, allocations: 4 kB / 0.8181 GB, free: 9.266 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.117e-05/0.01639, allocations: 5.562 kB / 0.8181 GB, free: 9.262 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.159e-05/0.01646, allocations: 7.984 kB / 0.8181 GB, free: 9.254 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.807e-05/0.01648, allocations: 7.984 kB / 0.8181 GB, free: 9.246 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002417/0.01672, allocations: 204.6 kB / 0.8183 GB, free: 9.047 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.01672, allocations: 0.875 kB / 0.8183 GB, free: 9.047 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003292/0.01705, allocations: 35.92 kB / 0.8183 GB, free: 9.012 MB / 0.7292 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.002093/0.01914, allocations: 462.7 kB / 0.8187 GB, free: 8.754 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000262/0.0194, allocations: 67.91 kB / 0.8188 GB, free: 8.688 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.0194, allocations: 1.125 kB / 0.8188 GB, free: 8.688 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001182/0.01952, allocations: 43.91 kB / 0.8189 GB, free: 8.645 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000341/0.01986, allocations: 42.73 kB / 0.8189 GB, free: 8.605 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000726/0.02059, allocations: 313.1 kB / 0.8192 GB, free: 8.27 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001465/0.02073, allocations: 116 kB / 0.8193 GB, free: 8.141 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 8.514e-05/0.02082, allocations: 22.73 kB / 0.8193 GB, free: 8.121 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002942/0.02111, allocations: 25.28 kB / 0.8194 GB, free: 8.098 MB / 0.7292 GB Notification: Performance of SimCode: time 6.61e-07/0.02111, allocations: 0 / 0.8194 GB, free: 8.098 MB / 0.7292 GB Notification: Performance of Templates: time 0.00839/0.0295, allocations: 2.693 MB / 0.822 GB, free: 5.465 MB / 0.7292 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_IntegerReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.627133904024959]