Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001974/0.001974, allocations: 87.69 kB / 20.24 MB, free: 4.188 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.002779/0.002779, allocations: 161.7 kB / 23.55 MB, free: 0.875 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.626/1.626, allocations: 177.1 MB / 203.9 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.973/2.973, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Utilities.Math.Examples.IntegerReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.477e-05/2.639e-05, allocations: 3.562 kB / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.003222/0.003248, allocations: 1.788 MB / 0.7881 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002194/0.005442, allocations: 1.226 MB / 0.7893 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.567e-05/0.005508, allocations: 0 / 0.7893 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0002836/0.005791, allocations: 60.19 kB / 0.7894 GB, free: 9.723 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0003216/0.006113, allocations: 121 kB / 0.7895 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005235/0.006636, allocations: 192.5 kB / 0.7897 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002404/0.006877, allocations: 172.1 kB / 0.7898 GB, free: 9.25 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.604e-05/0.006963, allocations: 17.62 kB / 0.7899 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001531/0.007116, allocations: 89.14 kB / 0.79 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001307/0.007247, allocations: 67.8 kB / 0.79 GB, free: 9.078 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.406e-05/0.007271, allocations: 4 kB / 0.79 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001732/0.007444, allocations: 80.73 kB / 0.7901 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.307e-05/0.007527, allocations: 47.83 kB / 0.7901 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.909e-05/0.007586, allocations: 23.94 kB / 0.7902 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003313/0.007917, allocations: 215.8 kB / 0.7904 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.007921, allocations: 0.7812 kB / 0.7904 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.42e-07/0.007922, allocations: 0 / 0.7904 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.007926, allocations: 4.875 kB / 0.7904 GB, free: 8.711 MB / 0.7448 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.0007414/0.008668, allocations: 0.5282 MB / 0.7909 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.008701, allocations: 12.66 kB / 0.7909 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.836e-05/0.008769, allocations: 20.83 kB / 0.7909 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003245/0.009093, allocations: 193.4 kB / 0.7911 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.009111, allocations: 4.375 kB / 0.7911 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.437e-05/0.009125, allocations: 4.375 kB / 0.7911 GB, free: 7.887 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002217/0.009347, allocations: 120.8 kB / 0.7912 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.009359, allocations: 3.938 kB / 0.7912 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.009369, allocations: 0 / 0.7912 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.009382, allocations: 7.938 kB / 0.7912 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.666e-05/0.009479, allocations: 29.11 kB / 0.7913 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005463/0.01003, allocations: 359.7 kB / 0.7916 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002139/0.01024, allocations: 86.25 kB / 0.7917 GB, free: 7.23 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.586e-05/0.0103, allocations: 23.69 kB / 0.7917 GB, free: 7.203 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.01033, allocations: 7.984 kB / 0.7917 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001752/0.0105, allocations: 84.92 kB / 0.7918 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.222e-06/0.0105, allocations: 0 / 0.7918 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0003405/0.01084, allocations: 125.5 kB / 0.7919 GB, free: 6.969 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/0.0109, allocations: 81.11 kB / 0.792 GB, free: 6.871 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003354/0.01124, allocations: 317.8 kB / 0.7923 GB, free: 6.543 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.01126, allocations: 30.42 kB / 0.7923 GB, free: 6.508 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001313/0.01139, allocations: 178.8 kB / 0.7925 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.036e-05/0.01142, allocations: 25.5 kB / 0.7925 GB, free: 6.305 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.572e-05/0.01149, allocations: 39.34 kB / 0.7926 GB, free: 6.258 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000267/0.01176, allocations: 0.5118 MB / 0.7931 GB, free: 5.734 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.962e-05/0.01182, allocations: 20 kB / 0.7931 GB, free: 5.715 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001346/0.01195, allocations: 115.1 kB / 0.7932 GB, free: 5.574 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001373/0.01209, allocations: 67.23 kB / 0.7933 GB, free: 5.5 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.01209, allocations: 1.719 kB / 0.7933 GB, free: 5.5 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002174/0.01231, allocations: 105.5 kB / 0.7934 GB, free: 5.391 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.01232, allocations: 4 kB / 0.7934 GB, free: 5.387 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.01232, allocations: 0 / 0.7934 GB, free: 5.387 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.01234, allocations: 5.281 kB / 0.7934 GB, free: 5.383 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.342e-05/0.01242, allocations: 8 kB / 0.7934 GB, free: 5.375 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.01243, allocations: 0 / 0.7934 GB, free: 5.375 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.42e-05/0.01249, allocations: 17.34 kB / 0.7934 GB, free: 5.359 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/0.01251, allocations: 4 kB / 0.7934 GB, free: 5.355 MB / 0.7448 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.0001437/0.01265, allocations: 173.2 kB / 0.7936 GB, free: 5.176 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.593e-05/0.01268, allocations: 20.53 kB / 0.7936 GB, free: 5.156 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002647/0.01295, allocations: 112.7 kB / 0.7937 GB, free: 5.043 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.25e-05/0.01296, allocations: 7.984 kB / 0.7937 GB, free: 5.035 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.01296, allocations: 0 / 0.7937 GB, free: 5.035 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.01297, allocations: 0 / 0.7937 GB, free: 5.035 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002312/0.0132, allocations: 204.4 kB / 0.7939 GB, free: 4.801 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.0132, allocations: 0.9062 kB / 0.7939 GB, free: 4.801 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.106e-05/0.01325, allocations: 11.98 kB / 0.7939 GB, free: 4.789 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.01325, allocations: 0.5312 kB / 0.7939 GB, free: 4.789 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.01326, allocations: 3.938 kB / 0.7939 GB, free: 4.785 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.01327, allocations: 4.5 kB / 0.7939 GB, free: 4.781 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.01327, allocations: 0.5312 kB / 0.7939 GB, free: 4.781 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000258/0.01352, allocations: 144.3 kB / 0.7941 GB, free: 4.617 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.856e-05/0.01356, allocations: 21.08 kB / 0.7941 GB, free: 4.598 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.733e-05/0.01359, allocations: 4 kB / 0.7941 GB, free: 4.594 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.49e-05/0.01364, allocations: 7.984 kB / 0.7941 GB, free: 4.586 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.235e-05/0.0137, allocations: 12.52 kB / 0.7941 GB, free: 4.574 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.316e-05/0.01371, allocations: 5.375 kB / 0.7941 GB, free: 4.57 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002132/0.01392, allocations: 224.5 kB / 0.7943 GB, free: 4.352 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.01392, allocations: 0 / 0.7943 GB, free: 4.352 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.00024/0.01416, allocations: 31.94 kB / 0.7943 GB, free: 4.32 MB / 0.7448 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.002848/0.01701, allocations: 455.8 kB / 0.7948 GB, free: 4.066 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002187/0.01723, allocations: 68.66 kB / 0.7948 GB, free: 3.996 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.01723, allocations: 0 / 0.7948 GB, free: 3.996 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001733/0.0174, allocations: 35.67 kB / 0.7949 GB, free: 3.957 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003124/0.01772, allocations: 59.5 kB / 0.7949 GB, free: 3.906 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005694/0.01829, allocations: 282.7 kB / 0.7952 GB, free: 3.598 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001146/0.0184, allocations: 108.2 kB / 0.7953 GB, free: 3.473 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.326e-05/0.01847, allocations: 32.67 kB / 0.7953 GB, free: 3.445 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.513e-05/0.01853, allocations: 20.5 kB / 0.7954 GB, free: 3.426 MB / 0.7448 GB Notification: Performance of SimCode: time 4.71e-07/0.01853, allocations: 0 / 0.7954 GB, free: 3.426 MB / 0.7448 GB Notification: Performance of Templates: time 0.007057/0.02559, allocations: 2.69 MB / 0.798 GB, free: 0.7891 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_IntegerReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.034000603016466]