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.001575/0.001575, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.001699/0.001699, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.521/1.521, allocations: 230.6 MB / 252.8 MB, free: 9.109 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.281/3.281, allocations: 0.4899 GB / 0.7915 GB, free: 33.22 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.00217/0.00217, allocations: 77.83 kB / 1.149 GB, free: 26.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3818/0.3839, allocations: 176.1 MB / 1.321 GB, free: 2.809 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.003792/0.3877, allocations: 1.8 MB / 1.323 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002478/0.3902, allocations: 1.27 MB / 1.324 GB, free: 15.72 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001459/0.3903, allocations: 3.938 kB / 1.324 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0003569/0.3907, allocations: 59.69 kB / 1.324 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004984/0.3912, allocations: 123.4 kB / 1.324 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007801/0.392, allocations: 192.7 kB / 1.325 GB, free: 15.35 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003285/0.3923, allocations: 155.6 kB / 1.325 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001421/0.3924, allocations: 17.42 kB / 1.325 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001656/0.3926, allocations: 71.7 kB / 1.325 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001454/0.3928, allocations: 67.69 kB / 1.325 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.531e-05/0.3928, allocations: 8 kB / 1.325 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002343/0.393, allocations: 83.92 kB / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.144e-05/0.3931, allocations: 31.86 kB / 1.325 GB, free: 14.92 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000109/0.3932, allocations: 71.53 kB / 1.325 GB, free: 14.85 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004225/0.3936, allocations: 203.2 kB / 1.325 GB, free: 14.65 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.3936, allocations: 0 / 1.325 GB, free: 14.65 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.054e-06/0.3936, allocations: 4 kB / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.606e-06/0.3937, allocations: 0 / 1.325 GB, free: 14.64 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.0008739/0.3945, allocations: 0.496 MB / 1.326 GB, free: 14.09 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/0.3946, allocations: 15.98 kB / 1.326 GB, free: 14.08 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.079e-05/0.3947, allocations: 16.84 kB / 1.326 GB, free: 14.06 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004761/0.3951, allocations: 259.9 kB / 1.326 GB, free: 13.77 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.964e-05/0.3952, allocations: 384 / 1.326 GB, free: 13.77 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.247e-05/0.3952, allocations: 12.12 kB / 1.326 GB, free: 13.76 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002563/0.3954, allocations: 96.17 kB / 1.326 GB, free: 13.65 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.3954, allocations: 0 / 1.326 GB, free: 13.65 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.3955, allocations: 0 / 1.326 GB, free: 13.65 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.13e-05/0.3955, allocations: 4 kB / 1.326 GB, free: 13.64 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001272/0.3956, allocations: 35.97 kB / 1.326 GB, free: 13.61 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006971/0.3963, allocations: 356.7 kB / 1.327 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000274/0.3966, allocations: 90.69 kB / 1.327 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.394e-05/0.3967, allocations: 32.84 kB / 1.327 GB, free: 13.08 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.3967, allocations: 0 / 1.327 GB, free: 13.08 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000195/0.3969, allocations: 75.38 kB / 1.327 GB, free: 12.99 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 4.388e-06/0.3969, allocations: 4 kB / 1.327 GB, free: 12.99 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0004296/0.3973, allocations: 145.5 kB / 1.327 GB, free: 12.84 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.732e-05/0.3974, allocations: 102.8 kB / 1.327 GB, free: 12.71 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003248/0.3977, allocations: 283 kB / 1.327 GB, free: 12.43 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.3977, allocations: 29.64 kB / 1.327 GB, free: 12.39 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.3978, allocations: 120.1 kB / 1.327 GB, free: 12.27 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.468e-05/0.3979, allocations: 23.8 kB / 1.327 GB, free: 12.25 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.724e-05/0.3979, allocations: 29.7 kB / 1.327 GB, free: 12.21 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.3981, allocations: 334.8 kB / 1.328 GB, free: 11.88 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.807e-05/0.3982, allocations: 23.98 kB / 1.328 GB, free: 11.86 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001211/0.3983, allocations: 72.2 kB / 1.328 GB, free: 11.77 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001533/0.3984, allocations: 69.64 kB / 1.328 GB, free: 11.7 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3984, allocations: 0 / 1.328 GB, free: 11.7 MB / 1.029 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002618/0.3987, allocations: 121.5 kB / 1.328 GB, free: 11.57 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.3987, allocations: 8 kB / 1.328 GB, free: 11.56 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.138e-06/0.3987, allocations: 0 / 1.328 GB, free: 11.56 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/0.3988, allocations: 0 / 1.328 GB, free: 11.56 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.3989, allocations: 12 kB / 1.328 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.3989, allocations: 0 / 1.328 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.48e-05/0.399, allocations: 19.91 kB / 1.328 GB, free: 11.53 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.308e-06/0.399, allocations: 0 / 1.328 GB, free: 11.53 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.0001657/0.3991, allocations: 144.3 kB / 1.328 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.864e-05/0.3992, allocations: 23.86 kB / 1.328 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.581e-05/0.3992, allocations: 25.72 kB / 1.328 GB, free: 11.33 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.197e-06/0.3992, allocations: 0 / 1.328 GB, free: 11.33 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.3992, allocations: 0 / 1.328 GB, free: 11.33 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.3993, allocations: 7.938 kB / 1.328 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002513/0.3995, allocations: 221.5 kB / 1.328 GB, free: 11.05 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.3995, allocations: 48 / 1.328 GB, free: 11.05 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.84e-05/0.3996, allocations: 11.97 kB / 1.328 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-06/0.3996, allocations: 4 kB / 1.328 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.3996, allocations: 0 / 1.328 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.3996, allocations: 4 kB / 1.328 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.3996, allocations: 0 / 1.328 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003018/0.3999, allocations: 148.9 kB / 1.329 GB, free: 10.87 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.174e-05/0.4, allocations: 93.02 kB / 1.329 GB, free: 10.76 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.414e-05/0.4, allocations: 8 kB / 1.329 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.77e-05/0.4, allocations: 3.984 kB / 1.329 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.313e-05/0.4001, allocations: 11.98 kB / 1.329 GB, free: 10.74 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.678e-05/0.4001, allocations: 15.88 kB / 1.329 GB, free: 10.72 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002185/0.4003, allocations: 196.8 kB / 1.329 GB, free: 10.53 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4003, allocations: 0 / 1.329 GB, free: 10.53 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002848/0.4006, allocations: 43.81 kB / 1.329 GB, free: 10.49 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.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEvent) * 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.001648/0.4023, allocations: 427.2 kB / 1.329 GB, free: 10.22 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002548/0.4025, allocations: 59.97 kB / 1.329 GB, free: 10.16 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.4025, allocations: 4.062 kB / 1.329 GB, free: 10.16 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.4026, allocations: 35.92 kB / 1.329 GB, free: 10.12 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003266/0.403, allocations: 43.38 kB / 1.33 GB, free: 10.09 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006982/0.4037, allocations: 310.5 kB / 1.33 GB, free: 9.754 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003919/0.4041, allocations: 0.728 MB / 1.331 GB, free: 9 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.257e-05/0.4041, allocations: 29.38 kB / 1.331 GB, free: 8.969 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.167e-05/0.4042, allocations: 19.42 kB / 1.331 GB, free: 8.953 MB / 1.029 GB Notification: Performance of SimCode: time 9.42e-07/0.4042, allocations: 0 / 1.331 GB, free: 8.953 MB / 1.029 GB Notification: Performance of Templates: time 0.00716/0.4114, allocations: 2.593 MB / 1.333 GB, free: 6.375 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.056770720053464]