Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001583/0.001583, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001767/0.001767, allocations: 212.8 kB / 22.99 MB, free: 4.945 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.481/1.481, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.305/3.305, allocations: 0.5107 GB / 0.8166 GB, free: 17.77 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002049/0.002049, allocations: 68.61 kB / 1.187 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3198/0.3219, allocations: 181.9 MB / 1.365 GB, free: 13.55 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.003589/0.3255, allocations: 1.777 MB / 1.366 GB, free: 11.76 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002231/0.3277, allocations: 1.182 MB / 1.368 GB, free: 10.57 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.447e-05/0.3278, allocations: 8 kB / 1.368 GB, free: 10.57 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002925/0.3281, allocations: 59.73 kB / 1.368 GB, free: 10.51 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003468/0.3284, allocations: 127.4 kB / 1.368 GB, free: 10.38 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005274/0.3289, allocations: 193.5 kB / 1.368 GB, free: 10.2 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002214/0.3292, allocations: 155.6 kB / 1.368 GB, free: 10.04 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.3293, allocations: 21.61 kB / 1.368 GB, free: 10.02 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001237/0.3294, allocations: 67.72 kB / 1.368 GB, free: 9.949 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001201/0.3295, allocations: 67.67 kB / 1.368 GB, free: 9.883 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.235e-05/0.3295, allocations: 8 kB / 1.368 GB, free: 9.875 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001921/0.3297, allocations: 83.92 kB / 1.368 GB, free: 9.793 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.672e-05/0.3298, allocations: 43.83 kB / 1.368 GB, free: 9.75 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.726e-05/0.3299, allocations: 43.69 kB / 1.368 GB, free: 9.707 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003169/0.3302, allocations: 207.2 kB / 1.369 GB, free: 9.504 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.3302, allocations: 0 / 1.369 GB, free: 9.504 MB / 1.061 GB Notification: Performance of FrontEnd: time 4.148e-06/0.3302, allocations: 3.984 kB / 1.369 GB, free: 9.5 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.551e-06/0.3302, allocations: 4 kB / 1.369 GB, free: 9.496 MB / 1.061 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.0006887/0.3309, allocations: 426.9 kB / 1.369 GB, free: 9.043 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.154e-05/0.3309, allocations: 8.031 kB / 1.369 GB, free: 9.035 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.86e-05/0.331, allocations: 20.78 kB / 1.369 GB, free: 9.016 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003539/0.3313, allocations: 194.2 kB / 1.369 GB, free: 8.801 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.3314, allocations: 4.375 kB / 1.369 GB, free: 8.797 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.862e-05/0.3314, allocations: 12.12 kB / 1.369 GB, free: 8.785 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002216/0.3316, allocations: 113 kB / 1.369 GB, free: 8.656 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.3316, allocations: 0 / 1.369 GB, free: 8.656 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.3316, allocations: 0 / 1.369 GB, free: 8.656 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.3316, allocations: 4 kB / 1.369 GB, free: 8.652 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001131/0.3317, allocations: 39.97 kB / 1.369 GB, free: 8.613 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005176/0.3323, allocations: 288.4 kB / 1.37 GB, free: 8.301 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002393/0.3325, allocations: 94.62 kB / 1.37 GB, free: 8.199 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.504e-05/0.3326, allocations: 28.84 kB / 1.37 GB, free: 8.168 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.618e-05/0.3326, allocations: 4 kB / 1.37 GB, free: 8.164 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001873/0.3328, allocations: 83.33 kB / 1.37 GB, free: 8.07 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 1.442e-06/0.3328, allocations: 0 / 1.37 GB, free: 8.07 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.0003761/0.3332, allocations: 157.5 kB / 1.37 GB, free: 7.91 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.368e-05/0.3332, allocations: 77.11 kB / 1.37 GB, free: 7.816 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003273/0.3335, allocations: 279.8 kB / 1.37 GB, free: 7.531 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.324e-05/0.3336, allocations: 29.7 kB / 1.37 GB, free: 7.496 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001555/0.3337, allocations: 124 kB / 1.37 GB, free: 7.371 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.237e-05/0.3338, allocations: 23.83 kB / 1.37 GB, free: 7.348 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.578e-05/0.3338, allocations: 21.72 kB / 1.37 GB, free: 7.32 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001693/0.334, allocations: 334.8 kB / 1.371 GB, free: 6.984 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.739e-05/0.334, allocations: 31.98 kB / 1.371 GB, free: 6.953 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001349/0.3342, allocations: 110.8 kB / 1.371 GB, free: 6.82 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001551/0.3343, allocations: 81.66 kB / 1.371 GB, free: 6.734 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3343, allocations: 4 kB / 1.371 GB, free: 6.73 MB / 1.061 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002365/0.3346, allocations: 117.5 kB / 1.371 GB, free: 6.609 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.3346, allocations: 4 kB / 1.371 GB, free: 6.605 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.485e-06/0.3346, allocations: 3.984 kB / 1.371 GB, free: 6.602 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.3346, allocations: 0 / 1.371 GB, free: 6.602 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.601e-05/0.3347, allocations: 12 kB / 1.371 GB, free: 6.59 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.3347, allocations: 0 / 1.371 GB, free: 6.59 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.193e-05/0.3348, allocations: 15.97 kB / 1.371 GB, free: 6.574 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-06/0.3348, allocations: 4 kB / 1.371 GB, free: 6.57 MB / 1.061 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.0001455/0.3349, allocations: 146.8 kB / 1.371 GB, free: 6.418 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.291e-05/0.335, allocations: 15.91 kB / 1.371 GB, free: 6.402 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002891/0.3353, allocations: 135 kB / 1.371 GB, free: 6.262 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.1e-05/0.3353, allocations: 3.984 kB / 1.371 GB, free: 6.258 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.3353, allocations: 0 / 1.371 GB, free: 6.258 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.3353, allocations: 0 / 1.371 GB, free: 6.258 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002036/0.3355, allocations: 177.3 kB / 1.372 GB, free: 6.055 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.3355, allocations: 0 / 1.372 GB, free: 6.055 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.552e-05/0.3355, allocations: 15.88 kB / 1.372 GB, free: 6.039 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.3355, allocations: 4 kB / 1.372 GB, free: 6.035 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.3355, allocations: 3.984 kB / 1.372 GB, free: 6.031 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3356, allocations: 0 / 1.372 GB, free: 6.031 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3356, allocations: 0 / 1.372 GB, free: 6.031 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002753/0.3358, allocations: 148.9 kB / 1.372 GB, free: 5.867 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.03e-05/0.3359, allocations: 15.91 kB / 1.372 GB, free: 5.852 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.904e-05/0.3359, allocations: 4 kB / 1.372 GB, free: 5.848 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.84e-05/0.336, allocations: 7.984 kB / 1.372 GB, free: 5.84 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.574e-05/0.336, allocations: 11.92 kB / 1.372 GB, free: 5.828 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.297e-05/0.336, allocations: 11.94 kB / 1.372 GB, free: 5.816 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002261/0.3362, allocations: 208.6 kB / 1.372 GB, free: 5.613 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3362, allocations: 0 / 1.372 GB, free: 5.613 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002541/0.3365, allocations: 35.94 kB / 1.372 GB, free: 5.578 MB / 1.061 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.0017/0.3382, allocations: 453.5 kB / 1.373 GB, free: 5.316 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000233/0.3384, allocations: 75.84 kB / 1.373 GB, free: 5.242 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3384, allocations: 0 / 1.373 GB, free: 5.242 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.949e-05/0.3385, allocations: 44.03 kB / 1.373 GB, free: 5.199 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002958/0.3388, allocations: 30.06 kB / 1.373 GB, free: 5.172 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006329/0.3395, allocations: 340.7 kB / 1.373 GB, free: 4.809 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001157/0.3396, allocations: 110.6 kB / 1.373 GB, free: 4.68 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.82e-05/0.3396, allocations: 27.42 kB / 1.373 GB, free: 4.652 MB / 1.061 GB Notification: Performance of SimCode: time 3.61e-07/0.3396, allocations: 0 / 1.373 GB, free: 4.652 MB / 1.061 GB Notification: Performance of Templates: time 0.005155/0.3448, allocations: 2.716 MB / 1.376 GB, free: 1.941 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_IntegerReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.79784859297797]