Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.Binomial.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.001924/0.001924, allocations: 104.4 kB / 19.7 MB, free: 2.137 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.002309/0.002309, allocations: 217.5 kB / 22.99 MB, free: 4.965 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.489/1.489, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.933/2.933, allocations: 476 MB / 0.7707 GB, free: 4.75 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.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bin.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.Binomial") translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bin.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.Binomial") [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.002169/0.002169, allocations: 65.09 kB / 1.118 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3268/0.329, allocations: 170 MB / 1.284 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.003957/0.3329, allocations: 1.548 MB / 1.285 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0005563/0.3335, allocations: 171.5 kB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.449e-05/0.3335, allocations: 0 / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.791e-05/0.3335, allocations: 7.922 kB / 1.285 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.512e-05/0.3336, allocations: 3.938 kB / 1.285 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003812/0.334, allocations: 51.88 kB / 1.286 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.473e-05/0.3341, allocations: 35.92 kB / 1.286 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.3342, allocations: 11.98 kB / 1.286 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.056e-05/0.3342, allocations: 23.86 kB / 1.286 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.22e-05/0.3343, allocations: 19.92 kB / 1.286 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.487e-05/0.3343, allocations: 0 / 1.286 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001418/0.3344, allocations: 55.94 kB / 1.286 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.569e-05/0.3345, allocations: 7.984 kB / 1.286 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.672e-05/0.3345, allocations: 11.94 kB / 1.286 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001716/0.3346, allocations: 67.72 kB / 1.286 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3347, allocations: 4 kB / 1.286 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3347, allocations: 0 / 1.286 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.561e-06/0.3347, allocations: 0 / 1.286 GB, free: 9.934 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006017/0.3353, allocations: 278.2 kB / 1.286 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.3353, allocations: 12.02 kB / 1.286 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.669e-05/0.3353, allocations: 8.891 kB / 1.286 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001178/0.3355, allocations: 114.4 kB / 1.286 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.68e-05/0.3355, allocations: 8.359 kB / 1.286 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.38e-05/0.3355, allocations: 384 / 1.286 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002211/0.3357, allocations: 66.22 kB / 1.286 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.3357, allocations: 192 / 1.286 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.3357, allocations: 3.938 kB / 1.286 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.3357, allocations: 0 / 1.286 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001963/0.3359, allocations: 51.94 kB / 1.286 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004073/0.3363, allocations: 212.5 kB / 1.286 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003399/0.3367, allocations: 62.47 kB / 1.287 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/0.3368, allocations: 28.89 kB / 1.287 GB, free: 9 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001594/0.337, allocations: 15.98 kB / 1.287 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.677e-05/0.337, allocations: 34.56 kB / 1.287 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.337, allocations: 4 kB / 1.287 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0003946/0.3374, allocations: 97.52 kB / 1.287 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.444e-05/0.3374, allocations: 55.39 kB / 1.287 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.727e-05/0.3375, allocations: 105.9 kB / 1.287 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/0.3375, allocations: 25.7 kB / 1.287 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.067e-05/0.3376, allocations: 88.08 kB / 1.287 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.707e-05/0.3376, allocations: 5.734 kB / 1.287 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.814e-05/0.3377, allocations: 21.72 kB / 1.287 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.3378, allocations: 314.8 kB / 1.287 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.594e-05/0.3379, allocations: 24.22 kB / 1.287 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.268e-05/0.338, allocations: 15.98 kB / 1.287 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001804/0.3382, allocations: 56.75 kB / 1.287 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.3382, allocations: 3.938 kB / 1.287 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002223/0.3384, allocations: 77.66 kB / 1.287 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.3384, allocations: 4 kB / 1.287 GB, free: 8 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.3384, allocations: 3.984 kB / 1.287 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.3384, allocations: 3.938 kB / 1.287 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.958e-05/0.3385, allocations: 8 kB / 1.287 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.3385, allocations: 3.984 kB / 1.287 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.758e-05/0.3386, allocations: 4 kB / 1.287 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/0.3386, allocations: 4 kB / 1.287 GB, free: 7.973 MB / 0.9825 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 9.114e-05/0.3387, allocations: 109.8 kB / 1.288 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.842e-05/0.3387, allocations: 11.95 kB / 1.288 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002872/0.339, allocations: 89.58 kB / 1.288 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.339, allocations: 4.031 kB / 1.288 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.339, allocations: 0 / 1.288 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.339, allocations: 4 kB / 1.288 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001531/0.3392, allocations: 109.2 kB / 1.288 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.3392, allocations: 0 / 1.288 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.456e-05/0.3392, allocations: 11.98 kB / 1.288 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.3393, allocations: 7.938 kB / 1.288 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.3393, allocations: 4 kB / 1.288 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3393, allocations: 0 / 1.288 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3393, allocations: 0 / 1.288 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003069/0.3396, allocations: 175.4 kB / 1.288 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.14e-05/0.3396, allocations: 7.984 kB / 1.288 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.373e-05/0.3396, allocations: 0 / 1.288 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.522e-05/0.3397, allocations: 4 kB / 1.288 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.863e-05/0.3397, allocations: 7.984 kB / 1.288 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.191e-06/0.3397, allocations: 8 kB / 1.288 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.561e-05/0.3398, allocations: 87.27 kB / 1.288 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3398, allocations: 0 / 1.288 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002663/0.3401, allocations: 19.89 kB / 1.288 GB, free: 7.262 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: 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.0001968/0.3403, allocations: 119.2 kB / 1.288 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002437/0.3405, allocations: 43.95 kB / 1.288 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3405, allocations: 0 / 1.288 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001/0.3406, allocations: 27.92 kB / 1.288 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003268/0.3409, allocations: 18.53 kB / 1.288 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003595/0.3413, allocations: 147.2 kB / 1.288 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.741e-05/0.3414, allocations: 63.34 kB / 1.289 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.578e-05/0.3414, allocations: 15.44 kB / 1.289 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.3414, allocations: 0 / 1.289 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of Templates: time 0.002915/0.3443, allocations: 0.9606 MB / 1.289 GB, free: 5.812 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.Binomial.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.Binomial.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_Binomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 11.503159245010465]