Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00101/0.00101, allocations: 73.88 kB / 20.66 MB, free: 3.844 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.001136/0.001136, allocations: 173 kB / 24.06 MB, free: 456 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.9666/0.9666, allocations: 177.2 MB / 204.5 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.179/2.179, allocations: 429.5 MB / 0.6743 GB, free: 3.914 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Utilities.Math.Examples.IntegerReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0.7656 kB / 0.8794 GB, free: 6.031 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.546e-05/2.727e-05, allocations: 5.266 kB / 0.8794 GB, free: 6.027 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.003061/0.003088, allocations: 1.832 MB / 0.8812 GB, free: 4.207 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001403/0.004491, allocations: 1.212 MB / 0.8824 GB, free: 2.996 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.861e-05/0.004569, allocations: 0 / 0.8824 GB, free: 2.996 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0002651/0.004835, allocations: 66.33 kB / 0.8824 GB, free: 2.934 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002411/0.005076, allocations: 115.5 kB / 0.8825 GB, free: 2.82 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.00036/0.005436, allocations: 203.9 kB / 0.8827 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001656/0.005601, allocations: 159.5 kB / 0.8829 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.032e-05/0.005692, allocations: 27.27 kB / 0.8829 GB, free: 2.438 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.005798, allocations: 87.75 kB / 0.883 GB, free: 2.352 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 8.514e-05/0.005884, allocations: 55.86 kB / 0.883 GB, free: 2.297 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.005899, allocations: 9.344 kB / 0.8831 GB, free: 2.289 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001264/0.006025, allocations: 87.8 kB / 0.8831 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 6.038e-05/0.006086, allocations: 35.84 kB / 0.8832 GB, free: 2.168 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.868e-05/0.006134, allocations: 31.86 kB / 0.8832 GB, free: 2.137 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002074/0.006342, allocations: 175.4 kB / 0.8834 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.006344, allocations: 0 / 0.8834 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.62e-07/0.006344, allocations: 0 / 0.8834 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.006349, allocations: 0 / 0.8834 GB, free: 1.965 MB / 0.8386 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.000477/0.006826, allocations: 0.5206 MB / 0.8839 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.865e-05/0.006855, allocations: 8.031 kB / 0.8839 GB, free: 1.395 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.56e-05/0.0069, allocations: 28.8 kB / 0.8839 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001635/0.007064, allocations: 184.2 kB / 0.8841 GB, free: 1.16 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.007079, allocations: 384 / 0.8841 GB, free: 1.16 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.387e-05/0.007093, allocations: 4.375 kB / 0.8841 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001792/0.007272, allocations: 74.92 kB / 0.8842 GB, free: 1.074 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.657e-06/0.007281, allocations: 3.938 kB / 0.8842 GB, free: 1.07 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.624e-06/0.007288, allocations: 0 / 0.8842 GB, free: 1.07 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.571e-05/0.007304, allocations: 0 / 0.8842 GB, free: 1.07 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.342e-05/0.007337, allocations: 19.92 kB / 0.8842 GB, free: 1.051 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002877/0.007625, allocations: 300.3 kB / 0.8845 GB, free: 0.7305 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.515e-05/0.00772, allocations: 55.17 kB / 0.8845 GB, free: 0.6641 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.697e-05/0.007747, allocations: 31.64 kB / 0.8846 GB, free: 0.6289 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.147e-06/0.007756, allocations: 4 kB / 0.8846 GB, free: 0.625 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.299e-05/0.007839, allocations: 69.03 kB / 0.8846 GB, free: 0.543 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 9.02e-07/0.00784, allocations: 0 / 0.8846 GB, free: 0.543 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0001672/0.008008, allocations: 97.56 kB / 0.8847 GB, free: 452 kB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.326e-05/0.008031, allocations: 51.41 kB / 0.8848 GB, free: 388 kB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/0.008182, allocations: 282.3 kB / 0.885 GB, free: 88 kB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.008197, allocations: 33.7 kB / 0.8851 GB, free: 48 kB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.943e-05/0.008276, allocations: 166.8 kB / 0.8852 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.215e-05/0.008298, allocations: 19.8 kB / 0.8853 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.547e-05/0.008334, allocations: 35.34 kB / 0.8853 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.008442, allocations: 0.5079 MB / 0.8858 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.008e-05/0.008462, allocations: 7.984 kB / 0.8858 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.281e-05/0.008505, allocations: 72.67 kB / 0.8859 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.938e-05/0.008554, allocations: 39.31 kB / 0.8859 GB, free: 15.15 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.008557, allocations: 4 kB / 0.8859 GB, free: 15.15 MB / 0.8542 GB Notification: Performance of matching and sorting (n=10) (initialization): time 9.991e-05/0.008657, allocations: 97.48 kB / 0.886 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.008668, allocations: 10.34 kB / 0.886 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.008673, allocations: 0 / 0.886 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.887e-06/0.008682, allocations: 4.062 kB / 0.886 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.04e-05/0.008743, allocations: 19.92 kB / 0.886 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.334e-06/0.008745, allocations: 0 / 0.886 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.406e-05/0.008779, allocations: 4 kB / 0.886 GB, free: 15.01 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.541e-06/0.008784, allocations: 0 / 0.886 GB, free: 15.01 MB / 0.8542 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 7.49e-05/0.008859, allocations: 161.5 kB / 0.8862 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.166e-05/0.008881, allocations: 27.8 kB / 0.8862 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001272/0.009008, allocations: 99.62 kB / 0.8863 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.009015, allocations: 0 / 0.8863 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.009018, allocations: 11.98 kB / 0.8863 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.009021, allocations: 0 / 0.8863 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001077/0.009129, allocations: 141.1 kB / 0.8865 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.00913, allocations: 0 / 0.8865 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.46e-05/0.009155, allocations: 7.984 kB / 0.8865 GB, free: 14.53 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.009157, allocations: 3.938 kB / 0.8865 GB, free: 14.53 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.009163, allocations: 4 kB / 0.8865 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.009164, allocations: 80 / 0.8865 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.009166, allocations: 3.984 kB / 0.8865 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001095/0.009275, allocations: 140.1 kB / 0.8866 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.702e-05/0.009292, allocations: 15.91 kB / 0.8866 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.765e-05/0.00931, allocations: 7.938 kB / 0.8866 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.533e-05/0.009335, allocations: 7.984 kB / 0.8866 GB, free: 14.33 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.245e-05/0.009368, allocations: 11.98 kB / 0.8866 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-06/0.009374, allocations: 0 / 0.8866 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.991e-05/0.009454, allocations: 196.4 kB / 0.8868 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.009454, allocations: 0 / 0.8868 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001684/0.009623, allocations: 31.94 kB / 0.8869 GB, free: 14.09 MB / 0.8542 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.0008301/0.01045, allocations: 411 kB / 0.8873 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000106/0.01056, allocations: 47.59 kB / 0.8873 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.01056, allocations: 0 / 0.8873 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.164e-05/0.0106, allocations: 31.61 kB / 0.8873 GB, free: 13.74 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001884/0.01079, allocations: 59.42 kB / 0.8874 GB, free: 13.69 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000329/0.01112, allocations: 270.6 kB / 0.8876 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.859e-05/0.01116, allocations: 75.83 kB / 0.8877 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.301e-05/0.0112, allocations: 21.78 kB / 0.8877 GB, free: 13.28 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.786e-05/0.01128, allocations: 94.19 kB / 0.8878 GB, free: 13.18 MB / 0.8542 GB Notification: Performance of SimCode: time 6.11e-07/0.01128, allocations: 0 / 0.8878 GB, free: 13.18 MB / 0.8542 GB Notification: Performance of Templates: time 0.004253/0.01553, allocations: 2.894 MB / 0.8907 GB, free: 10.32 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.461722312029451]