Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.Binomial.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.001677/0.001677, allocations: 116.3 kB / 17.08 MB, free: 5.824 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.001893/0.001893, allocations: 192.7 kB / 20.03 MB, free: 2.922 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.448/1.448, allocations: 222.9 MB / 245.7 MB, free: 4.191 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.656/2.656, allocations: 437.1 MB / 0.7177 GB, free: 4.512 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.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bin.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.Binomial") translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bin.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.Binomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 63.91 kB / 1.028 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.324/0.326, allocations: 151.6 MB / 1.176 GB, free: 5.84 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.003381/0.3294, allocations: 1.538 MB / 1.177 GB, free: 4.277 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0006379/0.3301, allocations: 180.3 kB / 1.178 GB, free: 4.098 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.114e-05/0.3302, allocations: 0 / 1.178 GB, free: 4.098 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.357e-05/0.3302, allocations: 3.938 kB / 1.178 GB, free: 4.094 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.611e-05/0.3303, allocations: 3.938 kB / 1.178 GB, free: 4.09 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004636/0.3308, allocations: 51.88 kB / 1.178 GB, free: 4.039 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.739e-05/0.3309, allocations: 35.92 kB / 1.178 GB, free: 4.004 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.331, allocations: 15.98 kB / 1.178 GB, free: 3.988 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.156e-05/0.3311, allocations: 15.94 kB / 1.178 GB, free: 3.973 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.776e-05/0.3311, allocations: 23.89 kB / 1.178 GB, free: 3.949 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.3311, allocations: 4 kB / 1.178 GB, free: 3.945 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001455/0.3313, allocations: 43.97 kB / 1.178 GB, free: 3.902 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.088e-05/0.3313, allocations: 7.984 kB / 1.178 GB, free: 3.895 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.239e-05/0.3314, allocations: 19.86 kB / 1.178 GB, free: 3.875 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001904/0.3316, allocations: 63.78 kB / 1.178 GB, free: 3.812 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.3316, allocations: 0 / 1.178 GB, free: 3.812 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.144e-06/0.3316, allocations: 8 kB / 1.178 GB, free: 3.805 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.258e-05/0.3316, allocations: 0 / 1.178 GB, free: 3.805 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005932/0.3322, allocations: 361.5 kB / 1.178 GB, free: 3.402 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.3323, allocations: 8.031 kB / 1.178 GB, free: 3.395 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.974e-05/0.3323, allocations: 0.9375 kB / 1.178 GB, free: 3.395 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001542/0.3325, allocations: 168.3 kB / 1.178 GB, free: 3.191 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.842e-05/0.3325, allocations: 8.312 kB / 1.178 GB, free: 3.184 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.685e-05/0.3325, allocations: 4.375 kB / 1.178 GB, free: 3.18 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002259/0.3328, allocations: 66.22 kB / 1.178 GB, free: 3.109 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.3328, allocations: 192 / 1.178 GB, free: 3.109 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.3328, allocations: 3.938 kB / 1.178 GB, free: 3.105 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.3328, allocations: 4 kB / 1.178 GB, free: 3.102 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002113/0.333, allocations: 43.95 kB / 1.178 GB, free: 3.059 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004591/0.3335, allocations: 280.7 kB / 1.179 GB, free: 2.734 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000391/0.3339, allocations: 66.52 kB / 1.179 GB, free: 2.66 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.334, allocations: 24.91 kB / 1.179 GB, free: 2.633 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002793/0.3343, allocations: 174.2 kB / 1.179 GB, free: 2.426 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.3343, allocations: 30.56 kB / 1.179 GB, free: 2.387 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 3.377e-06/0.3343, allocations: 4 kB / 1.179 GB, free: 2.383 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0004366/0.3348, allocations: 97.53 kB / 1.179 GB, free: 2.281 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.375e-05/0.3349, allocations: 59.34 kB / 1.179 GB, free: 2.211 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.057e-05/0.335, allocations: 105.8 kB / 1.179 GB, free: 2.098 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.335, allocations: 25.7 kB / 1.179 GB, free: 2.066 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.205e-05/0.335, allocations: 88.12 kB / 1.179 GB, free: 1.977 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.708e-05/0.3351, allocations: 7.953 kB / 1.179 GB, free: 1.969 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.433e-05/0.3351, allocations: 21.72 kB / 1.179 GB, free: 1.941 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.3353, allocations: 318.8 kB / 1.18 GB, free: 1.621 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.831e-05/0.3354, allocations: 19.98 kB / 1.18 GB, free: 1.602 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.064e-05/0.3355, allocations: 19.98 kB / 1.18 GB, free: 1.582 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001898/0.3357, allocations: 48.75 kB / 1.18 GB, free: 1.531 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.3357, allocations: 4 kB / 1.18 GB, free: 1.527 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002456/0.336, allocations: 77.61 kB / 1.18 GB, free: 1.445 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.336, allocations: 7.984 kB / 1.18 GB, free: 1.438 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.336, allocations: 0 / 1.18 GB, free: 1.438 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.336, allocations: 0 / 1.18 GB, free: 1.438 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.739e-05/0.3361, allocations: 11.98 kB / 1.18 GB, free: 1.426 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.199e-06/0.3361, allocations: 0 / 1.18 GB, free: 1.426 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.774e-05/0.3362, allocations: 4 kB / 1.18 GB, free: 1.422 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.198e-05/0.3362, allocations: 12 kB / 1.18 GB, free: 1.41 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (bin.y,rea2Int.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * 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.0001027/0.3363, allocations: 113.8 kB / 1.18 GB, free: 1.289 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.869e-05/0.3363, allocations: 7.938 kB / 1.18 GB, free: 1.281 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000297/0.3367, allocations: 85.48 kB / 1.18 GB, free: 1.188 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/0.3367, allocations: 4 kB / 1.18 GB, free: 1.184 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3367, allocations: 0 / 1.18 GB, free: 1.184 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.3367, allocations: 0 / 1.18 GB, free: 1.184 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002091/0.3369, allocations: 173.5 kB / 1.18 GB, free: 0.9648 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3369, allocations: 0 / 1.18 GB, free: 0.9648 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.139e-05/0.337, allocations: 11.98 kB / 1.18 GB, free: 0.9531 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.095e-06/0.337, allocations: 0 / 1.18 GB, free: 0.9531 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.337, allocations: 0 / 1.18 GB, free: 0.9531 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.337, allocations: 0 / 1.18 GB, free: 0.9531 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.337, allocations: 0 / 1.18 GB, free: 0.9531 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003176/0.3374, allocations: 187.7 kB / 1.18 GB, free: 0.7539 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.531e-05/0.3374, allocations: 81.16 kB / 1.181 GB, free: 0.6562 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.669e-05/0.3374, allocations: 3.984 kB / 1.181 GB, free: 0.6523 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.679e-05/0.3375, allocations: 7.984 kB / 1.181 GB, free: 0.6445 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.875e-05/0.3376, allocations: 4 kB / 1.181 GB, free: 0.6406 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.3376, allocations: 4 kB / 1.181 GB, free: 0.6367 MB / 0.92 GB Notification: Performance of sorting global known variables: time 7.767e-05/0.3377, allocations: 87.27 kB / 1.181 GB, free: 0.5508 MB / 0.92 GB Notification: Performance of sort global known variables: time 2e-07/0.3377, allocations: 0 / 1.181 GB, free: 0.5508 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002662/0.338, allocations: 16 kB / 1.181 GB, free: 0.5352 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (rea2Int.y,bin.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * 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 Backend phase and start with SimCode phase: time 0.0002201/0.3382, allocations: 119.2 kB / 1.181 GB, free: 420 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002671/0.3385, allocations: 47.89 kB / 1.181 GB, free: 372 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.3385, allocations: 0 / 1.181 GB, free: 372 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001096/0.3386, allocations: 31.91 kB / 1.181 GB, free: 340 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003143/0.3389, allocations: 3.938 kB / 1.181 GB, free: 336 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000365/0.3393, allocations: 151.1 kB / 1.181 GB, free: 152 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003668/0.3397, allocations: 0.6768 MB / 1.182 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.12e-05/0.3397, allocations: 15.42 kB / 1.182 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of SimCode: time 4.61e-07/0.3397, allocations: 3.938 kB / 1.182 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of Templates: time 0.003025/0.3428, allocations: 0.9805 MB / 1.183 GB, free: 14.45 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.Binomial.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.Binomial.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_Binomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.Binomial.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.1831704339711]