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.001865/0.001865, allocations: 80.41 kB / 20.23 MB, free: 4.203 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.002275/0.002275, allocations: 165.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.55/1.55, allocations: 177.1 MB / 203.9 MB, free: 5.578 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.738/2.738, allocations: 359 MB / 0.6048 GB, free: 10.91 MB / 0.573 GB " [Timeout remaining time 177] 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.442e-06/1.442e-06, allocations: 0 / 0.7864 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.405e-05/2.549e-05, allocations: 5.688 kB / 0.7864 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.003611/0.003637, allocations: 1.788 MB / 0.7881 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002405/0.006042, allocations: 1.187 MB / 0.7893 GB, free: 9.801 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.283e-05/0.006135, allocations: 5 kB / 0.7893 GB, free: 9.797 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0003158/0.00645, allocations: 59.67 kB / 0.7894 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0004075/0.006858, allocations: 121 kB / 0.7895 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006182/0.007476, allocations: 200.9 kB / 0.7897 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002775/0.007753, allocations: 163.5 kB / 0.7898 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.984e-05/0.007853, allocations: 17.62 kB / 0.7898 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001683/0.008022, allocations: 90.17 kB / 0.7899 GB, free: 9.16 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000135/0.008157, allocations: 63.8 kB / 0.79 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.465e-05/0.008181, allocations: 8 kB / 0.79 GB, free: 9.09 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001958/0.008377, allocations: 75.86 kB / 0.7901 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.815e-05/0.008465, allocations: 43.84 kB / 0.7901 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.075e-05/0.008536, allocations: 33.64 kB / 0.7901 GB, free: 8.941 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000392/0.008928, allocations: 215.3 kB / 0.7903 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.008931, allocations: 0 / 0.7903 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.657e-06/0.008935, allocations: 4 kB / 0.7903 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.199e-06/0.00894, allocations: 0 / 0.7903 GB, free: 8.727 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.0007627/0.009703, allocations: 427.4 kB / 0.7908 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.009744, allocations: 13.41 kB / 0.7908 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.863e-05/0.009842, allocations: 16.84 kB / 0.7908 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004307/0.01027, allocations: 193.4 kB / 0.791 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/0.01029, allocations: 8.359 kB / 0.791 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.921e-05/0.01031, allocations: 8.875 kB / 0.791 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002611/0.01057, allocations: 126.1 kB / 0.7911 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/0.01059, allocations: 4.719 kB / 0.7911 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.01061, allocations: 0 / 0.7911 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.204e-05/0.01062, allocations: 1.156 kB / 0.7911 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001395/0.01076, allocations: 39.97 kB / 0.7911 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005765/0.01134, allocations: 288.4 kB / 0.7914 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002822/0.01162, allocations: 87.97 kB / 0.7915 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.962e-05/0.01172, allocations: 32.84 kB / 0.7915 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/0.01173, allocations: 1.75 kB / 0.7915 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002052/0.01194, allocations: 87.36 kB / 0.7916 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.653e-06/0.01194, allocations: 0 / 0.7916 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0004511/0.01239, allocations: 153.5 kB / 0.7918 GB, free: 7.137 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.517e-05/0.01246, allocations: 78.27 kB / 0.7918 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003728/0.01283, allocations: 275.2 kB / 0.7921 GB, free: 6.762 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.598e-05/0.01286, allocations: 25.7 kB / 0.7921 GB, free: 6.73 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.01297, allocations: 120.6 kB / 0.7922 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.304e-05/0.013, allocations: 21.78 kB / 0.7923 GB, free: 6.59 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.549e-05/0.01307, allocations: 33.7 kB / 0.7923 GB, free: 6.551 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001833/0.01325, allocations: 322.8 kB / 0.7926 GB, free: 6.227 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.81e-05/0.01334, allocations: 31.98 kB / 0.7926 GB, free: 6.195 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001646/0.0135, allocations: 114.8 kB / 0.7927 GB, free: 6.059 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000185/0.01369, allocations: 84.2 kB / 0.7928 GB, free: 5.973 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.01369, allocations: 0 / 0.7928 GB, free: 5.973 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002771/0.01397, allocations: 117.5 kB / 0.7929 GB, free: 5.852 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.01398, allocations: 4 kB / 0.7929 GB, free: 5.848 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.01399, allocations: 0 / 0.7929 GB, free: 5.848 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/0.01401, allocations: 4.531 kB / 0.7929 GB, free: 5.844 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.01411, allocations: 12.7 kB / 0.793 GB, free: 5.832 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.01412, allocations: 4 kB / 0.793 GB, free: 5.828 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.486e-05/0.0142, allocations: 8.484 kB / 0.793 GB, free: 5.82 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.01421, allocations: 5.656 kB / 0.793 GB, free: 5.816 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.0001579/0.01436, allocations: 145.7 kB / 0.7931 GB, free: 5.664 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.228e-05/0.01442, allocations: 23.84 kB / 0.7931 GB, free: 5.641 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003201/0.01474, allocations: 124 kB / 0.7933 GB, free: 5.516 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.667e-05/0.01475, allocations: 7.984 kB / 0.7933 GB, free: 5.508 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.01476, allocations: 8.781 kB / 0.7933 GB, free: 5.5 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.01476, allocations: 0 / 0.7933 GB, free: 5.5 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002185/0.01498, allocations: 173.1 kB / 0.7934 GB, free: 5.301 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.01498, allocations: 1.281 kB / 0.7934 GB, free: 5.301 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.021e-05/0.01503, allocations: 4 kB / 0.7934 GB, free: 5.297 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.01504, allocations: 0 / 0.7934 GB, free: 5.297 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.01505, allocations: 4.844 kB / 0.7934 GB, free: 5.293 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.01505, allocations: 0 / 0.7934 GB, free: 5.293 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.01505, allocations: 0 / 0.7934 GB, free: 5.293 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003276/0.01538, allocations: 154.1 kB / 0.7936 GB, free: 5.125 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.779e-05/0.01543, allocations: 27.83 kB / 0.7936 GB, free: 5.098 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.822e-05/0.01546, allocations: 0 / 0.7936 GB, free: 5.098 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.331e-05/0.01552, allocations: 5.312 kB / 0.7936 GB, free: 5.094 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.004e-05/0.01558, allocations: 11.98 kB / 0.7936 GB, free: 5.082 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.519e-05/0.01559, allocations: 4 kB / 0.7936 GB, free: 5.078 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002442/0.01584, allocations: 206.2 kB / 0.7938 GB, free: 4.879 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9.1e-08/0.01584, allocations: 4 kB / 0.7938 GB, free: 4.875 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002938/0.01613, allocations: 39.91 kB / 0.7939 GB, free: 4.836 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.002171/0.0183, allocations: 453.7 kB / 0.7943 GB, free: 4.582 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002663/0.01857, allocations: 77.89 kB / 0.7944 GB, free: 4.508 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.01857, allocations: 0 / 0.7944 GB, free: 4.508 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001094/0.01868, allocations: 31.98 kB / 0.7944 GB, free: 4.477 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003299/0.01901, allocations: 43.8 kB / 0.7945 GB, free: 4.438 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006718/0.01968, allocations: 317.9 kB / 0.7948 GB, free: 4.102 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001361/0.01982, allocations: 115.9 kB / 0.7949 GB, free: 3.969 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 8.507e-05/0.0199, allocations: 26.91 kB / 0.7949 GB, free: 3.945 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.514e-05/0.01997, allocations: 24.62 kB / 0.7949 GB, free: 3.922 MB / 0.7448 GB Notification: Performance of SimCode: time 6.52e-07/0.01997, allocations: 0 / 0.7949 GB, free: 3.922 MB / 0.7448 GB Notification: Performance of Templates: time 0.008154/0.02812, allocations: 2.696 MB / 0.7976 GB, free: 1.27 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 400] 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: 7.698400661000051]