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.001365/0.001365, allocations: 106.6 kB / 15.99 MB, free: 6.355 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.001371/0.001371, allocations: 196.5 kB / 16.91 MB, free: 6.188 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.447/1.447, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.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.643/2.643, allocations: 437 MB / 0.7107 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002122/0.002122, allocations: 63.89 kB / 0.8694 GB, free: 2.535 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2934/0.2955, allocations: 151.6 MB / 1.017 GB, free: 10.97 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.003031/0.2986, allocations: 1.602 MB / 1.019 GB, free: 9.355 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0004771/0.2991, allocations: 172.3 kB / 1.019 GB, free: 9.184 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.299e-05/0.2991, allocations: 4 kB / 1.019 GB, free: 9.18 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.61e-05/0.2992, allocations: 3.938 kB / 1.019 GB, free: 9.176 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.295e-05/0.2993, allocations: 0 / 1.019 GB, free: 9.176 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003407/0.2996, allocations: 47.89 kB / 1.019 GB, free: 9.129 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 7.228e-05/0.2997, allocations: 27.98 kB / 1.019 GB, free: 9.102 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.578e-05/0.2998, allocations: 23.97 kB / 1.019 GB, free: 9.078 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 3.515e-05/0.2998, allocations: 11.94 kB / 1.019 GB, free: 9.066 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.795e-05/0.2999, allocations: 19.92 kB / 1.019 GB, free: 9.047 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.686e-05/0.2999, allocations: 0 / 1.019 GB, free: 9.047 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001261/0.3001, allocations: 59.88 kB / 1.019 GB, free: 8.988 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.666e-05/0.3001, allocations: 4 kB / 1.019 GB, free: 8.984 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.099e-05/0.3001, allocations: 19.86 kB / 1.019 GB, free: 8.965 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001186/0.3002, allocations: 39.94 kB / 1.019 GB, free: 8.926 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.3003, allocations: 4 kB / 1.019 GB, free: 8.922 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3003, allocations: 0 / 1.019 GB, free: 8.922 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.572e-06/0.3003, allocations: 3.938 kB / 1.019 GB, free: 8.918 MB / 0.795 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.0005322/0.3008, allocations: 359.6 kB / 1.02 GB, free: 8.52 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.3009, allocations: 8.922 kB / 1.02 GB, free: 8.512 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.68e-05/0.3009, allocations: 4.938 kB / 1.02 GB, free: 8.508 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.301, allocations: 164.4 kB / 1.02 GB, free: 8.309 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.442e-05/0.3011, allocations: 12.31 kB / 1.02 GB, free: 8.297 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.007e-05/0.3011, allocations: 4.375 kB / 1.02 GB, free: 8.293 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002023/0.3013, allocations: 58.23 kB / 1.02 GB, free: 8.23 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.3013, allocations: 7.938 kB / 1.02 GB, free: 8.223 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-06/0.3013, allocations: 0 / 1.02 GB, free: 8.223 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.3013, allocations: 0 / 1.02 GB, free: 8.223 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002036/0.3015, allocations: 51.88 kB / 1.02 GB, free: 8.172 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004211/0.302, allocations: 288.7 kB / 1.02 GB, free: 7.84 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003276/0.3023, allocations: 54.55 kB / 1.02 GB, free: 7.777 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.931e-05/0.3024, allocations: 32.83 kB / 1.02 GB, free: 7.742 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002577/0.3027, allocations: 166.2 kB / 1.021 GB, free: 7.543 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.3027, allocations: 34.56 kB / 1.021 GB, free: 7.5 MB / 0.795 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.3027, allocations: 0 / 1.021 GB, free: 7.5 MB / 0.795 GB Notification: Performance of matching and sorting (n=3): time 0.0004005/0.3031, allocations: 101.5 kB / 1.021 GB, free: 7.395 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.476e-05/0.3032, allocations: 51.41 kB / 1.021 GB, free: 7.332 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.067e-05/0.3033, allocations: 105.8 kB / 1.021 GB, free: 7.219 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.3033, allocations: 25.7 kB / 1.021 GB, free: 7.188 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.469e-05/0.3034, allocations: 92.14 kB / 1.021 GB, free: 7.094 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.501e-05/0.3034, allocations: 3.906 kB / 1.021 GB, free: 7.09 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.913e-05/0.3034, allocations: 21.7 kB / 1.021 GB, free: 7.062 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.3036, allocations: 314.8 kB / 1.021 GB, free: 6.746 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.632e-05/0.3037, allocations: 27.91 kB / 1.021 GB, free: 6.719 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.333e-05/0.3038, allocations: 19.98 kB / 1.021 GB, free: 6.699 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001874/0.304, allocations: 48.81 kB / 1.021 GB, free: 6.648 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.304, allocations: 0 / 1.021 GB, free: 6.648 MB / 0.795 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002262/0.3042, allocations: 69.66 kB / 1.022 GB, free: 6.574 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.3042, allocations: 4 kB / 1.022 GB, free: 6.57 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.3043, allocations: 4 kB / 1.022 GB, free: 6.566 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.3043, allocations: 0 / 1.022 GB, free: 6.566 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.473e-05/0.3044, allocations: 11.98 kB / 1.022 GB, free: 6.555 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.3044, allocations: 3.938 kB / 1.022 GB, free: 6.551 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.82e-05/0.3044, allocations: 15.98 kB / 1.022 GB, free: 6.535 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.3045, allocations: 0 / 1.022 GB, free: 6.535 MB / 0.795 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.901e-05/0.3046, allocations: 113.8 kB / 1.022 GB, free: 6.414 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.71e-05/0.3046, allocations: 7.844 kB / 1.022 GB, free: 6.406 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002785/0.3049, allocations: 85.55 kB / 1.022 GB, free: 6.316 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.3049, allocations: 0 / 1.022 GB, free: 6.316 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.3049, allocations: 7.938 kB / 1.022 GB, free: 6.309 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.3049, allocations: 0 / 1.022 GB, free: 6.309 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001935/0.3051, allocations: 165.6 kB / 1.022 GB, free: 6.098 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.3051, allocations: 7.984 kB / 1.022 GB, free: 6.09 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.217e-05/0.3052, allocations: 8 kB / 1.022 GB, free: 6.082 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.3052, allocations: 0 / 1.022 GB, free: 6.082 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/0.3052, allocations: 8.359 kB / 1.022 GB, free: 6.074 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.3053, allocations: 3.938 kB / 1.022 GB, free: 6.07 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3053, allocations: 0 / 1.022 GB, free: 6.07 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002901/0.3056, allocations: 175.4 kB / 1.022 GB, free: 5.883 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.316e-05/0.3056, allocations: 85.02 kB / 1.022 GB, free: 5.781 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.726e-05/0.3056, allocations: 3.984 kB / 1.022 GB, free: 5.777 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.703e-05/0.3057, allocations: 4 kB / 1.022 GB, free: 5.773 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.341e-05/0.3058, allocations: 11.98 kB / 1.022 GB, free: 5.762 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-06/0.3058, allocations: 0 / 1.022 GB, free: 5.762 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.069e-05/0.3059, allocations: 83.28 kB / 1.022 GB, free: 5.68 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.3e-07/0.3059, allocations: 8 kB / 1.022 GB, free: 5.672 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002615/0.3061, allocations: 19.98 kB / 1.022 GB, free: 5.652 MB / 0.795 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.000207/0.3063, allocations: 111.8 kB / 1.022 GB, free: 5.531 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002584/0.3066, allocations: 51.83 kB / 1.022 GB, free: 5.48 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3066, allocations: 0 / 1.022 GB, free: 5.48 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001045/0.3067, allocations: 23.98 kB / 1.022 GB, free: 5.457 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002891/0.307, allocations: 11.94 kB / 1.022 GB, free: 5.445 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003648/0.3074, allocations: 155.4 kB / 1.023 GB, free: 5.262 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000309/0.3077, allocations: 0.6807 MB / 1.023 GB, free: 4.555 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.635e-05/0.3078, allocations: 7.438 kB / 1.023 GB, free: 4.547 MB / 0.795 GB Notification: Performance of SimCode: time 2.3e-07/0.3078, allocations: 3.938 kB / 1.023 GB, free: 4.543 MB / 0.795 GB Notification: Performance of Templates: time 0.002853/0.3106, allocations: 0.9885 MB / 1.024 GB, free: 3.559 MB / 0.795 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=400 -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.Binomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches