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.001553/0.001553, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001259/0.001259, allocations: 169.3 kB / 24.28 MB, free: 280 kB / 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.017/1.017, allocations: 177.1 MB / 204.6 MB, free: 5.605 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.754/1.754, allocations: 359 MB / 0.6055 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 2.164e-06/2.164e-06, allocations: 0 / 0.7871 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.039e-05/3.255e-05, allocations: 3.125 kB / 0.7871 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.002392/0.002424, allocations: 1.815 MB / 0.7889 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00144/0.003864, allocations: 1.226 MB / 0.7901 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.398e-05/0.003948, allocations: 3.938 kB / 0.7901 GB, free: 9.754 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0002748/0.004223, allocations: 52.53 kB / 0.7901 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002627/0.004486, allocations: 127.4 kB / 0.7902 GB, free: 9.578 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003689/0.004855, allocations: 193.4 kB / 0.7904 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001776/0.005032, allocations: 168.2 kB / 0.7906 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.357e-05/0.005126, allocations: 17.62 kB / 0.7906 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.005231, allocations: 88.98 kB / 0.7907 GB, free: 9.121 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 9.521e-05/0.005327, allocations: 63.86 kB / 0.7907 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.582e-05/0.005342, allocations: 4 kB / 0.7908 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001338/0.005476, allocations: 81.48 kB / 0.7908 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 6.843e-05/0.005545, allocations: 43.84 kB / 0.7909 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.558e-05/0.00559, allocations: 31.86 kB / 0.7909 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002349/0.005825, allocations: 171.4 kB / 0.7911 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.005827, allocations: 1.219 kB / 0.7911 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.22e-07/0.005828, allocations: 0 / 0.7911 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.005833, allocations: 0 / 0.7911 GB, free: 8.734 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.000503/0.006336, allocations: 0.526 MB / 0.7916 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.006371, allocations: 12.03 kB / 0.7916 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.087e-05/0.006421, allocations: 16.84 kB / 0.7916 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002075/0.006629, allocations: 192.2 kB / 0.7918 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.006646, allocations: 5.312 kB / 0.7918 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.263e-05/0.006658, allocations: 8.375 kB / 0.7918 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/0.006826, allocations: 127.2 kB / 0.7919 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.092e-06/0.006832, allocations: 3.938 kB / 0.7919 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.006841, allocations: 0 / 0.7919 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.28e-05/0.006854, allocations: 4 kB / 0.7919 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.517e-05/0.006899, allocations: 19.97 kB / 0.792 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003762/0.007275, allocations: 339.6 kB / 0.7923 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001213/0.007396, allocations: 71.09 kB / 0.7923 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.1e-05/0.007427, allocations: 16.41 kB / 0.7924 GB, free: 7.273 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.119e-05/0.007439, allocations: 1.656 kB / 0.7924 GB, free: 7.273 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001125/0.007551, allocations: 85.05 kB / 0.7924 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.252e-06/0.007552, allocations: 0 / 0.7924 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0001943/0.007747, allocations: 106.7 kB / 0.7925 GB, free: 7.066 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.622e-05/0.007783, allocations: 77.11 kB / 0.7926 GB, free: 6.973 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001717/0.007955, allocations: 277.8 kB / 0.7929 GB, free: 6.684 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.007971, allocations: 31.27 kB / 0.7929 GB, free: 6.648 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.744e-05/0.008048, allocations: 174.8 kB / 0.7931 GB, free: 6.473 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.477e-05/0.008073, allocations: 27.81 kB / 0.7931 GB, free: 6.445 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.579e-05/0.008109, allocations: 27.38 kB / 0.7931 GB, free: 6.41 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.008233, allocations: 0.5092 MB / 0.7936 GB, free: 5.891 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.067e-05/0.008263, allocations: 11.94 kB / 0.7936 GB, free: 5.879 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.912e-05/0.008323, allocations: 102.1 kB / 0.7937 GB, free: 5.75 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.285e-05/0.008385, allocations: 52.7 kB / 0.7938 GB, free: 5.691 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.008387, allocations: 0 / 0.7938 GB, free: 5.691 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001125/0.0085, allocations: 94.02 kB / 0.7939 GB, free: 5.594 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.008512, allocations: 9.578 kB / 0.7939 GB, free: 5.586 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.008517, allocations: 0 / 0.7939 GB, free: 5.586 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.839e-06/0.008527, allocations: 4 kB / 0.7939 GB, free: 5.582 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.297e-05/0.0086, allocations: 8 kB / 0.7939 GB, free: 5.574 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.008604, allocations: 0 / 0.7939 GB, free: 5.574 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.594e-05/0.00864, allocations: 5 kB / 0.7939 GB, free: 5.57 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.008649, allocations: 11.98 kB / 0.7939 GB, free: 5.559 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.59e-05/0.008735, allocations: 165.7 kB / 0.7941 GB, free: 5.387 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.15e-05/0.008756, allocations: 24.42 kB / 0.7941 GB, free: 5.363 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001512/0.008907, allocations: 104.1 kB / 0.7942 GB, free: 5.258 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.367e-05/0.008921, allocations: 4 kB / 0.7942 GB, free: 5.254 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.008924, allocations: 0.625 kB / 0.7942 GB, free: 5.254 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.008928, allocations: 0 / 0.7942 GB, free: 5.254 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001288/0.009057, allocations: 181 kB / 0.7944 GB, free: 5.043 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.009059, allocations: 5.375 kB / 0.7944 GB, free: 5.039 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.198e-05/0.009091, allocations: 8 kB / 0.7944 GB, free: 5.031 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.009093, allocations: 0 / 0.7944 GB, free: 5.031 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.009102, allocations: 7.984 kB / 0.7944 GB, free: 5.023 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.009102, allocations: 1.156 kB / 0.7944 GB, free: 5.023 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.009103, allocations: 0 / 0.7944 GB, free: 5.023 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001305/0.009234, allocations: 144.2 kB / 0.7945 GB, free: 4.859 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.922e-05/0.009253, allocations: 12.72 kB / 0.7945 GB, free: 4.848 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.882e-05/0.009272, allocations: 0 / 0.7945 GB, free: 4.848 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.797e-05/0.0093, allocations: 12.92 kB / 0.7946 GB, free: 4.836 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.111e-05/0.009341, allocations: 11.92 kB / 0.7946 GB, free: 4.824 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.408e-06/0.00935, allocations: 4 kB / 0.7946 GB, free: 4.82 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.857e-05/0.009449, allocations: 197.9 kB / 0.7948 GB, free: 4.629 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.009449, allocations: 0 / 0.7948 GB, free: 4.629 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001697/0.009619, allocations: 35.92 kB / 0.7948 GB, free: 4.594 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.000869/0.01049, allocations: 408.4 kB / 0.7952 GB, free: 4.344 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001291/0.01062, allocations: 56.45 kB / 0.7952 GB, free: 4.285 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.01062, allocations: 0 / 0.7952 GB, free: 4.285 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.195e-05/0.01066, allocations: 36.27 kB / 0.7953 GB, free: 4.246 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001993/0.01086, allocations: 49.5 kB / 0.7953 GB, free: 4.207 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003722/0.01123, allocations: 273 kB / 0.7956 GB, free: 3.91 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.554e-05/0.01128, allocations: 79.83 kB / 0.7957 GB, free: 3.812 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.792e-05/0.01132, allocations: 24.66 kB / 0.7957 GB, free: 3.793 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.71e-05/0.01136, allocations: 20.5 kB / 0.7957 GB, free: 3.773 MB / 0.7448 GB Notification: Performance of SimCode: time 8.71e-07/0.01136, allocations: 0 / 0.7957 GB, free: 3.773 MB / 0.7448 GB Notification: Performance of Templates: time 0.004612/0.01597, allocations: 2.705 MB / 0.7983 GB, free: 1.117 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.152122419094667]