Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0007167/0.0007167, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008791/0.001596, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007262/0.0007262, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008288/0.001555, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.014/1.014, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0844/1.099, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.354/2.354, allocations: 446.7 MB / 0.6745 GB, free: 6.191 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2813/2.635, allocations: 145.9 MB / 0.817 GB, free: 4.191 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.Utilities.Math.Examples.IntegerReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.8183 GB, free: 2.859 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.577e-05/2.731e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.855 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.003668/0.003695, allocations: 1.879 MB / 0.8201 GB, free: 0.9648 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.00292/0.006616, allocations: 1.239 MB / 0.8214 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002154/0.006831, allocations: 0 / 0.8214 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0004406/0.007272, allocations: 63.5 kB / 0.8214 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0005591/0.007831, allocations: 123.4 kB / 0.8215 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007951/0.008626, allocations: 191.3 kB / 0.8217 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0003279/0.008954, allocations: 155.6 kB / 0.8219 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001656/0.00912, allocations: 14.3 kB / 0.8219 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002751/0.009395, allocations: 135.5 kB / 0.822 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000186/0.009581, allocations: 59.86 kB / 0.8221 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.143e-05/0.009612, allocations: 4 kB / 0.8221 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003328/0.009945, allocations: 87.81 kB / 0.8222 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 7.965e-05/0.01002, allocations: 31.92 kB / 0.8222 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 5.946e-05/0.01008, allocations: 27.88 kB / 0.8222 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003428/0.01043, allocations: 155.4 kB / 0.8224 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.448e-05/0.01045, allocations: 0 / 0.8224 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.463e-06/0.01045, allocations: 0 / 0.8224 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.338e-05/0.01048, allocations: 0 / 0.8224 GB, free: 14.69 MB / 0.8073 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.0007357/0.01121, allocations: 425 kB / 0.8228 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.01125, allocations: 12.62 kB / 0.8228 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.819e-05/0.01131, allocations: 16.92 kB / 0.8228 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002773/0.01159, allocations: 165.5 kB / 0.823 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.812e-05/0.01162, allocations: 4.375 kB / 0.823 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.747e-05/0.01163, allocations: 12.36 kB / 0.823 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001901/0.01182, allocations: 73.69 kB / 0.823 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.01184, allocations: 7.938 kB / 0.823 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.01185, allocations: 0 / 0.823 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.006e-05/0.01188, allocations: 4 kB / 0.823 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.696e-05/0.01194, allocations: 15.98 kB / 0.8231 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003943/0.01233, allocations: 197.8 kB / 0.8233 GB, free: 13.69 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001641/0.01249, allocations: 96.16 kB / 0.8233 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.297e-05/0.01253, allocations: 12.86 kB / 0.8234 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.117e-05/0.01255, allocations: 11.92 kB / 0.8234 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001439/0.01269, allocations: 70.19 kB / 0.8234 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=8): time 2.154e-06/0.01269, allocations: 0 / 0.8234 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8): time 0.0001932/0.01289, allocations: 77.58 kB / 0.8235 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.917e-05/0.01293, allocations: 59.41 kB / 0.8236 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002023/0.01313, allocations: 220.8 kB / 0.8238 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0003354/0.01346, allocations: 29.7 kB / 0.8238 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.596e-05/0.01353, allocations: 104.5 kB / 0.8239 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.053e-05/0.01356, allocations: 15.86 kB / 0.8239 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.872e-05/0.01361, allocations: 29.69 kB / 0.8239 GB, free: 12.9 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.01373, allocations: 330.8 kB / 0.8243 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.015e-05/0.01376, allocations: 10.81 kB / 0.8243 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.753e-05/0.01381, allocations: 56.27 kB / 0.8243 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.786e-05/0.01389, allocations: 47.31 kB / 0.8244 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.0139, allocations: 0 / 0.8244 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001451/0.01404, allocations: 80.36 kB / 0.8244 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.01406, allocations: 4 kB / 0.8245 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.01407, allocations: 0 / 0.8245 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.01408, allocations: 0 / 0.8245 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.0142, allocations: 19.98 kB / 0.8245 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.0142, allocations: 4 kB / 0.8245 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.275e-05/0.01426, allocations: 3.938 kB / 0.8245 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.928e-06/0.01427, allocations: 4 kB / 0.8245 GB, free: 12.31 MB / 0.8073 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.000115/0.01438, allocations: 124.7 kB / 0.8246 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.771e-05/0.01441, allocations: 11.94 kB / 0.8246 GB, free: 12.17 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001643/0.01457, allocations: 75.06 kB / 0.8247 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.501e-05/0.01459, allocations: 4 kB / 0.8247 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.01459, allocations: 0 / 0.8247 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.0146, allocations: 0 / 0.8247 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001524/0.01475, allocations: 105.8 kB / 0.8248 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.01475, allocations: 0 / 0.8248 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.467e-05/0.01481, allocations: 8 kB / 0.8248 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.921e-05/0.01483, allocations: 31.78 kB / 0.8248 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.01484, allocations: 0 / 0.8248 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.01485, allocations: 8 kB / 0.8248 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.01485, allocations: 0 / 0.8248 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.01485, allocations: 0 / 0.8248 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001353/0.01499, allocations: 94.7 kB / 0.8249 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.107e-05/0.01502, allocations: 7.922 kB / 0.8249 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.109e-05/0.01507, allocations: 8 kB / 0.8249 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.854e-05/0.01512, allocations: 7.922 kB / 0.8249 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.33e-05/0.01513, allocations: 4 kB / 0.825 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 9.573e-05/0.01523, allocations: 85 kB / 0.825 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1e-07/0.01523, allocations: 0 / 0.825 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002473/0.01547, allocations: 31.94 kB / 0.8251 GB, free: 11.65 MB / 0.8073 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.001856/0.01733, allocations: 0.5727 MB / 0.8256 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001505/0.01748, allocations: 44.81 kB / 0.8257 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.123e-05/0.01749, allocations: 4 kB / 0.8257 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.103e-05/0.01754, allocations: 24.8 kB / 0.8257 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000223/0.01777, allocations: 55.53 kB / 0.8257 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006971/0.01846, allocations: 265.6 kB / 0.826 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.665e-05/0.01852, allocations: 79.69 kB / 0.8261 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 6.596e-05/0.01859, allocations: 21.47 kB / 0.8261 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001048/0.01869, allocations: 75.36 kB / 0.8262 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of SimCode: time 8.91e-07/0.01869, allocations: 0 / 0.8262 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of Templates: time 0.006904/0.0256, allocations: 2.899 MB / 0.829 GB, free: 7.887 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator/Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.ref.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.373473945073783]