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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) 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=5000,variableFilter="time|bin.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.Binomial") translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bin.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005266/0.005266, allocations: 97.41 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 197 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 222.9 MB / 240.4 MB, free: 4.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.618/2.618, allocations: 437 MB / 0.7105 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 60.12 kB / 1.019 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3458/0.3471, allocations: 151.6 MB / 1.167 GB, free: 6.789 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.0029/0.3501, allocations: 1.534 MB / 1.168 GB, free: 5.238 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0004814/0.3506, allocations: 180.2 kB / 1.168 GB, free: 5.059 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.196e-05/0.3506, allocations: 0 / 1.168 GB, free: 5.059 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.679e-05/0.3506, allocations: 0 / 1.168 GB, free: 5.059 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.062e-05/0.3507, allocations: 3.938 kB / 1.168 GB, free: 5.055 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003439/0.3511, allocations: 55.81 kB / 1.168 GB, free: 5 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001073/0.3512, allocations: 35.92 kB / 1.168 GB, free: 4.965 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.3513, allocations: 19.98 kB / 1.168 GB, free: 4.945 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.078e-05/0.3513, allocations: 8 kB / 1.168 GB, free: 4.938 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.234e-05/0.3514, allocations: 27.83 kB / 1.168 GB, free: 4.91 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.592e-05/0.3514, allocations: 7.938 kB / 1.168 GB, free: 4.902 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001294/0.3516, allocations: 43.97 kB / 1.168 GB, free: 4.859 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.76e-05/0.3516, allocations: 7.984 kB / 1.168 GB, free: 4.852 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.503e-05/0.3516, allocations: 19.92 kB / 1.168 GB, free: 4.832 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001587/0.3518, allocations: 71.72 kB / 1.169 GB, free: 4.762 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3518, allocations: 0 / 1.169 GB, free: 4.762 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.844e-06/0.3518, allocations: 0 / 1.169 GB, free: 4.762 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.3518, allocations: 0 / 1.169 GB, free: 4.762 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.0005178/0.3523, allocations: 367.3 kB / 1.169 GB, free: 4.352 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.3524, allocations: 8.031 kB / 1.169 GB, free: 4.344 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.854e-05/0.3524, allocations: 4.938 kB / 1.169 GB, free: 4.34 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.3526, allocations: 160.4 kB / 1.169 GB, free: 4.145 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.463e-05/0.3526, allocations: 4.375 kB / 1.169 GB, free: 4.141 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/0.3526, allocations: 4.359 kB / 1.169 GB, free: 4.137 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002/0.3528, allocations: 66.16 kB / 1.169 GB, free: 4.066 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.3528, allocations: 8.188 kB / 1.169 GB, free: 4.059 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.3528, allocations: 3.938 kB / 1.169 GB, free: 4.055 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.3529, allocations: 0 / 1.169 GB, free: 4.055 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001924/0.3531, allocations: 47.89 kB / 1.169 GB, free: 4.008 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004042/0.3535, allocations: 276.7 kB / 1.169 GB, free: 3.688 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003186/0.3538, allocations: 66.47 kB / 1.17 GB, free: 3.613 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.492e-05/0.3539, allocations: 24.91 kB / 1.17 GB, free: 3.586 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002335/0.3541, allocations: 170.2 kB / 1.17 GB, free: 3.383 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.3542, allocations: 34.56 kB / 1.17 GB, free: 3.34 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 2.364e-06/0.3542, allocations: 0 / 1.17 GB, free: 3.34 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0003824/0.3546, allocations: 101.5 kB / 1.17 GB, free: 3.234 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/0.3546, allocations: 55.39 kB / 1.17 GB, free: 3.168 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.763e-05/0.3547, allocations: 113.9 kB / 1.17 GB, free: 3.047 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.3547, allocations: 25.7 kB / 1.17 GB, free: 3.016 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.525e-05/0.3548, allocations: 92.11 kB / 1.17 GB, free: 2.922 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.721e-05/0.3548, allocations: 7.953 kB / 1.17 GB, free: 2.914 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.407e-05/0.3548, allocations: 13.72 kB / 1.17 GB, free: 2.895 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.355, allocations: 326.8 kB / 1.17 GB, free: 2.566 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.069e-05/0.3551, allocations: 15.98 kB / 1.17 GB, free: 2.551 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.498e-05/0.3551, allocations: 19.98 kB / 1.17 GB, free: 2.531 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001625/0.3553, allocations: 44.81 kB / 1.171 GB, free: 2.484 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3553, allocations: 0 / 1.171 GB, free: 2.484 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000211/0.3555, allocations: 85.59 kB / 1.171 GB, free: 2.395 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.3556, allocations: 4 kB / 1.171 GB, free: 2.391 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.3556, allocations: 7.938 kB / 1.171 GB, free: 2.383 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.3556, allocations: 0 / 1.171 GB, free: 2.383 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.312e-05/0.3557, allocations: 11.98 kB / 1.171 GB, free: 2.371 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.3557, allocations: 0 / 1.171 GB, free: 2.371 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.712e-05/0.3558, allocations: 4 kB / 1.171 GB, free: 2.367 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.3558, allocations: 0 / 1.171 GB, free: 2.367 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 8.604e-05/0.3559, allocations: 125.8 kB / 1.171 GB, free: 2.234 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.557e-05/0.3559, allocations: 0 / 1.171 GB, free: 2.234 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002546/0.3562, allocations: 81.88 kB / 1.171 GB, free: 2.145 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.3562, allocations: 0 / 1.171 GB, free: 2.145 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.3562, allocations: 0 / 1.171 GB, free: 2.145 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.3562, allocations: 4.031 kB / 1.171 GB, free: 2.141 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001672/0.3564, allocations: 169.6 kB / 1.171 GB, free: 1.926 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.3564, allocations: 0 / 1.171 GB, free: 1.926 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.39e-05/0.3565, allocations: 23.92 kB / 1.171 GB, free: 1.902 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.3565, allocations: 0 / 1.171 GB, free: 1.902 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.3565, allocations: 0 / 1.171 GB, free: 1.902 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3565, allocations: 0 / 1.171 GB, free: 1.902 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.3565, allocations: 0 / 1.171 GB, free: 1.902 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002614/0.3568, allocations: 175.4 kB / 1.171 GB, free: 1.715 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.424e-05/0.3568, allocations: 85.05 kB / 1.171 GB, free: 1.613 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.61e-05/0.3568, allocations: 7.938 kB / 1.171 GB, free: 1.605 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.124e-05/0.3569, allocations: 11.98 kB / 1.171 GB, free: 1.594 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.34e-05/0.357, allocations: 4 kB / 1.171 GB, free: 1.59 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.357, allocations: 0 / 1.171 GB, free: 1.59 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.617e-05/0.3571, allocations: 87.27 kB / 1.171 GB, free: 1.504 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3571, allocations: 4 kB / 1.171 GB, free: 1.5 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002474/0.3573, allocations: 15.94 kB / 1.171 GB, free: 1.484 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.0002384/0.3576, allocations: 123.2 kB / 1.172 GB, free: 1.355 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002305/0.3578, allocations: 39.95 kB / 1.172 GB, free: 1.316 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3578, allocations: 0 / 1.172 GB, free: 1.316 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 9.678e-05/0.3579, allocations: 27.97 kB / 1.172 GB, free: 1.289 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002898/0.3582, allocations: 14.12 kB / 1.172 GB, free: 1.277 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003655/0.3586, allocations: 117.4 kB / 1.172 GB, free: 1.137 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002967/0.3589, allocations: 0.6884 MB / 1.172 GB, free: 432 kB / 0.92 GB Notification: Performance of simCode: alias equations: time 3.05e-05/0.3589, allocations: 7.984 kB / 1.172 GB, free: 424 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.632e-05/0.359, allocations: 11.44 kB / 1.172 GB, free: 412 kB / 0.92 GB Notification: Performance of SimCode: time 2.71e-07/0.359, allocations: 0 / 1.172 GB, free: 412 kB / 0.92 GB Notification: Performance of Templates: time 0.003529/0.3625, allocations: 0.9813 MB / 1.173 GB, free: 15.43 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.Binomial.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1) 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.Binomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches