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.00174/0.00174, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002066/0.002066, allocations: 212.4 kB / 22.24 MB, free: 5.262 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.502/1.502, allocations: 230.6 MB / 256 MB, free: 7.785 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.435/3.435, allocations: 0.4892 GB / 0.7943 GB, free: 35.5 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.002117/0.002117, allocations: 64.44 kB / 1.154 GB, free: 25.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3925/0.3946, allocations: 176.1 MB / 1.326 GB, free: 1.832 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.004377/0.399, allocations: 1.761 MB / 1.327 GB, free: 64 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002497/0.4015, allocations: 1.196 MB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001389/0.4016, allocations: 0 / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0003779/0.402, allocations: 63.67 kB / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004799/0.4025, allocations: 123.5 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000742/0.4032, allocations: 202.8 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003107/0.4035, allocations: 155.5 kB / 1.329 GB, free: 14.33 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001389/0.4037, allocations: 13.62 kB / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001454/0.4038, allocations: 71.7 kB / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000143/0.404, allocations: 67.73 kB / 1.329 GB, free: 14.17 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.456e-05/0.404, allocations: 8 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002266/0.4042, allocations: 79.88 kB / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.982e-05/0.4043, allocations: 51.83 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.141e-05/0.4044, allocations: 39.73 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003588/0.4047, allocations: 211.1 kB / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.4047, allocations: 0 / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.984e-06/0.4047, allocations: 0 / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.4047, allocations: 0 / 1.329 GB, free: 13.79 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.0007834/0.4055, allocations: 430.8 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.4056, allocations: 8.031 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.197e-05/0.4056, allocations: 20.84 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000397/0.406, allocations: 194.9 kB / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.406, allocations: 8.375 kB / 1.33 GB, free: 13.08 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.872e-05/0.4061, allocations: 12.11 kB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002478/0.4063, allocations: 113 kB / 1.33 GB, free: 12.94 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.4063, allocations: 0 / 1.33 GB, free: 12.94 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.76e-05/0.4063, allocations: 3.984 kB / 1.33 GB, free: 12.94 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.333e-05/0.4064, allocations: 4 kB / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001194/0.4065, allocations: 35.97 kB / 1.33 GB, free: 12.9 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005375/0.407, allocations: 300.3 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002392/0.4073, allocations: 82.66 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.045e-05/0.4073, allocations: 32.84 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.173e-05/0.4073, allocations: 4.094 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001801/0.4075, allocations: 83.31 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.483e-06/0.4075, allocations: 3.938 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0003992/0.4079, allocations: 149.5 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.808e-05/0.408, allocations: 81.11 kB / 1.331 GB, free: 12.1 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00031/0.4083, allocations: 279 kB / 1.331 GB, free: 11.81 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.543e-05/0.4083, allocations: 33.7 kB / 1.331 GB, free: 11.77 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.71e-05/0.4084, allocations: 116.1 kB / 1.331 GB, free: 11.66 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.971e-05/0.4084, allocations: 31.67 kB / 1.331 GB, free: 11.62 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.22e-05/0.4085, allocations: 29.7 kB / 1.331 GB, free: 11.59 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001804/0.4087, allocations: 330.8 kB / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.762e-05/0.4088, allocations: 27.98 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001305/0.4089, allocations: 114.8 kB / 1.332 GB, free: 11.09 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001632/0.4091, allocations: 73.69 kB / 1.332 GB, free: 11.02 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.4091, allocations: 0 / 1.332 GB, free: 11.02 MB / 1.029 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000228/0.4093, allocations: 117.5 kB / 1.332 GB, free: 10.89 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.4093, allocations: 9.781 kB / 1.332 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.4093, allocations: 0 / 1.332 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.4093, allocations: 4 kB / 1.332 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.611e-05/0.4094, allocations: 11.98 kB / 1.332 GB, free: 10.87 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.4094, allocations: 7.938 kB / 1.332 GB, free: 10.86 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.956e-05/0.4095, allocations: 0 / 1.332 GB, free: 10.86 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.345e-05/0.4095, allocations: 4 kB / 1.332 GB, free: 10.86 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.000152/0.4097, allocations: 146.7 kB / 1.332 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.463e-05/0.4097, allocations: 23.84 kB / 1.332 GB, free: 10.68 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003/0.41, allocations: 135 kB / 1.332 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.41, allocations: 0 / 1.332 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.41, allocations: 0 / 1.332 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.41, allocations: 4 kB / 1.332 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001828/0.4102, allocations: 169.1 kB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.4102, allocations: 0 / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.223e-05/0.4102, allocations: 12 kB / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.4102, allocations: 0 / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.4103, allocations: 0 / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.4103, allocations: 3.938 kB / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.4103, allocations: 0 / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002712/0.4105, allocations: 165 kB / 1.333 GB, free: 10.15 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.886e-05/0.4106, allocations: 19.86 kB / 1.333 GB, free: 10.13 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.843e-05/0.4106, allocations: 4 kB / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.337e-05/0.4106, allocations: 4 kB / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.385e-05/0.4107, allocations: 11.98 kB / 1.333 GB, free: 10.11 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.497e-05/0.4107, allocations: 7.984 kB / 1.333 GB, free: 10.1 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002176/0.4109, allocations: 196.6 kB / 1.333 GB, free: 9.91 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4109, allocations: 4 kB / 1.333 GB, free: 9.906 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002488/0.4112, allocations: 35.92 kB / 1.333 GB, free: 9.871 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.001718/0.4129, allocations: 467.3 kB / 1.333 GB, free: 9.594 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000238/0.4131, allocations: 75.84 kB / 1.334 GB, free: 9.52 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4131, allocations: 0 / 1.334 GB, free: 9.52 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.664e-05/0.4132, allocations: 35.92 kB / 1.334 GB, free: 9.484 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003015/0.4135, allocations: 41.53 kB / 1.334 GB, free: 9.445 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006181/0.4142, allocations: 314.6 kB / 1.334 GB, free: 9.113 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001303/0.4143, allocations: 118.6 kB / 1.334 GB, free: 8.977 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.05e-05/0.4144, allocations: 25.72 kB / 1.334 GB, free: 8.953 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.429e-05/0.4144, allocations: 19.44 kB / 1.334 GB, free: 8.934 MB / 1.029 GB Notification: Performance of SimCode: time 2.9e-07/0.4144, allocations: 0 / 1.334 GB, free: 8.934 MB / 1.029 GB Notification: Performance of Templates: time 0.006861/0.4213, allocations: 2.761 MB / 1.337 GB, free: 6.203 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 -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/jenkins/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.221463790163398]