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.0007761/0.0007761, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.0009371/0.0009371, allocations: 185 kB / 24.09 MB, free: 412 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 0.9694/0.9694, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.806/1.806, allocations: 359 MB / 0.6055 GB, free: 10.88 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.813e-06/1.813e-06, allocations: 0 / 0.7876 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.739e-05/2.921e-05, allocations: 4.703 kB / 0.7876 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.003846/0.003876, allocations: 1.809 MB / 0.7893 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002003/0.005878, allocations: 1.202 MB / 0.7905 GB, free: 9.156 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001276/0.006006, allocations: 5.406 kB / 0.7905 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0003344/0.00634, allocations: 59.67 kB / 0.7906 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0004047/0.006745, allocations: 123.4 kB / 0.7907 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.00062/0.007365, allocations: 198.4 kB / 0.7909 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002561/0.007621, allocations: 167.5 kB / 0.791 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.007729, allocations: 17.56 kB / 0.7911 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001738/0.007903, allocations: 87.8 kB / 0.7911 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001257/0.008029, allocations: 68.83 kB / 0.7912 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.031e-05/0.008049, allocations: 4 kB / 0.7912 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001979/0.008247, allocations: 84.77 kB / 0.7913 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 7.546e-05/0.008322, allocations: 39.86 kB / 0.7913 GB, free: 8.32 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.488e-05/0.008377, allocations: 36.97 kB / 0.7914 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003021/0.008679, allocations: 163.4 kB / 0.7915 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.008683, allocations: 4 kB / 0.7915 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.292e-06/0.008684, allocations: 1.594 kB / 0.7915 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.715e-06/0.008692, allocations: 0 / 0.7915 GB, free: 8.121 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.0006164/0.009308, allocations: 0.5168 MB / 0.792 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.009349, allocations: 8.031 kB / 0.792 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.952e-05/0.009409, allocations: 22.16 kB / 0.7921 GB, free: 7.535 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002311/0.00964, allocations: 192.2 kB / 0.7922 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.009661, allocations: 4.375 kB / 0.7922 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.624e-05/0.009677, allocations: 4.375 kB / 0.7923 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001524/0.00983, allocations: 77.8 kB / 0.7923 GB, free: 7.23 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.009838, allocations: 3.938 kB / 0.7923 GB, free: 7.227 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002488/0.01009, allocations: 8 kB / 0.7923 GB, free: 7.219 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.222e-05/0.01011, allocations: 0 / 0.7923 GB, free: 7.219 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.544e-05/0.01015, allocations: 11.98 kB / 0.7923 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004043/0.01056, allocations: 304.2 kB / 0.7926 GB, free: 6.883 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001331/0.01069, allocations: 59.88 kB / 0.7927 GB, free: 6.812 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.116e-05/0.01072, allocations: 21.28 kB / 0.7927 GB, free: 6.789 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.01074, allocations: 3.984 kB / 0.7927 GB, free: 6.785 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001158/0.01086, allocations: 73.06 kB / 0.7928 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 2.715e-06/0.01086, allocations: 1.156 kB / 0.7928 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0002191/0.01108, allocations: 101.8 kB / 0.7929 GB, free: 6.594 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.002e-05/0.01111, allocations: 55.39 kB / 0.7929 GB, free: 6.527 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000206/0.01132, allocations: 270.9 kB / 0.7932 GB, free: 6.246 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.01133, allocations: 25.7 kB / 0.7932 GB, free: 6.215 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.365e-05/0.01143, allocations: 178.8 kB / 0.7934 GB, free: 6.035 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.185e-05/0.01146, allocations: 25.58 kB / 0.7934 GB, free: 6.012 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.962e-05/0.01151, allocations: 31.36 kB / 0.7934 GB, free: 5.973 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.01166, allocations: 0.5001 MB / 0.7939 GB, free: 5.461 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.369e-05/0.01169, allocations: 15.92 kB / 0.794 GB, free: 5.445 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.925e-05/0.01175, allocations: 69.94 kB / 0.794 GB, free: 5.359 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.039e-05/0.01182, allocations: 39.36 kB / 0.7941 GB, free: 5.312 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.01183, allocations: 0.5625 kB / 0.7941 GB, free: 5.312 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001507/0.01198, allocations: 91.02 kB / 0.7941 GB, free: 5.219 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.01199, allocations: 7.984 kB / 0.7942 GB, free: 5.211 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.012, allocations: 7.938 kB / 0.7942 GB, free: 5.203 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.01201, allocations: 0 / 0.7942 GB, free: 5.203 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.117e-05/0.01209, allocations: 9.719 kB / 0.7942 GB, free: 5.195 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.356e-06/0.01209, allocations: 4 kB / 0.7942 GB, free: 5.191 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.988e-05/0.01214, allocations: 4 kB / 0.7942 GB, free: 5.188 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.01215, allocations: 11.92 kB / 0.7942 GB, free: 5.176 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.0001002/0.01225, allocations: 157.5 kB / 0.7943 GB, free: 5.012 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.331e-05/0.01229, allocations: 23.84 kB / 0.7944 GB, free: 4.988 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001852/0.01247, allocations: 103.8 kB / 0.7945 GB, free: 4.883 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.759e-06/0.01248, allocations: 0.7188 kB / 0.7945 GB, free: 4.883 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.033e-06/0.01248, allocations: 0.5312 kB / 0.7945 GB, free: 4.883 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/0.01249, allocations: 0 / 0.7945 GB, free: 4.883 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001598/0.01265, allocations: 150.4 kB / 0.7946 GB, free: 4.711 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.01265, allocations: 0 / 0.7946 GB, free: 4.711 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.205e-05/0.0127, allocations: 8 kB / 0.7946 GB, free: 4.703 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.0127, allocations: 4.469 kB / 0.7946 GB, free: 4.699 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.01271, allocations: 8 kB / 0.7946 GB, free: 4.691 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.01272, allocations: 5.359 kB / 0.7946 GB, free: 4.688 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.01272, allocations: 0 / 0.7946 GB, free: 4.688 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001787/0.0129, allocations: 136.2 kB / 0.7948 GB, free: 4.531 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.292e-05/0.01292, allocations: 12.72 kB / 0.7948 GB, free: 4.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.337e-05/0.01294, allocations: 3.938 kB / 0.7948 GB, free: 4.516 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.701e-05/0.01299, allocations: 8.938 kB / 0.7948 GB, free: 4.508 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.367e-05/0.01303, allocations: 7.984 kB / 0.7948 GB, free: 4.5 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.01304, allocations: 3.984 kB / 0.7948 GB, free: 4.496 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001242/0.01317, allocations: 189.8 kB / 0.795 GB, free: 4.312 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.01317, allocations: 0 / 0.795 GB, free: 4.312 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002813/0.01345, allocations: 35.92 kB / 0.795 GB, free: 4.277 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.001291/0.01474, allocations: 413.7 kB / 0.7954 GB, free: 4.023 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000151/0.01489, allocations: 48.23 kB / 0.7954 GB, free: 3.973 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.01489, allocations: 0 / 0.7954 GB, free: 3.973 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.14e-05/0.01496, allocations: 36.25 kB / 0.7955 GB, free: 3.934 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002957/0.01525, allocations: 39.39 kB / 0.7955 GB, free: 3.898 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005007/0.01575, allocations: 269.4 kB / 0.7958 GB, free: 3.605 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.722e-05/0.01581, allocations: 75.81 kB / 0.7959 GB, free: 3.512 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.969e-05/0.01588, allocations: 21.47 kB / 0.7959 GB, free: 3.492 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001112/0.01599, allocations: 98.19 kB / 0.796 GB, free: 3.395 MB / 0.7448 GB Notification: Performance of SimCode: time 1.002e-06/0.01599, allocations: 2.906 kB / 0.796 GB, free: 3.395 MB / 0.7448 GB Notification: Performance of Templates: time 0.006757/0.02275, allocations: 2.873 MB / 0.7988 GB, free: 0.5742 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.124296098947525]