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.0008147/0.0008147, allocations: 80.48 kB / 19.93 MB, free: 4.629 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.0008105/0.0008105, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8724/0.8724, allocations: 177.1 MB / 203.5 MB, free: 5.754 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.721/1.721, allocations: 377.9 MB / 0.6228 GB, free: 8.664 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.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.763e-06/1.763e-06, allocations: 0 / 0.9822 GB, free: 2.082 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.432e-05/2.608e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.078 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.002283/0.002309, allocations: 1.78 MB / 0.9839 GB, free: 296 kB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001392/0.003701, allocations: 1.196 MB / 0.9851 GB, free: 15.09 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.391e-05/0.003785, allocations: 4 kB / 0.9851 GB, free: 15.08 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003243/0.004109, allocations: 59.66 kB / 0.9852 GB, free: 15.02 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002845/0.004394, allocations: 127.4 kB / 0.9853 GB, free: 14.9 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000372/0.004765, allocations: 193.8 kB / 0.9855 GB, free: 14.71 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0001892/0.004955, allocations: 163.5 kB / 0.9856 GB, free: 14.55 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.005061, allocations: 21.61 kB / 0.9856 GB, free: 14.53 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001066/0.005167, allocations: 79.81 kB / 0.9857 GB, free: 14.45 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.827e-05/0.005266, allocations: 63.8 kB / 0.9858 GB, free: 14.39 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.874e-05/0.005284, allocations: 8 kB / 0.9858 GB, free: 14.38 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001308/0.005415, allocations: 83.8 kB / 0.9859 GB, free: 14.3 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 6.814e-05/0.005483, allocations: 43.84 kB / 0.9859 GB, free: 14.25 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 4.809e-05/0.005531, allocations: 31.92 kB / 0.9859 GB, free: 14.22 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002441/0.005775, allocations: 219.3 kB / 0.9861 GB, free: 14.01 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.005778, allocations: 7.875 kB / 0.9862 GB, free: 14 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.883e-06/0.00578, allocations: 0 / 0.9862 GB, free: 14 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.005785, allocations: 0 / 0.9862 GB, free: 14 MB / 0.948 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.0005331/0.006318, allocations: 422.9 kB / 0.9866 GB, free: 13.55 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.00636, allocations: 11.97 kB / 0.9866 GB, free: 13.54 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.581e-05/0.006405, allocations: 20.8 kB / 0.9866 GB, free: 13.52 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002492/0.006655, allocations: 194.1 kB / 0.9868 GB, free: 13.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.00667, allocations: 8.375 kB / 0.9868 GB, free: 13.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.212e-05/0.006682, allocations: 384 / 0.9868 GB, free: 13.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000188/0.00687, allocations: 121.6 kB / 0.9869 GB, free: 13.16 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.006879, allocations: 3.938 kB / 0.9869 GB, free: 13.16 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.00689, allocations: 4 kB / 0.9869 GB, free: 13.15 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.348e-06/0.006899, allocations: 0 / 0.9869 GB, free: 13.15 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.206e-05/0.006971, allocations: 35.98 kB / 0.9869 GB, free: 13.12 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003743/0.007346, allocations: 284.5 kB / 0.9872 GB, free: 12.81 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001584/0.007504, allocations: 98.61 kB / 0.9873 GB, free: 12.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.66e-05/0.007551, allocations: 36.78 kB / 0.9873 GB, free: 12.66 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.384e-05/0.007565, allocations: 0 / 0.9873 GB, free: 12.66 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000132/0.007696, allocations: 87.36 kB / 0.9874 GB, free: 12.57 MB / 0.948 GB Notification: Performance of pre-optimization done (n=8): time 1.362e-06/0.007698, allocations: 0 / 0.9874 GB, free: 12.57 MB / 0.948 GB Notification: Performance of matching and sorting (n=8): time 0.0002622/0.00796, allocations: 153.4 kB / 0.9876 GB, free: 12.41 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.407e-05/0.008004, allocations: 81.09 kB / 0.9876 GB, free: 12.31 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002888/0.008293, allocations: 271.2 kB / 0.9879 GB, free: 12.04 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.008308, allocations: 25.7 kB / 0.9879 GB, free: 12.01 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.403e-05/0.008372, allocations: 124.1 kB / 0.988 GB, free: 11.88 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.64e-05/0.008399, allocations: 27.8 kB / 0.9881 GB, free: 11.86 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.484e-05/0.008433, allocations: 25.7 kB / 0.9881 GB, free: 11.82 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.234e-05/0.008516, allocations: 326.8 kB / 0.9884 GB, free: 11.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.598e-05/0.008562, allocations: 27.98 kB / 0.9884 GB, free: 11.47 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.283e-05/0.008635, allocations: 118.8 kB / 0.9886 GB, free: 11.33 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.239e-05/0.008727, allocations: 73.58 kB / 0.9886 GB, free: 11.25 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.008729, allocations: 4 kB / 0.9886 GB, free: 11.25 MB / 0.948 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001388/0.008868, allocations: 125.5 kB / 0.9887 GB, free: 11.12 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.008881, allocations: 8.062 kB / 0.9888 GB, free: 11.11 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.008888, allocations: 0 / 0.9888 GB, free: 11.11 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.008901, allocations: 0 / 0.9888 GB, free: 11.11 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.12e-05/0.008972, allocations: 15.98 kB / 0.9888 GB, free: 11.09 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.008977, allocations: 0 / 0.9888 GB, free: 11.09 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.744e-05/0.009014, allocations: 7.953 kB / 0.9888 GB, free: 11.09 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.034e-06/0.009021, allocations: 4 kB / 0.9888 GB, free: 11.08 MB / 0.948 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.767e-05/0.009119, allocations: 141.8 kB / 0.9889 GB, free: 10.93 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.585e-05/0.009135, allocations: 15.91 kB / 0.9889 GB, free: 10.92 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001862/0.009321, allocations: 139 kB / 0.9891 GB, free: 10.78 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.301e-06/0.009327, allocations: 0 / 0.9891 GB, free: 10.78 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/0.009331, allocations: 0 / 0.9891 GB, free: 10.78 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.009335, allocations: 0 / 0.9891 GB, free: 10.78 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001227/0.009458, allocations: 169.2 kB / 0.9892 GB, free: 10.58 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.009459, allocations: 0 / 0.9892 GB, free: 10.58 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.057e-05/0.00949, allocations: 19.92 kB / 0.9892 GB, free: 10.56 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.009491, allocations: 0 / 0.9892 GB, free: 10.56 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.009499, allocations: 0 / 0.9892 GB, free: 10.56 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.0095, allocations: 3.938 kB / 0.9892 GB, free: 10.56 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.009501, allocations: 0 / 0.9892 GB, free: 10.56 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001484/0.009649, allocations: 152.9 kB / 0.9894 GB, free: 10.39 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.309e-05/0.009672, allocations: 23.84 kB / 0.9894 GB, free: 10.37 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.979e-05/0.009692, allocations: 3.984 kB / 0.9894 GB, free: 10.36 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.597e-05/0.009718, allocations: 4 kB / 0.9894 GB, free: 10.36 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.687e-05/0.009765, allocations: 11.98 kB / 0.9894 GB, free: 10.35 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.009775, allocations: 4 kB / 0.9894 GB, free: 10.34 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001244/0.009899, allocations: 208.7 kB / 0.9896 GB, free: 10.14 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.009899, allocations: 0 / 0.9896 GB, free: 10.14 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001727/0.01007, allocations: 39.88 kB / 0.9897 GB, free: 10.1 MB / 0.948 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.0007836/0.01086, allocations: 452.3 kB / 0.9901 GB, free: 9.836 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001677/0.01102, allocations: 75.89 kB / 0.9902 GB, free: 9.762 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.01103, allocations: 3.938 kB / 0.9902 GB, free: 9.758 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.92e-05/0.01107, allocations: 31.98 kB / 0.9902 GB, free: 9.727 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002/0.01127, allocations: 42.61 kB / 0.9903 GB, free: 9.688 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004446/0.01172, allocations: 340.1 kB / 0.9906 GB, free: 9.32 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.254e-05/0.0118, allocations: 110.8 kB / 0.9907 GB, free: 9.191 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.161e-05/0.01184, allocations: 28.47 kB / 0.9907 GB, free: 9.164 MB / 0.948 GB Notification: Performance of SimCode: time 5.31e-07/0.01184, allocations: 0 / 0.9907 GB, free: 9.164 MB / 0.948 GB Notification: Performance of Templates: time 0.00356/0.0154, allocations: 2.742 MB / 0.9934 GB, free: 6.434 MB / 0.948 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.242638588882983]