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.001253/0.001253, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001327/0.001327, allocations: 161.4 kB / 23.82 MB, free: 0.7539 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.9296/0.9296, allocations: 177.1 MB / 204.2 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] 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 1.79/1.79, allocations: 359 MB / 0.6052 GB, free: 10.98 MB / 0.573 GB " [Timeout remaining time 178] 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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.163e-06/1.163e-06, allocations: 448 / 0.7871 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.547e-05/1.663e-05, allocations: 13.34 kB / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.002173/0.00219, allocations: 1.827 MB / 0.7889 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001347/0.003537, allocations: 1.226 MB / 0.7901 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.874e-05/0.003626, allocations: 0 / 0.7901 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0003229/0.003949, allocations: 69.11 kB / 0.7901 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0003445/0.004293, allocations: 119.5 kB / 0.7903 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004639/0.004757, allocations: 204.8 kB / 0.7905 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001844/0.004942, allocations: 152.2 kB / 0.7906 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.638e-05/0.005038, allocations: 25.61 kB / 0.7906 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001079/0.005146, allocations: 96.83 kB / 0.7907 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.831e-05/0.005234, allocations: 51.88 kB / 0.7908 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.755e-05/0.005252, allocations: 10.19 kB / 0.7908 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001371/0.005389, allocations: 83.86 kB / 0.7909 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 6.08e-05/0.00545, allocations: 39.83 kB / 0.7909 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.38e-05/0.005493, allocations: 27.88 kB / 0.7909 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002146/0.005708, allocations: 171.4 kB / 0.7911 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.00571, allocations: 0 / 0.7911 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.21e-07/0.005711, allocations: 2.031 kB / 0.7911 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.005715, allocations: 0 / 0.7911 GB, free: 8.383 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.0005009/0.006216, allocations: 0.5245 MB / 0.7916 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.006248, allocations: 8.031 kB / 0.7916 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.2e-05/0.0063, allocations: 24.78 kB / 0.7916 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001906/0.00649, allocations: 189.8 kB / 0.7918 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/0.006511, allocations: 384 / 0.7918 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.103e-05/0.006522, allocations: 4.375 kB / 0.7918 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000148/0.00667, allocations: 70.92 kB / 0.7919 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.128e-06/0.006679, allocations: 5.312 kB / 0.7919 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.006691, allocations: 4 kB / 0.7919 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.222e-05/0.006713, allocations: 7.938 kB / 0.7919 GB, free: 7.477 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.667e-05/0.00676, allocations: 21.67 kB / 0.7919 GB, free: 7.457 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004086/0.007168, allocations: 335.7 kB / 0.7922 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000122/0.00729, allocations: 71.14 kB / 0.7923 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.335e-05/0.007324, allocations: 24.73 kB / 0.7923 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.011e-05/0.007334, allocations: 0 / 0.7923 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.985e-05/0.007434, allocations: 78.95 kB / 0.7924 GB, free: 6.895 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.007435, allocations: 0 / 0.7924 GB, free: 6.895 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0001971/0.007632, allocations: 105.5 kB / 0.7925 GB, free: 6.785 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.943e-05/0.007661, allocations: 51.41 kB / 0.7926 GB, free: 6.723 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001734/0.007835, allocations: 277.8 kB / 0.7928 GB, free: 6.434 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.007847, allocations: 28.3 kB / 0.7928 GB, free: 6.402 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.692e-05/0.007924, allocations: 174.8 kB / 0.793 GB, free: 6.227 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.589e-05/0.00795, allocations: 31.75 kB / 0.793 GB, free: 6.195 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.583e-05/0.007986, allocations: 27.38 kB / 0.7931 GB, free: 6.16 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.008104, allocations: 0.504 MB / 0.7936 GB, free: 5.645 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.635e-05/0.00813, allocations: 8 kB / 0.7936 GB, free: 5.637 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.886e-05/0.008179, allocations: 69.47 kB / 0.7936 GB, free: 5.551 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.151e-05/0.008241, allocations: 55.77 kB / 0.7937 GB, free: 5.488 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.008244, allocations: 5.656 kB / 0.7937 GB, free: 5.484 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000107/0.008351, allocations: 89.48 kB / 0.7938 GB, free: 5.391 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.008362, allocations: 5.875 kB / 0.7938 GB, free: 5.387 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.008368, allocations: 4 kB / 0.7938 GB, free: 5.383 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.008379, allocations: 0.6562 kB / 0.7938 GB, free: 5.383 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.71e-05/0.008446, allocations: 11.98 kB / 0.7938 GB, free: 5.371 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.008453, allocations: 5.422 kB / 0.7938 GB, free: 5.367 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.233e-05/0.008485, allocations: 0 / 0.7938 GB, free: 5.367 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.315e-06/0.008493, allocations: 13.14 kB / 0.7938 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 8.04e-05/0.008574, allocations: 165.2 kB / 0.794 GB, free: 5.184 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.031e-05/0.008594, allocations: 24.75 kB / 0.794 GB, free: 5.16 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001434/0.008737, allocations: 107 kB / 0.7941 GB, free: 5.051 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/0.008746, allocations: 0.8438 kB / 0.7941 GB, free: 5.051 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.008749, allocations: 0 / 0.7941 GB, free: 5.051 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.008751, allocations: 1.281 kB / 0.7941 GB, free: 5.051 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001297/0.008881, allocations: 188.4 kB / 0.7943 GB, free: 4.832 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.008882, allocations: 0 / 0.7943 GB, free: 4.832 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.424e-05/0.008906, allocations: 4 kB / 0.7943 GB, free: 4.828 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.008908, allocations: 0.8438 kB / 0.7943 GB, free: 4.828 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.008916, allocations: 4 kB / 0.7943 GB, free: 4.824 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.008917, allocations: 1 kB / 0.7943 GB, free: 4.824 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.008919, allocations: 7.938 kB / 0.7943 GB, free: 4.816 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001231/0.009042, allocations: 145.7 kB / 0.7944 GB, free: 4.652 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.74e-05/0.00906, allocations: 11.91 kB / 0.7945 GB, free: 4.641 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.726e-05/0.009077, allocations: 0 / 0.7945 GB, free: 4.641 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.676e-05/0.009104, allocations: 8 kB / 0.7945 GB, free: 4.633 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.918e-05/0.009143, allocations: 9.297 kB / 0.7945 GB, free: 4.625 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.828e-06/0.009153, allocations: 7.984 kB / 0.7945 GB, free: 4.617 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.735e-05/0.00925, allocations: 200.5 kB / 0.7947 GB, free: 4.422 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.00925, allocations: 0 / 0.7947 GB, free: 4.422 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001664/0.009417, allocations: 42.89 kB / 0.7947 GB, free: 4.383 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.0008144/0.01023, allocations: 403.4 kB / 0.7951 GB, free: 4.137 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001312/0.01036, allocations: 53.8 kB / 0.7951 GB, free: 4.082 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.01036, allocations: 0 / 0.7951 GB, free: 4.082 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.182e-05/0.01041, allocations: 31.67 kB / 0.7952 GB, free: 4.047 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001916/0.0106, allocations: 57.92 kB / 0.7952 GB, free: 3.996 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003545/0.01095, allocations: 259.7 kB / 0.7955 GB, free: 3.711 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.171e-05/0.01099, allocations: 83.81 kB / 0.7956 GB, free: 3.609 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.457e-05/0.01104, allocations: 24 kB / 0.7956 GB, free: 3.59 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.768e-05/0.01108, allocations: 20.5 kB / 0.7956 GB, free: 3.57 MB / 0.7448 GB Notification: Performance of SimCode: time 5.31e-07/0.01108, allocations: 0 / 0.7956 GB, free: 3.57 MB / 0.7448 GB Notification: Performance of Templates: time 0.004343/0.01542, allocations: 2.818 MB / 0.7984 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.923864857759327]