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.001429/0.001429, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.001703/0.001703, allocations: 161.7 kB / 22.76 MB, free: 1.68 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.556/1.556, allocations: 177.1 MB / 203.1 MB, free: 5.254 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.241/3.241, allocations: 429.6 MB / 0.673 GB, free: 3.895 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.2.|intRep.y.1.",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.2.|intRep.y.1.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0.7656 kB / 0.8776 GB, free: 5.371 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.493e-05/2.636e-05, allocations: 2.312 kB / 0.8776 GB, free: 5.367 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.003578/0.003605, allocations: 1.78 MB / 0.8793 GB, free: 3.609 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.002708/0.006312, allocations: 1.198 MB / 0.8805 GB, free: 2.414 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.006414, allocations: 0 / 0.8805 GB, free: 2.414 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.000343/0.006757, allocations: 63.61 kB / 0.8806 GB, free: 2.352 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.0004266/0.007183, allocations: 120.4 kB / 0.8807 GB, free: 2.234 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.00064/0.007823, allocations: 200.3 kB / 0.8809 GB, free: 2.039 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0002801/0.008103, allocations: 168.1 kB / 0.881 GB, free: 1.875 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.008204, allocations: 18.23 kB / 0.881 GB, free: 1.855 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001679/0.008371, allocations: 83.8 kB / 0.8811 GB, free: 1.773 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001484/0.00852, allocations: 68.77 kB / 0.8812 GB, free: 1.707 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.612e-05/0.008546, allocations: 4 kB / 0.8812 GB, free: 1.703 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002071/0.008753, allocations: 80.97 kB / 0.8813 GB, free: 1.625 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 9.148e-05/0.008845, allocations: 47.83 kB / 0.8813 GB, free: 1.578 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 7.328e-05/0.008918, allocations: 31.86 kB / 0.8813 GB, free: 1.547 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0003906/0.009309, allocations: 212.3 kB / 0.8816 GB, free: 1.34 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.009314, allocations: 4 kB / 0.8816 GB, free: 1.336 MB / 0.7917 GB Notification: Performance of FrontEnd: time 8.81e-07/0.009315, allocations: 0 / 0.8816 GB, free: 1.336 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 5.219e-06/0.00932, allocations: 1.125 kB / 0.8816 GB, free: 1.336 MB / 0.7917 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.0008075/0.01013, allocations: 422.9 kB / 0.882 GB, free: 0.8867 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.01017, allocations: 9.156 kB / 0.882 GB, free: 0.8789 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.837e-05/0.01026, allocations: 24.84 kB / 0.882 GB, free: 0.8555 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004264/0.01068, allocations: 201.3 kB / 0.8822 GB, free: 0.6328 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.1e-05/0.0107, allocations: 5.438 kB / 0.8822 GB, free: 0.6289 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.592e-05/0.01072, allocations: 384 / 0.8822 GB, free: 0.6289 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002795/0.011, allocations: 124.7 kB / 0.8823 GB, free: 0.4922 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.01101, allocations: 7.938 kB / 0.8823 GB, free: 496 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.01103, allocations: 0 / 0.8823 GB, free: 496 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.563e-05/0.01104, allocations: 3.984 kB / 0.8823 GB, free: 492 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001381/0.01118, allocations: 39.92 kB / 0.8824 GB, free: 452 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005888/0.01177, allocations: 288.5 kB / 0.8826 GB, free: 132 kB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002703/0.01204, allocations: 90.62 kB / 0.8827 GB, free: 32 kB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.796e-05/0.01213, allocations: 30.19 kB / 0.8827 GB, free: 0 / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.735e-05/0.01214, allocations: 4.047 kB / 0.8828 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002035/0.01235, allocations: 83.31 kB / 0.8828 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=8): time 1.413e-06/0.01235, allocations: 1.562 kB / 0.8828 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8): time 0.0004597/0.01281, allocations: 149.5 kB / 0.883 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.763e-05/0.01288, allocations: 77.11 kB / 0.883 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003581/0.01323, allocations: 279.9 kB / 0.8833 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.702e-05/0.01326, allocations: 26.8 kB / 0.8833 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.01337, allocations: 116.1 kB / 0.8835 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.347e-05/0.0134, allocations: 23.83 kB / 0.8835 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.991e-05/0.01346, allocations: 27.3 kB / 0.8835 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001932/0.01365, allocations: 334.8 kB / 0.8838 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.872e-05/0.01374, allocations: 23.98 kB / 0.8838 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001574/0.0139, allocations: 122.8 kB / 0.884 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001835/0.01408, allocations: 73.89 kB / 0.884 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.01408, allocations: 0 / 0.884 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002826/0.01437, allocations: 129.5 kB / 0.8842 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.01438, allocations: 7.938 kB / 0.8842 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.01439, allocations: 0 / 0.8842 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.254e-05/0.01441, allocations: 4 kB / 0.8842 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.01452, allocations: 8 kB / 0.8842 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.01452, allocations: 0 / 0.8842 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.773e-05/0.0146, allocations: 12.05 kB / 0.8842 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.286e-05/0.01461, allocations: 4 kB / 0.8842 GB, free: 14.42 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.0001618/0.01478, allocations: 146.5 kB / 0.8843 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.283e-05/0.01482, allocations: 23.8 kB / 0.8844 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003377/0.01516, allocations: 135 kB / 0.8845 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.158e-05/0.01517, allocations: 4 kB / 0.8845 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.01517, allocations: 0 / 0.8845 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.01517, allocations: 0 / 0.8845 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002234/0.0154, allocations: 161.2 kB / 0.8846 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.0154, allocations: 12 kB / 0.8846 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.682e-05/0.01546, allocations: 7.984 kB / 0.8847 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.01546, allocations: 0 / 0.8847 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.01547, allocations: 4 kB / 0.8847 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.01547, allocations: 0 / 0.8847 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01548, allocations: 0 / 0.8847 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003183/0.01579, allocations: 152.9 kB / 0.8848 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.083e-05/0.01583, allocations: 19.84 kB / 0.8848 GB, free: 13.69 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.293e-05/0.01587, allocations: 7.984 kB / 0.8848 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.73e-05/0.01594, allocations: 7.984 kB / 0.8848 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.161e-05/0.016, allocations: 15.97 kB / 0.8849 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.5e-05/0.01601, allocations: 8 kB / 0.8849 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0002403/0.01625, allocations: 200.6 kB / 0.8851 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8e-08/0.01625, allocations: 0 / 0.8851 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002965/0.01655, allocations: 39.89 kB / 0.8851 GB, free: 13.42 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.00209/0.01864, allocations: 459.3 kB / 0.8855 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002584/0.0189, allocations: 71.95 kB / 0.8856 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.0189, allocations: 0 / 0.8856 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001074/0.01901, allocations: 39.98 kB / 0.8856 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003377/0.01934, allocations: 47.97 kB / 0.8857 GB, free: 13 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006341/0.01998, allocations: 305.1 kB / 0.886 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001312/0.02011, allocations: 110.8 kB / 0.8861 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 9.07e-05/0.0202, allocations: 29.78 kB / 0.8861 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.237e-05/0.02027, allocations: 24.48 kB / 0.8861 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of SimCode: time 5.71e-07/0.02027, allocations: 0 / 0.8861 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of Templates: time 0.007269/0.02754, allocations: 2.69 MB / 0.8888 GB, free: 9.848 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_IntegerReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.245399558916688]