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.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings.Utilities.Math.Examples.Binomial") translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bin.y",fileNamePrefix="Buildings_11_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.001519/0.001519, allocations: 106 kB / 15.99 MB, free: 6.352 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.001508/0.001508, allocations: 195.6 kB / 16.91 MB, free: 6.184 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.413/1.413, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.714/2.714, allocations: 469.8 MB / 0.7427 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 71.88 kB / 0.9087 GB, free: 14.22 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3272/0.3292, allocations: 159.1 MB / 1.064 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.002909/0.3322, allocations: 1.594 MB / 1.066 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0004581/0.3327, allocations: 179.5 kB / 1.066 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.326e-05/0.3327, allocations: 0 / 1.066 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.612e-05/0.3327, allocations: 3.938 kB / 1.066 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 3.785e-05/0.3328, allocations: 0 / 1.066 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003078/0.3331, allocations: 47.89 kB / 1.066 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.307e-05/0.3332, allocations: 39.92 kB / 1.066 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.153e-05/0.3333, allocations: 11.98 kB / 1.066 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.94e-05/0.3333, allocations: 19.92 kB / 1.066 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.319e-05/0.3334, allocations: 19.91 kB / 1.066 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.348e-05/0.3334, allocations: 4 kB / 1.066 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.3335, allocations: 43.97 kB / 1.066 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.499e-05/0.3335, allocations: 11.94 kB / 1.066 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.689e-05/0.3336, allocations: 15.92 kB / 1.066 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001058/0.3337, allocations: 43.92 kB / 1.066 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.3337, allocations: 3.938 kB / 1.066 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3337, allocations: 0 / 1.066 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.658e-06/0.3337, allocations: 0 / 1.066 GB, free: 13.05 MB / 0.8419 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.0005143/0.3342, allocations: 355.7 kB / 1.066 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.3343, allocations: 15.97 kB / 1.066 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.187e-05/0.3343, allocations: 0.9375 kB / 1.066 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001548/0.3345, allocations: 180.3 kB / 1.067 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.153e-05/0.3345, allocations: 384 / 1.067 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.245e-05/0.3345, allocations: 4.375 kB / 1.067 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000198/0.3347, allocations: 66.16 kB / 1.067 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.3347, allocations: 192 / 1.067 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.3348, allocations: 3.938 kB / 1.067 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.3348, allocations: 3.984 kB / 1.067 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001873/0.335, allocations: 39.97 kB / 1.067 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004274/0.3354, allocations: 284.8 kB / 1.067 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003294/0.3357, allocations: 62.47 kB / 1.067 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.947e-05/0.3358, allocations: 24.91 kB / 1.067 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002347/0.3361, allocations: 166.2 kB / 1.067 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.3361, allocations: 38.56 kB / 1.067 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 1.292e-06/0.3361, allocations: 0 / 1.067 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.0003933/0.3365, allocations: 97.52 kB / 1.067 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/0.3366, allocations: 51.41 kB / 1.067 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.615e-05/0.3367, allocations: 121.8 kB / 1.068 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.379e-05/0.3367, allocations: 25.7 kB / 1.068 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.099e-05/0.3368, allocations: 80.14 kB / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.16e-05/0.3368, allocations: 15.89 kB / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.362e-05/0.3369, allocations: 9.719 kB / 1.068 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001625/0.337, allocations: 322.8 kB / 1.068 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.095e-05/0.3371, allocations: 15.97 kB / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.099e-05/0.3372, allocations: 23.98 kB / 1.068 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001737/0.3374, allocations: 48.81 kB / 1.068 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.3374, allocations: 0 / 1.068 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002186/0.3376, allocations: 73.66 kB / 1.068 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.3377, allocations: 4 kB / 1.068 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.3377, allocations: 3.938 kB / 1.068 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.3377, allocations: 0 / 1.068 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.381e-05/0.3378, allocations: 15.98 kB / 1.068 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.3378, allocations: 3.938 kB / 1.068 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.305e-05/0.3379, allocations: 11.89 kB / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.81e-06/0.3379, allocations: 0 / 1.068 GB, free: 10.66 MB / 0.8419 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.000101/0.338, allocations: 117.8 kB / 1.068 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.54e-05/0.338, allocations: 0 / 1.068 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000283/0.3383, allocations: 89.48 kB / 1.068 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.3383, allocations: 0 / 1.068 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.3383, allocations: 0 / 1.068 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.3383, allocations: 3.984 kB / 1.068 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001995/0.3385, allocations: 169.6 kB / 1.069 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.3385, allocations: 0 / 1.069 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.797e-05/0.3386, allocations: 15.92 kB / 1.069 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3386, allocations: 0 / 1.069 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.3386, allocations: 8 kB / 1.069 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3387, allocations: 0 / 1.069 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.3387, allocations: 4 kB / 1.069 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002771/0.3389, allocations: 171.4 kB / 1.069 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.901e-05/0.339, allocations: 81.09 kB / 1.069 GB, free: 9.914 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.315e-05/0.339, allocations: 0 / 1.069 GB, free: 9.914 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.683e-05/0.3391, allocations: 8 kB / 1.069 GB, free: 9.906 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.34e-05/0.3392, allocations: 7.984 kB / 1.069 GB, free: 9.898 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.379e-06/0.3392, allocations: 4.422 kB / 1.069 GB, free: 9.895 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.525e-05/0.3392, allocations: 91.34 kB / 1.069 GB, free: 9.805 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3392, allocations: 0 / 1.069 GB, free: 9.805 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002659/0.3395, allocations: 12 kB / 1.069 GB, free: 9.793 MB / 0.8419 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.000185/0.3397, allocations: 123.2 kB / 1.069 GB, free: 9.664 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002537/0.34, allocations: 47.94 kB / 1.069 GB, free: 9.617 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.34, allocations: 4 kB / 1.069 GB, free: 9.613 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001/0.3401, allocations: 19.98 kB / 1.069 GB, free: 9.594 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003034/0.3404, allocations: 24.34 kB / 1.069 GB, free: 9.57 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003473/0.3408, allocations: 155.1 kB / 1.069 GB, free: 9.383 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003414/0.3411, allocations: 0.6807 MB / 1.07 GB, free: 8.676 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.305e-05/0.3412, allocations: 19.44 kB / 1.07 GB, free: 8.66 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.3412, allocations: 0 / 1.07 GB, free: 8.66 MB / 0.8419 GB Notification: Performance of Templates: time 0.002723/0.3439, allocations: 0.9737 MB / 1.071 GB, free: 7.688 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.Binomial.makefile (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) 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) Reference file matches