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.001733/0.001733, allocations: 79.86 kB / 19.18 MB, free: 2.527 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.001716/0.001716, allocations: 165.6 kB / 22.46 MB, free: 5.359 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.445/1.445, allocations: 177.1 MB / 202.8 MB, free: 9.203 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.697/2.697, allocations: 359 MB / 0.6037 GB, free: 15.01 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 0.951 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.453e-05/2.59e-05, allocations: 6.281 kB / 0.951 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.003504/0.00353, allocations: 1.787 MB / 0.9527 GB, free: 9.816 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002566/0.006096, allocations: 1.193 MB / 0.9539 GB, free: 8.617 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001023/0.006198, allocations: 0 / 0.9539 GB, free: 8.617 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003206/0.006519, allocations: 63.61 kB / 0.9539 GB, free: 8.555 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003893/0.006908, allocations: 123.4 kB / 0.9541 GB, free: 8.434 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007225/0.00763, allocations: 198.1 kB / 0.9543 GB, free: 8.242 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003357/0.007966, allocations: 163.5 kB / 0.9544 GB, free: 8.082 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.008082, allocations: 17.62 kB / 0.9544 GB, free: 8.059 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001798/0.008262, allocations: 87.73 kB / 0.9545 GB, free: 7.973 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001343/0.008396, allocations: 63.86 kB / 0.9546 GB, free: 7.91 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.772e-05/0.008424, allocations: 4 kB / 0.9546 GB, free: 7.906 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002012/0.008625, allocations: 83.81 kB / 0.9547 GB, free: 7.824 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.011e-05/0.008705, allocations: 43.83 kB / 0.9547 GB, free: 7.781 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.114e-05/0.008776, allocations: 35.86 kB / 0.9547 GB, free: 7.746 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000359/0.009135, allocations: 215.3 kB / 0.9549 GB, free: 7.535 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.009138, allocations: 0 / 0.9549 GB, free: 7.535 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.012e-06/0.009139, allocations: 0 / 0.9549 GB, free: 7.535 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.078e-05/0.00915, allocations: 0 / 0.9549 GB, free: 7.535 MB / 0.8575 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.000766/0.009916, allocations: 426.9 kB / 0.9553 GB, free: 7.082 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.009955, allocations: 8.031 kB / 0.9553 GB, free: 7.074 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.779e-05/0.01003, allocations: 24.73 kB / 0.9554 GB, free: 7.051 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003731/0.01041, allocations: 189.5 kB / 0.9556 GB, free: 6.84 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.01042, allocations: 4.375 kB / 0.9556 GB, free: 6.836 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.6e-05/0.01045, allocations: 8.375 kB / 0.9556 GB, free: 6.828 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002495/0.0107, allocations: 117.6 kB / 0.9557 GB, free: 6.695 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.01071, allocations: 7.875 kB / 0.9557 GB, free: 6.688 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.01072, allocations: 0 / 0.9557 GB, free: 6.688 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.479e-05/0.01074, allocations: 4 kB / 0.9557 GB, free: 6.684 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001199/0.01086, allocations: 35.97 kB / 0.9557 GB, free: 6.648 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006288/0.01148, allocations: 292.4 kB / 0.956 GB, free: 6.332 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003956/0.01188, allocations: 90.62 kB / 0.9561 GB, free: 6.234 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.488e-05/0.01197, allocations: 32.84 kB / 0.9561 GB, free: 6.199 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.232e-05/0.01199, allocations: 4 kB / 0.9561 GB, free: 6.195 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001992/0.01219, allocations: 79.38 kB / 0.9562 GB, free: 6.105 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.533e-06/0.01219, allocations: 0 / 0.9562 GB, free: 6.105 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0004293/0.01262, allocations: 157.7 kB / 0.9564 GB, free: 5.945 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.91e-05/0.01268, allocations: 77.11 kB / 0.9564 GB, free: 5.852 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004539/0.01313, allocations: 283.1 kB / 0.9567 GB, free: 5.566 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.09e-05/0.01316, allocations: 25.7 kB / 0.9567 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.01327, allocations: 116.1 kB / 0.9568 GB, free: 5.418 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.713e-05/0.01331, allocations: 27.78 kB / 0.9569 GB, free: 5.391 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.5e-05/0.01336, allocations: 21.72 kB / 0.9569 GB, free: 5.363 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001775/0.01354, allocations: 338.8 kB / 0.9572 GB, free: 5.023 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.342e-05/0.01362, allocations: 23.98 kB / 0.9572 GB, free: 5 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001476/0.01377, allocations: 118.8 kB / 0.9573 GB, free: 4.859 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002093/0.01398, allocations: 77.58 kB / 0.9574 GB, free: 4.777 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.01398, allocations: 3.938 kB / 0.9574 GB, free: 4.773 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004009/0.01439, allocations: 121.5 kB / 0.9575 GB, free: 4.648 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.01441, allocations: 7.984 kB / 0.9575 GB, free: 4.641 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.01441, allocations: 4 kB / 0.9575 GB, free: 4.637 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.01443, allocations: 4.062 kB / 0.9575 GB, free: 4.633 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001441/0.01457, allocations: 12 kB / 0.9576 GB, free: 4.621 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.01458, allocations: 0 / 0.9576 GB, free: 4.621 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001179/0.0147, allocations: 7.984 kB / 0.9576 GB, free: 4.613 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.305e-05/0.01471, allocations: 0 / 0.9576 GB, free: 4.613 MB / 0.8575 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.0002068/0.01492, allocations: 146.5 kB / 0.9577 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.475e-05/0.01497, allocations: 19.86 kB / 0.9577 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004171/0.01539, allocations: 135.2 kB / 0.9579 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.4e-05/0.01541, allocations: 4 kB / 0.9579 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.01541, allocations: 4 kB / 0.9579 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.01542, allocations: 3.984 kB / 0.9579 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002577/0.01567, allocations: 161.2 kB / 0.958 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.219e-06/0.01568, allocations: 4 kB / 0.958 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.656e-05/0.01575, allocations: 4 kB / 0.958 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.01575, allocations: 0 / 0.958 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.323e-05/0.01577, allocations: 11.97 kB / 0.958 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.01578, allocations: 3.938 kB / 0.958 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.01578, allocations: 0 / 0.958 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004516/0.01623, allocations: 152.9 kB / 0.9582 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.776e-05/0.01628, allocations: 15.84 kB / 0.9582 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.437e-05/0.01632, allocations: 8 kB / 0.9582 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.486e-05/0.01642, allocations: 7.984 kB / 0.9582 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.346e-05/0.01648, allocations: 7.984 kB / 0.9582 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.892e-05/0.0165, allocations: 4 kB / 0.9582 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003659/0.01686, allocations: 208.6 kB / 0.9584 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.61e-07/0.01686, allocations: 0 / 0.9584 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004664/0.01733, allocations: 31.94 kB / 0.9585 GB, free: 3.641 MB / 0.8575 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.002392/0.01972, allocations: 454.5 kB / 0.9589 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003169/0.02004, allocations: 71.91 kB / 0.959 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.02004, allocations: 0 / 0.959 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001475/0.02019, allocations: 39.97 kB / 0.959 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00045/0.02064, allocations: 39.45 kB / 0.959 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008354/0.02147, allocations: 302 kB / 0.9593 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001714/0.02165, allocations: 118.8 kB / 0.9594 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001083/0.02175, allocations: 21.78 kB / 0.9595 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.986e-05/0.02183, allocations: 24.5 kB / 0.9595 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of SimCode: time 8.62e-07/0.02184, allocations: 0 / 0.9595 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of Templates: time 0.01019/0.03203, allocations: 2.692 MB / 0.9621 GB, free: 76 kB / 0.8575 GB " [Timeout remaining time 300] 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/jenkins/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: 7.9224955178797245]