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.001378/0.001378, allocations: 109.2 kB / 15.99 MB, free: 5.891 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.001403/0.001403, allocations: 194.9 kB / 16.91 MB, free: 5.746 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.437/1.437, allocations: 222.9 MB / 240.6 MB, free: 4.512 MB / 190.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.522/2.522, allocations: 390.2 MB / 0.665 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001539/0.001539, allocations: 67.89 kB / 0.8127 GB, free: 14.75 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6653/0.6669, allocations: 140.4 MB / 0.9498 GB, free: 9.211 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.002395/0.6694, allocations: 1.578 MB / 0.9513 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000387/0.6698, allocations: 182.8 kB / 0.9515 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.268e-05/0.6698, allocations: 0 / 0.9515 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.12e-05/0.6698, allocations: 7.984 kB / 0.9515 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.329e-05/0.6699, allocations: 9.219 kB / 0.9515 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002829/0.6702, allocations: 42.45 kB / 0.9515 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.88e-05/0.6703, allocations: 35.27 kB / 0.9516 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.541e-05/0.6703, allocations: 10.81 kB / 0.9516 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.627e-05/0.6704, allocations: 16.39 kB / 0.9516 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.794e-05/0.6704, allocations: 22.34 kB / 0.9516 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.408e-05/0.6704, allocations: 6.531 kB / 0.9516 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.945e-05/0.6705, allocations: 42.78 kB / 0.9517 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.292e-05/0.6706, allocations: 9.141 kB / 0.9517 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.064e-05/0.6706, allocations: 11.78 kB / 0.9517 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.247e-05/0.6707, allocations: 48.61 kB / 0.9517 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.6707, allocations: 1.25 kB / 0.9517 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.302e-06/0.6707, allocations: 0 / 0.9517 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.6707, allocations: 0 / 0.9517 GB, free: 7.664 MB / 0.7169 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.0004194/0.6711, allocations: 356.7 kB / 0.9521 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.6712, allocations: 18.12 kB / 0.9521 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.246e-05/0.6712, allocations: 6.219 kB / 0.9521 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.385e-05/0.6713, allocations: 171.1 kB / 0.9523 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.89e-05/0.6713, allocations: 1.75 kB / 0.9523 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/0.6713, allocations: 2.719 kB / 0.9523 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001755/0.6715, allocations: 62.56 kB / 0.9523 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.6715, allocations: 1.469 kB / 0.9523 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.6715, allocations: 3.938 kB / 0.9523 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.6715, allocations: 1.219 kB / 0.9523 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001781/0.6717, allocations: 52 kB / 0.9524 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002922/0.672, allocations: 282.5 kB / 0.9527 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003068/0.6723, allocations: 55.23 kB / 0.9527 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.369e-05/0.6724, allocations: 36.08 kB / 0.9527 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001722/0.6726, allocations: 165.5 kB / 0.9529 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.17e-05/0.6726, allocations: 30.56 kB / 0.9529 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.6727, allocations: 1.281 kB / 0.9529 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.000367/0.673, allocations: 98.22 kB / 0.953 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.856e-05/0.6731, allocations: 61.12 kB / 0.9531 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.291e-05/0.6731, allocations: 111 kB / 0.9532 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.235e-06/0.6731, allocations: 29.7 kB / 0.9532 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.637e-05/0.6732, allocations: 85.33 kB / 0.9533 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.29e-05/0.6732, allocations: 9.25 kB / 0.9533 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.095e-05/0.6732, allocations: 13.62 kB / 0.9533 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.198e-05/0.6733, allocations: 324 kB / 0.9536 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.118e-05/0.6734, allocations: 19.02 kB / 0.9536 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.797e-05/0.6734, allocations: 22.25 kB / 0.9537 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000166/0.6736, allocations: 47.98 kB / 0.9537 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.6736, allocations: 0 / 0.9537 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002032/0.6738, allocations: 80.25 kB / 0.9538 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.6738, allocations: 4.781 kB / 0.9538 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.6739, allocations: 5.656 kB / 0.9538 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.6739, allocations: 0 / 0.9538 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.944e-05/0.674, allocations: 11.23 kB / 0.9538 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.674, allocations: 1.812 kB / 0.9538 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.791e-05/0.674, allocations: 6.688 kB / 0.9538 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-06/0.674, allocations: 5.016 kB / 0.9538 GB, free: 5.547 MB / 0.7169 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 5.278e-05/0.6741, allocations: 111.9 kB / 0.9539 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.648e-05/0.6741, allocations: 10.38 kB / 0.9539 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002484/0.6744, allocations: 87.17 kB / 0.954 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.6744, allocations: 1.062 kB / 0.954 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.6744, allocations: 0 / 0.954 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.6744, allocations: 0.875 kB / 0.954 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001197/0.6745, allocations: 173.4 kB / 0.9542 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.6745, allocations: 0 / 0.9542 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.589e-05/0.6746, allocations: 12.17 kB / 0.9542 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.6746, allocations: 0 / 0.9542 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.106e-06/0.6746, allocations: 5.25 kB / 0.9542 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.6747, allocations: 0 / 0.9542 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.6747, allocations: 0 / 0.9542 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002297/0.6749, allocations: 176.2 kB / 0.9544 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.042e-05/0.6749, allocations: 82.3 kB / 0.9545 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.472e-05/0.675, allocations: 5.125 kB / 0.9545 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.929e-05/0.675, allocations: 15.8 kB / 0.9545 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.734e-05/0.6751, allocations: 10.52 kB / 0.9545 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.179e-06/0.6751, allocations: 1.219 kB / 0.9545 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.987e-05/0.6751, allocations: 85.41 kB / 0.9546 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6752, allocations: 0 / 0.9546 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002575/0.6754, allocations: 13.47 kB / 0.9546 GB, free: 4.773 MB / 0.7169 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.0001601/0.6756, allocations: 122.9 kB / 0.9547 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002273/0.6758, allocations: 45.92 kB / 0.9547 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.6758, allocations: 0 / 0.9547 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.687e-05/0.6759, allocations: 31.06 kB / 0.9548 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002755/0.6762, allocations: 12.66 kB / 0.9548 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002741/0.6765, allocations: 148.3 kB / 0.9549 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001157/0.6766, allocations: 0.6873 MB / 0.9556 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.082e-05/0.6767, allocations: 14.53 kB / 0.9556 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.6767, allocations: 0 / 0.9556 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of Templates: time 0.00342/0.6801, allocations: 0.9705 MB / 0.9566 GB, free: 3.27 MB / 0.7169 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