Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.IntegerReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001563/0.001563, allocations: 116 kB / 17.08 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001633/0.001633, allocations: 193.2 kB / 20.03 MB, free: 3.047 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 222.9 MB / 245.7 MB, free: 4.211 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.671/2.671, allocations: 437.1 MB / 0.7177 GB, free: 4.586 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Utilities.Math.Examples.IntegerReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 68.08 kB / 1.028 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3155/0.3175, allocations: 151.6 MB / 1.176 GB, free: 5.906 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.003421/0.3209, allocations: 1.764 MB / 1.178 GB, free: 4.117 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002074/0.323, allocations: 1.104 MB / 1.179 GB, free: 3.004 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.3231, allocations: 7.938 kB / 1.179 GB, free: 2.996 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0003247/0.3235, allocations: 51.73 kB / 1.179 GB, free: 2.945 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002531/0.3238, allocations: 75.67 kB / 1.179 GB, free: 2.871 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000647/0.3244, allocations: 242.8 kB / 1.179 GB, free: 2.637 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002191/0.3247, allocations: 139.7 kB / 1.179 GB, free: 2.5 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.3248, allocations: 21.12 kB / 1.179 GB, free: 2.48 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001155/0.3249, allocations: 67.69 kB / 1.179 GB, free: 2.414 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001192/0.325, allocations: 71.75 kB / 1.179 GB, free: 2.344 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.528e-05/0.3251, allocations: 8 kB / 1.179 GB, free: 2.336 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001694/0.3252, allocations: 63.95 kB / 1.179 GB, free: 2.273 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 9.102e-05/0.3253, allocations: 43.83 kB / 1.179 GB, free: 2.23 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 8.574e-05/0.3254, allocations: 59.62 kB / 1.179 GB, free: 2.172 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003298/0.3258, allocations: 203.2 kB / 1.18 GB, free: 1.973 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3258, allocations: 0 / 1.18 GB, free: 1.973 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3258, allocations: 0 / 1.18 GB, free: 1.973 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.3258, allocations: 0 / 1.18 GB, free: 1.973 MB / 0.92 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.0008623/0.3267, allocations: 0.496 MB / 1.18 GB, free: 1.422 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.3267, allocations: 8.031 kB / 1.18 GB, free: 1.414 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.796e-05/0.3268, allocations: 16.84 kB / 1.18 GB, free: 1.398 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003948/0.3272, allocations: 257 kB / 1.18 GB, free: 1.105 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.3272, allocations: 4.375 kB / 1.18 GB, free: 1.102 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.078e-05/0.3272, allocations: 12.11 kB / 1.18 GB, free: 1.09 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002144/0.3275, allocations: 92.17 kB / 1.181 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.3275, allocations: 4 kB / 1.181 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.3275, allocations: 4 kB / 1.181 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.926e-05/0.3275, allocations: 4 kB / 1.181 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001054/0.3276, allocations: 31.97 kB / 1.181 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000515/0.3282, allocations: 356.7 kB / 1.181 GB, free: 0.543 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002222/0.3284, allocations: 86.7 kB / 1.181 GB, free: 460 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.69e-05/0.3285, allocations: 32.84 kB / 1.181 GB, free: 424 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/0.3285, allocations: 4 kB / 1.181 GB, free: 420 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001699/0.3287, allocations: 79.38 kB / 1.181 GB, free: 328 kB / 0.92 GB Notification: Performance of pre-optimization done (n=8): time 1.623e-06/0.3287, allocations: 0 / 1.181 GB, free: 328 kB / 0.92 GB Notification: Performance of matching and sorting (n=8): time 0.0003716/0.3291, allocations: 145.4 kB / 1.181 GB, free: 176 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.301e-05/0.3292, allocations: 106.8 kB / 1.181 GB, free: 44 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002949/0.3295, allocations: 266.8 kB / 1.182 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.58e-05/0.3295, allocations: 29.7 kB / 1.182 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.963e-05/0.3296, allocations: 120.1 kB / 1.182 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.84e-05/0.3296, allocations: 15.86 kB / 1.182 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.695e-05/0.3297, allocations: 33.64 kB / 1.182 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.3298, allocations: 330.8 kB / 1.182 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.776e-05/0.3299, allocations: 23.98 kB / 1.182 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001188/0.3301, allocations: 80.2 kB / 1.182 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001566/0.3302, allocations: 66.02 kB / 1.182 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.3302, allocations: 0 / 1.182 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002403/0.3305, allocations: 117.7 kB / 1.182 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.3305, allocations: 8 kB / 1.182 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.3305, allocations: 3.938 kB / 1.182 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.3305, allocations: 4.031 kB / 1.182 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.932e-05/0.3306, allocations: 15.98 kB / 1.182 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.3307, allocations: 0 / 1.182 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.798e-05/0.3307, allocations: 11.88 kB / 1.182 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.3308, allocations: 0 / 1.182 GB, free: 14.88 MB / 0.9356 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.0001683/0.3309, allocations: 150.5 kB / 1.183 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.296e-05/0.331, allocations: 23.8 kB / 1.183 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.39e-05/0.331, allocations: 17.41 kB / 1.183 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.527e-06/0.3311, allocations: 4 kB / 1.183 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.3311, allocations: 0 / 1.183 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.784e-06/0.3311, allocations: 7.922 kB / 1.183 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002365/0.3313, allocations: 221.6 kB / 1.183 GB, free: 14.4 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3313, allocations: 0 / 1.183 GB, free: 14.4 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.272e-05/0.3314, allocations: 4 kB / 1.183 GB, free: 14.4 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.3314, allocations: 0 / 1.183 GB, free: 14.4 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.3314, allocations: 4 kB / 1.183 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.3314, allocations: 0 / 1.183 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3314, allocations: 0 / 1.183 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002793/0.3317, allocations: 148.9 kB / 1.183 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.375e-05/0.3318, allocations: 97 kB / 1.183 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.88e-05/0.3318, allocations: 0 / 1.183 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.395e-05/0.3319, allocations: 4 kB / 1.183 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.286e-05/0.332, allocations: 15.92 kB / 1.183 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.752e-05/0.332, allocations: 7.938 kB / 1.183 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001933/0.3322, allocations: 192.4 kB / 1.183 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3322, allocations: 0 / 1.183 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002563/0.3325, allocations: 43.92 kB / 1.183 GB, free: 13.86 MB / 0.9356 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.001586/0.334, allocations: 434.7 kB / 1.184 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002512/0.3343, allocations: 63.97 kB / 1.184 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.688e-06/0.3343, allocations: 0 / 1.184 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.168e-05/0.3344, allocations: 39.92 kB / 1.184 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003038/0.3347, allocations: 36.77 kB / 1.184 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006203/0.3354, allocations: 324.3 kB / 1.184 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003727/0.3358, allocations: 0.724 MB / 1.185 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.785e-05/0.3358, allocations: 23.42 kB / 1.185 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of SimCode: time 3.1e-07/0.3358, allocations: 0 / 1.185 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of Templates: time 0.005293/0.3411, allocations: 2.615 MB / 1.187 GB, free: 9.738 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.IntegerReplicator.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.IntegerReplicator.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.IntegerReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_IntegerReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.877225675969385]