Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001376/0.001376, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001502/0.001502, allocations: 210 kB / 23 MB, free: 4.566 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 / 256.8 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.872/2.872, allocations: 476.8 MB / 0.7714 GB, free: 4.285 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002068/0.002068, allocations: 68.52 kB / 1.119 GB, free: 40.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.3074, allocations: 170 MB / 1.285 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.003287/0.3107, allocations: 1.818 MB / 1.286 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002175/0.3129, allocations: 1.287 MB / 1.288 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.866e-05/0.313, allocations: 4 kB / 1.288 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0003139/0.3133, allocations: 63.67 kB / 1.288 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000354/0.3137, allocations: 115.5 kB / 1.288 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005509/0.3142, allocations: 193 kB / 1.288 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002331/0.3144, allocations: 163.6 kB / 1.288 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.3146, allocations: 17.58 kB / 1.288 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001277/0.3147, allocations: 79.62 kB / 1.288 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001475/0.3148, allocations: 67.73 kB / 1.288 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.162e-05/0.3149, allocations: 8 kB / 1.288 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001768/0.315, allocations: 83.94 kB / 1.288 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.693e-05/0.3151, allocations: 43.78 kB / 1.288 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.5e-05/0.3152, allocations: 63.59 kB / 1.288 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003246/0.3155, allocations: 199.2 kB / 1.289 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.3155, allocations: 0 / 1.289 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3155, allocations: 4 kB / 1.289 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.29e-05/0.3156, allocations: 4 kB / 1.289 GB, free: 7.074 MB / 0.9825 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.0007136/0.3163, allocations: 430.8 kB / 1.289 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.3163, allocations: 8.031 kB / 1.289 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.038e-05/0.3164, allocations: 20.83 kB / 1.289 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003485/0.3167, allocations: 194.1 kB / 1.289 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.313e-05/0.3167, allocations: 8.375 kB / 1.289 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.014e-05/0.3168, allocations: 8.109 kB / 1.289 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002209/0.317, allocations: 100.2 kB / 1.289 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.317, allocations: 0 / 1.289 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.317, allocations: 8 kB / 1.289 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.739e-05/0.317, allocations: 0 / 1.289 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000113/0.3171, allocations: 31.98 kB / 1.289 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005512/0.3177, allocations: 331.7 kB / 1.29 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002314/0.3179, allocations: 86.66 kB / 1.29 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.298e-05/0.318, allocations: 32.83 kB / 1.29 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.318, allocations: 0 / 1.29 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001898/0.3182, allocations: 91.39 kB / 1.29 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.332e-06/0.3182, allocations: 0 / 1.29 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0003809/0.3186, allocations: 133.6 kB / 1.29 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.63e-05/0.3187, allocations: 118.7 kB / 1.29 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002952/0.319, allocations: 267.1 kB / 1.29 GB, free: 5.059 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.095e-05/0.319, allocations: 29.7 kB / 1.291 GB, free: 5.023 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.171e-05/0.3191, allocations: 124.1 kB / 1.291 GB, free: 4.898 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.9e-05/0.3191, allocations: 19.84 kB / 1.291 GB, free: 4.879 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.951e-05/0.3192, allocations: 29.7 kB / 1.291 GB, free: 4.844 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.3193, allocations: 334.8 kB / 1.291 GB, free: 4.508 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.438e-05/0.3194, allocations: 27.98 kB / 1.291 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001077/0.3195, allocations: 76.14 kB / 1.291 GB, free: 4.391 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001491/0.3196, allocations: 65.7 kB / 1.291 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/0.3197, allocations: 4 kB / 1.291 GB, free: 4.316 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002274/0.3199, allocations: 117.5 kB / 1.291 GB, free: 4.195 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.3199, allocations: 4 kB / 1.291 GB, free: 4.191 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.3199, allocations: 0 / 1.291 GB, free: 4.191 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.3199, allocations: 0 / 1.291 GB, free: 4.191 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.589e-05/0.32, allocations: 15.98 kB / 1.291 GB, free: 4.176 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.32, allocations: 0 / 1.291 GB, free: 4.176 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.753e-05/0.3201, allocations: 11.88 kB / 1.291 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.307e-06/0.3201, allocations: 4 kB / 1.291 GB, free: 4.16 MB / 0.9825 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.0001453/0.3202, allocations: 149.7 kB / 1.291 GB, free: 4.004 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.263e-05/0.3203, allocations: 23.89 kB / 1.291 GB, free: 3.98 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000274/0.3205, allocations: 119.1 kB / 1.292 GB, free: 3.855 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.714e-06/0.3206, allocations: 0 / 1.292 GB, free: 3.855 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.3206, allocations: 0 / 1.292 GB, free: 3.855 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.218e-06/0.3206, allocations: 7.922 kB / 1.292 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002073/0.3208, allocations: 196.7 kB / 1.292 GB, free: 3.613 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.3208, allocations: 0 / 1.292 GB, free: 3.613 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.097e-05/0.3208, allocations: 4 kB / 1.292 GB, free: 3.609 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.171e-06/0.3208, allocations: 8.031 kB / 1.292 GB, free: 3.602 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.3208, allocations: 7.984 kB / 1.292 GB, free: 3.594 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.3208, allocations: 3.938 kB / 1.292 GB, free: 3.59 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3208, allocations: 0 / 1.292 GB, free: 3.59 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000251/0.3211, allocations: 145.4 kB / 1.292 GB, free: 3.43 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.368e-05/0.3211, allocations: 11.91 kB / 1.292 GB, free: 3.418 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.673e-05/0.3212, allocations: 4 kB / 1.292 GB, free: 3.414 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.591e-05/0.3212, allocations: 4 kB / 1.292 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.534e-05/0.3213, allocations: 8.172 kB / 1.292 GB, free: 3.402 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.521e-05/0.3213, allocations: 15.92 kB / 1.292 GB, free: 3.387 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002105/0.3215, allocations: 204.6 kB / 1.292 GB, free: 3.188 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3215, allocations: 0 / 1.292 GB, free: 3.188 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002589/0.3217, allocations: 39.88 kB / 1.292 GB, free: 3.148 MB / 0.9825 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.001605/0.3233, allocations: 425.5 kB / 1.293 GB, free: 2.887 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002393/0.3236, allocations: 71.89 kB / 1.293 GB, free: 2.816 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3236, allocations: 4.062 kB / 1.293 GB, free: 2.812 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.604e-05/0.3237, allocations: 39.91 kB / 1.293 GB, free: 2.773 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002993/0.324, allocations: 40.27 kB / 1.293 GB, free: 2.738 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006306/0.3246, allocations: 332.4 kB / 1.293 GB, free: 2.375 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003546/0.325, allocations: 0.7241 MB / 1.294 GB, free: 1.625 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.62e-05/0.325, allocations: 27.42 kB / 1.294 GB, free: 1.598 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.325, allocations: 0 / 1.294 GB, free: 1.598 MB / 0.9825 GB Notification: Performance of Templates: time 0.005468/0.3305, allocations: 2.681 MB / 1.296 GB, free: 14.92 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_IntegerReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 12.357536141003948]