Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001314/0.001314, allocations: 104.3 kB / 19.7 MB, free: 2.156 MB / 14.72 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.001511/0.001511, allocations: 212.3 kB / 22.99 MB, free: 4.984 MB / 14.72 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.538/1.538, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.454/3.454, allocations: 0.49 GB / 0.7959 GB, free: 35.41 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.2.|intRep.y.1.",fileNamePrefix="Buildings_12_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_12_Buildings.Utilities.Math.Examples.IntegerReplicator") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002095/0.002095, allocations: 71.17 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3853/0.3874, allocations: 176.1 MB / 1.327 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.003644/0.3911, allocations: 1.779 MB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002342/0.3934, allocations: 1.196 MB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.393e-05/0.3935, allocations: 3.938 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0003304/0.3938, allocations: 63.73 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003704/0.3942, allocations: 115.5 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006197/0.3948, allocations: 201 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003058/0.3951, allocations: 159.6 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001779/0.3953, allocations: 13.62 kB / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001401/0.3955, allocations: 75.7 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001429/0.3956, allocations: 67.69 kB / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.062e-05/0.3956, allocations: 8 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000217/0.3959, allocations: 83.92 kB / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001162/0.396, allocations: 47.83 kB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.297e-05/0.3961, allocations: 43.67 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004056/0.3965, allocations: 207.2 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.084e-06/0.3965, allocations: 0 / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.304e-06/0.3965, allocations: 0 / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.3965, allocations: 0 / 1.331 GB, free: 12.93 MB / 1.029 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.0009391/0.3974, allocations: 434.8 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.3975, allocations: 8.031 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.287e-05/0.3975, allocations: 16.84 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004189/0.3979, allocations: 202.8 kB / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.398, allocations: 4.375 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.564e-05/0.398, allocations: 8.125 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000253/0.3982, allocations: 113.1 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.3982, allocations: 0 / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.3983, allocations: 7.938 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.5e-05/0.3983, allocations: 4 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001189/0.3984, allocations: 31.98 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005731/0.399, allocations: 296.4 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002446/0.3992, allocations: 90.69 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.636e-05/0.3993, allocations: 32.84 kB / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.538e-05/0.3993, allocations: 3.984 kB / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001818/0.3995, allocations: 75.38 kB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.823e-06/0.3995, allocations: 0 / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0004284/0.3999, allocations: 149.5 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.379e-05/0.4, allocations: 85.09 kB / 1.333 GB, free: 11.24 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003163/0.4003, allocations: 275.1 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.689e-05/0.4003, allocations: 37.64 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.4004, allocations: 120.1 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.398e-05/0.4005, allocations: 23.8 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.668e-05/0.4005, allocations: 25.7 kB / 1.333 GB, free: 10.74 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001699/0.4007, allocations: 330.8 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.017e-05/0.4008, allocations: 27.98 kB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001353/0.4009, allocations: 114.8 kB / 1.333 GB, free: 10.24 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001668/0.4011, allocations: 81.97 kB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.4011, allocations: 0 / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002497/0.4013, allocations: 125.7 kB / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.4013, allocations: 4 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.4014, allocations: 3.938 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.25e-05/0.4014, allocations: 4 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.4015, allocations: 11.98 kB / 1.334 GB, free: 10 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.4015, allocations: 4 kB / 1.334 GB, free: 10 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.854e-05/0.4016, allocations: 4 kB / 1.334 GB, free: 9.996 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.4016, allocations: 8.031 kB / 1.334 GB, free: 9.988 MB / 1.029 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.0001595/0.4017, allocations: 142.5 kB / 1.334 GB, free: 9.84 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.533e-05/0.4018, allocations: 19.86 kB / 1.334 GB, free: 9.82 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003242/0.4021, allocations: 131 kB / 1.334 GB, free: 9.684 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/0.4021, allocations: 0 / 1.334 GB, free: 9.684 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.4021, allocations: 0 / 1.334 GB, free: 9.684 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.4021, allocations: 7.984 kB / 1.334 GB, free: 9.676 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001928/0.4023, allocations: 165.1 kB / 1.334 GB, free: 9.484 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.4023, allocations: 0 / 1.334 GB, free: 9.484 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.075e-05/0.4024, allocations: 15.98 kB / 1.334 GB, free: 9.469 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.4024, allocations: 0 / 1.334 GB, free: 9.469 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.4024, allocations: 0 / 1.334 GB, free: 9.469 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.4024, allocations: 3.938 kB / 1.334 GB, free: 9.465 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.4024, allocations: 0 / 1.334 GB, free: 9.465 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000285/0.4027, allocations: 148.9 kB / 1.334 GB, free: 9.301 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.5e-05/0.4027, allocations: 27.84 kB / 1.334 GB, free: 9.273 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.116e-05/0.4028, allocations: 7.922 kB / 1.334 GB, free: 9.266 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.955e-05/0.4028, allocations: 4 kB / 1.334 GB, free: 9.262 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.056e-05/0.4029, allocations: 11.98 kB / 1.334 GB, free: 9.25 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/0.4029, allocations: 8 kB / 1.334 GB, free: 9.242 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002186/0.4031, allocations: 208.5 kB / 1.335 GB, free: 9.039 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4031, allocations: 4 kB / 1.335 GB, free: 9.035 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002734/0.4034, allocations: 31.94 kB / 1.335 GB, free: 9.004 MB / 1.029 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.001745/0.4051, allocations: 453 kB / 1.335 GB, free: 8.738 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000257/0.4054, allocations: 83.83 kB / 1.335 GB, free: 8.656 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4054, allocations: 0 / 1.335 GB, free: 8.656 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.4055, allocations: 31.98 kB / 1.335 GB, free: 8.625 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003235/0.4058, allocations: 45.47 kB / 1.335 GB, free: 8.59 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006231/0.4064, allocations: 306.7 kB / 1.335 GB, free: 8.266 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001235/0.4066, allocations: 114.5 kB / 1.336 GB, free: 8.129 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.732e-05/0.4066, allocations: 29.66 kB / 1.336 GB, free: 8.102 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.687e-05/0.4067, allocations: 27.42 kB / 1.336 GB, free: 8.074 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.4067, allocations: 3.938 kB / 1.336 GB, free: 8.07 MB / 1.029 GB Notification: Performance of Templates: time 0.007057/0.4138, allocations: 2.789 MB / 1.338 GB, free: 5.312 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_IntegerReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.705314011996961]