Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Binomial") translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Binomial") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.648/1.648, allocations: 306.1 MB / 321.4 MB, free: 10.72 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009354/0.0009354, allocations: 179.5 kB / 393.1 MB, free: 4.066 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.476/1.476, allocations: 225.7 MB / 0.6743 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000727/0.000727, allocations: 97.17 kB / 0.7935 GB, free: 40.03 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0005364/0.0005365, allocations: 8 kB / 0.9224 GB, free: 8.633 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5282/0.5288, allocations: 121.3 MB / 1.041 GB, free: 58.41 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.001439/0.5303, allocations: 1.246 MB / 1.042 GB, free: 57.58 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0004714/0.5308, allocations: 417.1 kB / 1.042 GB, free: 57.18 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.317e-05/0.5308, allocations: 0 / 1.042 GB, free: 57.18 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.994e-05/0.5308, allocations: 4.641 kB / 1.042 GB, free: 57.17 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.766e-05/0.5309, allocations: 3.406 kB / 1.042 GB, free: 57.17 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002446/0.5311, allocations: 44.38 kB / 1.043 GB, free: 57.15 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 5.554e-05/0.5312, allocations: 32.19 kB / 1.043 GB, free: 57.13 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.295e-05/0.5313, allocations: 13.92 kB / 1.043 GB, free: 57.13 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 2.515e-05/0.5313, allocations: 13.42 kB / 1.043 GB, free: 57.12 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 3.907e-05/0.5314, allocations: 14.92 kB / 1.043 GB, free: 57.12 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 9.408e-06/0.5314, allocations: 2.25 kB / 1.043 GB, free: 57.12 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001011/0.5315, allocations: 44.41 kB / 1.043 GB, free: 57.1 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.586e-05/0.5315, allocations: 11.75 kB / 1.043 GB, free: 57.09 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.172e-05/0.5316, allocations: 39.08 kB / 1.043 GB, free: 57.05 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001182/0.5317, allocations: 57.59 kB / 1.043 GB, free: 57.04 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.5317, allocations: 1.531 kB / 1.043 GB, free: 57.04 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.473e-06/0.5317, allocations: 0 / 1.043 GB, free: 57.04 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.5317, allocations: 0 / 1.043 GB, free: 57.04 MB / 0.698 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.0003743/0.5321, allocations: 356 kB / 1.043 GB, free: 56.67 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.5321, allocations: 8.812 kB / 1.043 GB, free: 56.67 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.16e-05/0.5322, allocations: 7.156 kB / 1.043 GB, free: 56.67 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.901e-05/0.5323, allocations: 167.4 kB / 1.043 GB, free: 56.47 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.822e-05/0.5323, allocations: 11.59 kB / 1.043 GB, free: 56.46 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.458e-05/0.5323, allocations: 1.719 kB / 1.043 GB, free: 56.46 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002515/0.5326, allocations: 72.09 kB / 1.043 GB, free: 56.42 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.5326, allocations: 1.219 kB / 1.043 GB, free: 56.42 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.5326, allocations: 3.938 kB / 1.043 GB, free: 56.42 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.5326, allocations: 6.719 kB / 1.043 GB, free: 56.41 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000213/0.5329, allocations: 54.5 kB / 1.043 GB, free: 56.41 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003956/0.5333, allocations: 282.2 kB / 1.044 GB, free: 56.12 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000322/0.5336, allocations: 68.5 kB / 1.044 GB, free: 56.08 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001008/0.5337, allocations: 33.41 kB / 1.044 GB, free: 56.07 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001891/0.5339, allocations: 169.5 kB / 1.044 GB, free: 55.88 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.779e-05/0.5339, allocations: 31.34 kB / 1.044 GB, free: 55.84 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.933e-06/0.5339, allocations: 5.672 kB / 1.044 GB, free: 55.84 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0004002/0.5344, allocations: 106.8 kB / 1.044 GB, free: 55.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.203e-05/0.5344, allocations: 53.41 kB / 1.044 GB, free: 55.74 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.679e-05/0.5345, allocations: 110.7 kB / 1.044 GB, free: 55.63 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.013e-05/0.5345, allocations: 30.36 kB / 1.044 GB, free: 55.6 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.32e-05/0.5345, allocations: 87.02 kB / 1.044 GB, free: 55.52 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.34e-05/0.5345, allocations: 8.828 kB / 1.044 GB, free: 55.51 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.848e-06/0.5346, allocations: 0 / 1.044 GB, free: 55.51 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.339e-05/0.5346, allocations: 320.8 kB / 1.045 GB, free: 55.19 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.28e-05/0.5347, allocations: 28.42 kB / 1.045 GB, free: 55.18 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.841e-05/0.5348, allocations: 25.77 kB / 1.045 GB, free: 55.18 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001763/0.535, allocations: 56.95 kB / 1.045 GB, free: 55.16 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.535, allocations: 0 / 1.045 GB, free: 55.16 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002178/0.5352, allocations: 91.38 kB / 1.045 GB, free: 55.12 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.5353, allocations: 10.2 kB / 1.045 GB, free: 55.11 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.5353, allocations: 6.344 kB / 1.045 GB, free: 55.11 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.5353, allocations: 0 / 1.045 GB, free: 55.11 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.162e-05/0.5354, allocations: 16.34 kB / 1.045 GB, free: 55.11 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.5354, allocations: 3.406 kB / 1.045 GB, free: 55.11 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.911e-05/0.5355, allocations: 12.06 kB / 1.045 GB, free: 55.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-06/0.5355, allocations: 0 / 1.045 GB, free: 55.1 MB / 0.698 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 (rea2Int.y,bin.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 6.383e-05/0.5355, allocations: 119.3 kB / 1.045 GB, free: 54.98 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.383e-05/0.5356, allocations: 3.562 kB / 1.045 GB, free: 54.98 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002647/0.5358, allocations: 91.42 kB / 1.045 GB, free: 54.93 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.5359, allocations: 2.812 kB / 1.045 GB, free: 54.93 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.5359, allocations: 0.75 kB / 1.045 GB, free: 54.93 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.5359, allocations: 0 / 1.045 GB, free: 54.93 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001336/0.536, allocations: 172 kB / 1.045 GB, free: 54.73 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.536, allocations: 2.984 kB / 1.045 GB, free: 54.73 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.746e-05/0.5361, allocations: 20.33 kB / 1.045 GB, free: 54.72 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.5361, allocations: 1.562 kB / 1.045 GB, free: 54.72 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.335e-06/0.5361, allocations: 1.266 kB / 1.045 GB, free: 54.72 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.5361, allocations: 0 / 1.045 GB, free: 54.72 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.5361, allocations: 3.812 kB / 1.045 GB, free: 54.72 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002519/0.5364, allocations: 181.1 kB / 1.045 GB, free: 54.58 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.004e-05/0.5364, allocations: 78.27 kB / 1.046 GB, free: 54.48 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/0.5364, allocations: 10.45 kB / 1.046 GB, free: 54.48 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.036e-05/0.5365, allocations: 5.359 kB / 1.046 GB, free: 54.48 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.291e-05/0.5366, allocations: 5.703 kB / 1.046 GB, free: 54.48 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-06/0.5366, allocations: 5.203 kB / 1.046 GB, free: 54.48 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.026e-05/0.5366, allocations: 87.28 kB / 1.046 GB, free: 54.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5366, allocations: 1.594 kB / 1.046 GB, free: 54.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002189/0.5369, allocations: 21.56 kB / 1.046 GB, free: 54.39 MB / 0.698 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.0001688/0.537, allocations: 127.5 kB / 1.046 GB, free: 54.29 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002442/0.5373, allocations: 55.91 kB / 1.046 GB, free: 54.29 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.5373, allocations: 0 / 1.046 GB, free: 54.29 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001025/0.5374, allocations: 31.98 kB / 1.046 GB, free: 54.28 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002678/0.5377, allocations: 13.06 kB / 1.046 GB, free: 54.27 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002949/0.538, allocations: 136.8 kB / 1.046 GB, free: 54.14 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001259/0.5381, allocations: 0.6811 MB / 1.047 GB, free: 53.45 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.298e-05/0.5382, allocations: 10.19 kB / 1.047 GB, free: 53.44 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.415e-05/0.5382, allocations: 10.27 kB / 1.047 GB, free: 53.43 MB / 0.698 GB Notification: Performance of SimCode: time 3.1e-07/0.5382, allocations: 0 / 1.047 GB, free: 53.43 MB / 0.698 GB Notification: Performance of Templates: time 0.002998/0.5412, allocations: 0.8679 MB / 1.048 GB, free: 53.35 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1)