Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings.Utilities.Math.Examples.Binomial") translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bin.y",fileNamePrefix="Buildings_9_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.001163/0.001163, allocations: 115.5 kB / 16.42 MB, free: 5.988 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.001289/0.001289, allocations: 184.5 kB / 17.35 MB, free: 5.602 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.443/1.443, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.253/2.253, allocations: 390.3 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 63.91 kB / 0.9515 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9974/0.9989, allocations: 140.4 MB / 1.089 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.003631/1.003, allocations: 1.529 MB / 1.09 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0005233/1.003, allocations: 180.2 kB / 1.09 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.952e-05/1.003, allocations: 1.219 kB / 1.09 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.595e-05/1.003, allocations: 4.781 kB / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.461e-05/1.003, allocations: 0 / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003615/1.004, allocations: 59.22 kB / 1.09 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.883e-05/1.004, allocations: 40.27 kB / 1.09 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/1.004, allocations: 11.75 kB / 1.09 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.025e-05/1.004, allocations: 20.06 kB / 1.09 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.151e-05/1.004, allocations: 18.2 kB / 1.09 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.932e-05/1.004, allocations: 3.406 kB / 1.09 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001524/1.004, allocations: 48.92 kB / 1.09 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.027e-05/1.004, allocations: 11.47 kB / 1.09 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.287e-05/1.004, allocations: 16.53 kB / 1.091 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001894/1.004, allocations: 65.78 kB / 1.091 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/1.004, allocations: 1.125 kB / 1.091 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.513e-06/1.004, allocations: 0 / 1.091 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.129e-06/1.004, allocations: 0 / 1.091 GB, free: 4.223 MB / 0.8575 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.0004915/1.005, allocations: 353.8 kB / 1.091 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/1.005, allocations: 9.156 kB / 1.091 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.677e-05/1.005, allocations: 2.812 kB / 1.091 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/1.005, allocations: 176.2 kB / 1.091 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.105e-05/1.005, allocations: 5.438 kB / 1.091 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.59e-05/1.005, allocations: 2.438 kB / 1.091 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002102/1.005, allocations: 66.19 kB / 1.091 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/1.005, allocations: 1.25 kB / 1.091 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/1.005, allocations: 3.938 kB / 1.091 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/1.006, allocations: 1.094 kB / 1.091 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002069/1.006, allocations: 44.41 kB / 1.091 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000381/1.006, allocations: 282.8 kB / 1.091 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003395/1.006, allocations: 61.44 kB / 1.092 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/1.007, allocations: 33.56 kB / 1.092 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002018/1.007, allocations: 169.8 kB / 1.092 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.974e-05/1.007, allocations: 36.33 kB / 1.092 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/1.007, allocations: 0 / 1.092 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0004042/1.007, allocations: 101.6 kB / 1.092 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.78e-05/1.007, allocations: 51.41 kB / 1.092 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.534e-05/1.007, allocations: 108.3 kB / 1.092 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.307e-06/1.007, allocations: 29.7 kB / 1.092 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.422e-05/1.007, allocations: 87.03 kB / 1.092 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.525e-05/1.007, allocations: 5.547 kB / 1.092 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.499e-05/1.007, allocations: 18.55 kB / 1.092 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.99e-05/1.008, allocations: 314.6 kB / 1.092 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.72e-05/1.008, allocations: 19.73 kB / 1.092 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.749e-05/1.008, allocations: 20.64 kB / 1.092 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001747/1.008, allocations: 54.28 kB / 1.093 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/1.008, allocations: 0 / 1.093 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002197/1.008, allocations: 73.36 kB / 1.093 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/1.008, allocations: 6.016 kB / 1.093 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/1.008, allocations: 1.188 kB / 1.093 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/1.008, allocations: 0 / 1.093 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.316e-05/1.008, allocations: 11.36 kB / 1.093 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/1.008, allocations: 5.031 kB / 1.093 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.224e-05/1.008, allocations: 18.12 kB / 1.093 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/1.008, allocations: 1.797 kB / 1.093 GB, free: 2.258 MB / 0.8575 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 6.065e-05/1.008, allocations: 112.5 kB / 1.093 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.569e-05/1.008, allocations: 2.281 kB / 1.093 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002744/1.009, allocations: 83.62 kB / 1.093 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/1.009, allocations: 5.422 kB / 1.093 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/1.009, allocations: 4.688 kB / 1.093 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.13e-05/1.009, allocations: 78.53 kB / 1.093 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/1.009, allocations: 1.438 kB / 1.093 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.797e-05/1.009, allocations: 5.594 kB / 1.093 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.71e-05/1.009, allocations: 17.67 kB / 1.093 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003011/1.009, allocations: 155 kB / 1.093 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002638/1.01, allocations: 258.3 kB / 1.093 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001147/1.01, allocations: 28.02 kB / 1.093 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.473e-05/1.01, allocations: 87.44 kB / 1.093 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of Backend: time 8.51e-07/1.01, allocations: 0 / 1.093 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005268/1.01, allocations: 121 kB / 1.094 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0003951/1.011, allocations: 0.568 MB / 1.094 GB, free: 0.8867 MB / 0.8575 GB Notification: Performance of Templates: time 0.004093/1.015, allocations: 1.083 MB / 1.095 GB, free: 0.7773 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.Binomial.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.Binomial.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_Binomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.Binomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches