Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.IntegerReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001502/0.001502, allocations: 113.1 kB / 17.6 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001663/0.001663, allocations: 186.7 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.492/1.492, allocations: 225.6 MB / 249.4 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.585/2.585, allocations: 443.4 MB / 0.7304 GB, free: 13.87 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.2.|intRep.y.1.",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.IntegerReplicator") translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intRep.u|intRep.y.2.|intRep.y.1.",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.IntegerReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 67.89 kB / 1.059 GB, free: 388 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3324/0.3343, allocations: 160.7 MB / 1.216 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.003393/0.3377, allocations: 1.803 MB / 1.218 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00204/0.3398, allocations: 1.123 MB / 1.219 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.755e-05/0.3398, allocations: 0 / 1.219 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0003279/0.3402, allocations: 51.75 kB / 1.219 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002512/0.3404, allocations: 83.64 kB / 1.219 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006233/0.341, allocations: 227.2 kB / 1.219 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002206/0.3413, allocations: 147.6 kB / 1.219 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.3414, allocations: 17.11 kB / 1.219 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001143/0.3415, allocations: 71.64 kB / 1.22 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001153/0.3416, allocations: 63.75 kB / 1.22 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.172e-05/0.3416, allocations: 8 kB / 1.22 GB, free: 11.74 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001632/0.3418, allocations: 71.94 kB / 1.22 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.877e-05/0.3419, allocations: 43.77 kB / 1.22 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.355e-05/0.3419, allocations: 59.67 kB / 1.22 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003253/0.3422, allocations: 203.2 kB / 1.22 GB, free: 11.37 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3423, allocations: 4 kB / 1.22 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.223e-06/0.3423, allocations: 0 / 1.22 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.3423, allocations: 0 / 1.22 GB, free: 11.36 MB / 0.9669 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.0007337/0.343, allocations: 0.4921 MB / 1.22 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.343, allocations: 12.03 kB / 1.22 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.299e-05/0.3431, allocations: 16.84 kB / 1.22 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003823/0.3435, allocations: 253 kB / 1.221 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.3435, allocations: 4.375 kB / 1.221 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.339e-05/0.3435, allocations: 8.125 kB / 1.221 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002193/0.3437, allocations: 96.17 kB / 1.221 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.3437, allocations: 0 / 1.221 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.3438, allocations: 0 / 1.221 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.223e-05/0.3438, allocations: 7.984 kB / 1.221 GB, free: 10.37 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001275/0.3439, allocations: 31.97 kB / 1.221 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005587/0.3445, allocations: 356.6 kB / 1.221 GB, free: 9.941 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002466/0.3447, allocations: 82.66 kB / 1.221 GB, free: 9.852 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.696e-05/0.3448, allocations: 28.84 kB / 1.221 GB, free: 9.82 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.719e-05/0.3448, allocations: 7.984 kB / 1.221 GB, free: 9.812 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001856/0.345, allocations: 91.41 kB / 1.221 GB, free: 9.711 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.523e-06/0.345, allocations: 0 / 1.221 GB, free: 9.711 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.000384/0.3454, allocations: 137.5 kB / 1.222 GB, free: 9.57 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.27e-05/0.3455, allocations: 110.8 kB / 1.222 GB, free: 9.438 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002941/0.3458, allocations: 255 kB / 1.222 GB, free: 9.18 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.388e-05/0.3458, allocations: 29.7 kB / 1.222 GB, free: 9.145 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.828e-05/0.3459, allocations: 112.1 kB / 1.222 GB, free: 9.031 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.099e-05/0.3459, allocations: 31.83 kB / 1.222 GB, free: 9 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.852e-05/0.346, allocations: 25.66 kB / 1.222 GB, free: 8.969 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.3461, allocations: 342.7 kB / 1.222 GB, free: 8.625 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.386e-05/0.3462, allocations: 23.98 kB / 1.222 GB, free: 8.602 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001077/0.3463, allocations: 68.22 kB / 1.222 GB, free: 8.52 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001515/0.3464, allocations: 73.69 kB / 1.223 GB, free: 8.441 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3464, allocations: 0 / 1.223 GB, free: 8.441 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002357/0.3467, allocations: 113.5 kB / 1.223 GB, free: 8.324 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.3467, allocations: 4 kB / 1.223 GB, free: 8.32 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.3467, allocations: 4 kB / 1.223 GB, free: 8.316 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.3467, allocations: 0 / 1.223 GB, free: 8.316 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.903e-05/0.3468, allocations: 15.98 kB / 1.223 GB, free: 8.301 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.3468, allocations: 400 / 1.223 GB, free: 8.301 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.865e-05/0.3469, allocations: 15.91 kB / 1.223 GB, free: 8.285 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.3469, allocations: 4 kB / 1.223 GB, free: 8.281 MB / 0.9669 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.000159/0.347, allocations: 153.7 kB / 1.223 GB, free: 8.121 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.305e-05/0.3471, allocations: 19.86 kB / 1.223 GB, free: 8.102 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002945/0.3474, allocations: 123 kB / 1.223 GB, free: 7.973 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.859e-06/0.3474, allocations: 4 kB / 1.223 GB, free: 7.969 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.3474, allocations: 0 / 1.223 GB, free: 7.969 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.251e-06/0.3474, allocations: 3.938 kB / 1.223 GB, free: 7.965 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002372/0.3476, allocations: 221.6 kB / 1.223 GB, free: 7.699 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.3476, allocations: 0 / 1.223 GB, free: 7.699 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.253e-05/0.3477, allocations: 7.984 kB / 1.223 GB, free: 7.691 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3477, allocations: 0 / 1.223 GB, free: 7.691 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.3477, allocations: 11.92 kB / 1.223 GB, free: 7.68 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.3477, allocations: 0 / 1.223 GB, free: 7.68 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3477, allocations: 0 / 1.223 GB, free: 7.68 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000264/0.3479, allocations: 144.9 kB / 1.223 GB, free: 7.52 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.382e-05/0.348, allocations: 93.02 kB / 1.223 GB, free: 7.41 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.936e-05/0.348, allocations: 4 kB / 1.223 GB, free: 7.406 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.497e-05/0.3481, allocations: 3.984 kB / 1.223 GB, free: 7.402 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.339e-05/0.3481, allocations: 11.98 kB / 1.223 GB, free: 7.391 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.66e-05/0.3482, allocations: 7.938 kB / 1.223 GB, free: 7.383 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001984/0.3484, allocations: 196.4 kB / 1.224 GB, free: 7.191 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.3484, allocations: 0 / 1.224 GB, free: 7.191 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002565/0.3486, allocations: 35.92 kB / 1.224 GB, free: 7.156 MB / 0.9669 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 (7): * Single equations (assignments): 4 * 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.00154/0.3502, allocations: 436.2 kB / 1.224 GB, free: 6.879 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002383/0.3504, allocations: 59.97 kB / 1.224 GB, free: 6.82 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3504, allocations: 0 / 1.224 GB, free: 6.82 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.508e-05/0.3505, allocations: 35.92 kB / 1.224 GB, free: 6.785 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002998/0.3508, allocations: 43.33 kB / 1.224 GB, free: 6.75 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005709/0.3514, allocations: 302.6 kB / 1.225 GB, free: 6.43 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003661/0.3517, allocations: 0.728 MB / 1.225 GB, free: 5.676 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 8.362e-05/0.3518, allocations: 25.31 kB / 1.225 GB, free: 5.652 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.166e-05/0.3519, allocations: 23.44 kB / 1.225 GB, free: 5.629 MB / 0.9669 GB Notification: Performance of SimCode: time 6.31e-07/0.3519, allocations: 0 / 1.225 GB, free: 5.629 MB / 0.9669 GB Notification: Performance of Templates: time 0.00633/0.3582, allocations: 2.559 MB / 1.228 GB, free: 3.09 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.IntegerReplicator.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.IntegerReplicator.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.IntegerReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_IntegerReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.IntegerReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.210093996487558]