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.001385/0.001385, 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.001612/0.001612, 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 1.047/1.047, allocations: 177.1 MB / 204.2 MB, free: 5.629 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.864/1.864, allocations: 359 MB / 0.6052 GB, free: 11.02 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.422e-06/1.422e-06, allocations: 0 / 0.7871 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.325e-05/3.468e-05, allocations: 4.984 kB / 0.7871 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.002498/0.002533, allocations: 1.827 MB / 0.7889 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001533/0.004066, allocations: 1.218 MB / 0.7901 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.629e-05/0.004152, allocations: 0.5625 kB / 0.7901 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0002781/0.00443, allocations: 65.08 kB / 0.7901 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0003086/0.004739, allocations: 123.4 kB / 0.7902 GB, free: 9.242 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004776/0.005216, allocations: 201.1 kB / 0.7904 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001926/0.005409, allocations: 155.5 kB / 0.7906 GB, free: 8.895 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.127e-05/0.0055, allocations: 27.02 kB / 0.7906 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001104/0.00561, allocations: 87.73 kB / 0.7907 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.005712, allocations: 67.8 kB / 0.7908 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.977e-05/0.005731, allocations: 8.938 kB / 0.7908 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001454/0.005877, allocations: 79.86 kB / 0.7908 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 6.684e-05/0.005944, allocations: 40.69 kB / 0.7909 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.289e-05/0.005996, allocations: 35.84 kB / 0.7909 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002418/0.006238, allocations: 172.4 kB / 0.7911 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.006241, allocations: 0 / 0.7911 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.21e-07/0.006241, allocations: 0 / 0.7911 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.006246, allocations: 0.5625 kB / 0.7911 GB, free: 8.387 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.0005013/0.006747, allocations: 0.518 MB / 0.7916 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.165e-05/0.006779, allocations: 8.031 kB / 0.7916 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.717e-05/0.006836, allocations: 28.84 kB / 0.7916 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002183/0.007054, allocations: 189.8 kB / 0.7918 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.00707, allocations: 384 / 0.7918 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.007082, allocations: 8.312 kB / 0.7918 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001625/0.007244, allocations: 123.9 kB / 0.7919 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.007252, allocations: 5.125 kB / 0.7919 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.447e-06/0.007262, allocations: 0 / 0.7919 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/0.007274, allocations: 4 kB / 0.7919 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.762e-05/0.007322, allocations: 23.05 kB / 0.792 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003936/0.007715, allocations: 347.6 kB / 0.7923 GB, free: 7.027 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001229/0.007838, allocations: 63.11 kB / 0.7924 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.373e-05/0.007872, allocations: 19.67 kB / 0.7924 GB, free: 6.93 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.421e-05/0.007886, allocations: 4 kB / 0.7924 GB, free: 6.926 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001081/0.007994, allocations: 65.05 kB / 0.7924 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.007995, allocations: 0.8125 kB / 0.7924 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0002131/0.008208, allocations: 123.1 kB / 0.7926 GB, free: 6.723 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.623e-05/0.008245, allocations: 77.11 kB / 0.7926 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00017/0.008415, allocations: 281.8 kB / 0.7929 GB, free: 6.336 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.00843, allocations: 25.7 kB / 0.7929 GB, free: 6.305 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.326e-05/0.008503, allocations: 171.8 kB / 0.7931 GB, free: 6.133 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.234e-05/0.008525, allocations: 15.84 kB / 0.7931 GB, free: 6.117 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.818e-05/0.008564, allocations: 35.36 kB / 0.7931 GB, free: 6.074 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.008686, allocations: 0.5057 MB / 0.7936 GB, free: 5.559 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.813e-05/0.008714, allocations: 12 kB / 0.7936 GB, free: 5.547 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.607e-05/0.008781, allocations: 106.1 kB / 0.7937 GB, free: 5.414 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.995e-05/0.00885, allocations: 52.52 kB / 0.7938 GB, free: 5.355 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.008853, allocations: 0 / 0.7938 GB, free: 5.355 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001387/0.008991, allocations: 98.94 kB / 0.7939 GB, free: 5.254 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.009004, allocations: 4 kB / 0.7939 GB, free: 5.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.00901, allocations: 4 kB / 0.7939 GB, free: 5.246 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.009023, allocations: 0 / 0.7939 GB, free: 5.246 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.431e-05/0.009108, allocations: 12.55 kB / 0.7939 GB, free: 5.234 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.009114, allocations: 4 kB / 0.7939 GB, free: 5.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.83e-05/0.009153, allocations: 1.688 kB / 0.7939 GB, free: 5.23 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.00916, allocations: 4 kB / 0.7939 GB, free: 5.227 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.000187/0.009347, allocations: 177.1 kB / 0.7941 GB, free: 5.043 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.348e-05/0.009371, allocations: 20.81 kB / 0.7941 GB, free: 5.023 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001735/0.009544, allocations: 107.2 kB / 0.7942 GB, free: 4.914 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.438e-06/0.009553, allocations: 0.5312 kB / 0.7942 GB, free: 4.914 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.009557, allocations: 0.625 kB / 0.7942 GB, free: 4.914 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.009562, allocations: 0 / 0.7942 GB, free: 4.914 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001452/0.009707, allocations: 185 kB / 0.7944 GB, free: 4.699 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.009711, allocations: 7.938 kB / 0.7944 GB, free: 4.691 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.274e-05/0.009744, allocations: 5.25 kB / 0.7944 GB, free: 4.688 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.009748, allocations: 4 kB / 0.7944 GB, free: 4.684 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.009757, allocations: 4 kB / 0.7944 GB, free: 4.68 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.009758, allocations: 0.5312 kB / 0.7944 GB, free: 4.68 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.009759, allocations: 1.375 kB / 0.7944 GB, free: 4.68 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001454/0.009905, allocations: 136.2 kB / 0.7945 GB, free: 4.523 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.323e-05/0.009928, allocations: 19.89 kB / 0.7946 GB, free: 4.504 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.177e-05/0.00995, allocations: 4 kB / 0.7946 GB, free: 4.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.055e-05/0.00998, allocations: 1.156 kB / 0.7946 GB, free: 4.5 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.024e-05/0.01003, allocations: 11.98 kB / 0.7946 GB, free: 4.488 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.01004, allocations: 4 kB / 0.7946 GB, free: 4.484 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001113/0.01015, allocations: 201.3 kB / 0.7948 GB, free: 4.289 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.01015, allocations: 0 / 0.7948 GB, free: 4.289 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001978/0.01035, allocations: 32.88 kB / 0.7948 GB, free: 4.258 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.00106/0.01141, allocations: 420.1 kB / 0.7952 GB, free: 4 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001602/0.01157, allocations: 52.66 kB / 0.7953 GB, free: 3.945 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.01157, allocations: 0 / 0.7953 GB, free: 3.945 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.044e-05/0.01162, allocations: 33.02 kB / 0.7953 GB, free: 3.91 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002335/0.01186, allocations: 51.97 kB / 0.7953 GB, free: 3.863 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004561/0.01231, allocations: 267.7 kB / 0.7956 GB, free: 3.57 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.222e-05/0.01237, allocations: 79.75 kB / 0.7957 GB, free: 3.473 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.415e-05/0.01242, allocations: 22.78 kB / 0.7957 GB, free: 3.453 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.866e-05/0.01247, allocations: 26.81 kB / 0.7957 GB, free: 3.43 MB / 0.7448 GB Notification: Performance of SimCode: time 1.082e-06/0.01247, allocations: 0 / 0.7957 GB, free: 3.43 MB / 0.7448 GB Notification: Performance of Templates: time 0.005/0.01747, allocations: 2.703 MB / 0.7983 GB, free: 0.7812 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: 5.390640281140804]