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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.005456/0.005456, allocations: 101.4 kB / 15.88 MB, free: 5.863 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.001234/0.001234, allocations: 191.3 kB / 16.79 MB, free: 5.805 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.428/1.428, allocations: 222.9 MB / 240.5 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.495/2.495, allocations: 390.2 MB / 0.6649 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 63.91 kB / 0.8125 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6184/0.6199, allocations: 140.4 MB / 0.9496 GB, free: 9.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.002788/0.6227, allocations: 1.606 MB / 0.9511 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000457/0.6232, allocations: 176.4 kB / 0.9513 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.878e-05/0.6232, allocations: 1.375 kB / 0.9513 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.152e-05/0.6233, allocations: 0 / 0.9513 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.349e-05/0.6233, allocations: 5.312 kB / 0.9513 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002726/0.6236, allocations: 41.56 kB / 0.9514 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.728e-05/0.6237, allocations: 29.67 kB / 0.9514 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.456e-05/0.6238, allocations: 14.88 kB / 0.9514 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.774e-05/0.6238, allocations: 17.42 kB / 0.9514 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.466e-05/0.6239, allocations: 20.03 kB / 0.9514 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.498e-05/0.6239, allocations: 2.75 kB / 0.9514 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001064/0.624, allocations: 41.81 kB / 0.9515 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.412e-05/0.624, allocations: 4.891 kB / 0.9515 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.067e-05/0.624, allocations: 23.2 kB / 0.9515 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.945e-05/0.6242, allocations: 37.06 kB / 0.9515 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.6242, allocations: 7.938 kB / 0.9515 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.12e-07/0.6242, allocations: 0 / 0.9515 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.6242, allocations: 0 / 0.9515 GB, free: 7.531 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.0004157/0.6246, allocations: 358.1 kB / 0.9519 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.6247, allocations: 12.98 kB / 0.9519 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.508e-05/0.6247, allocations: 7.094 kB / 0.9519 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.966e-05/0.6248, allocations: 166.6 kB / 0.9521 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/0.6248, allocations: 1.25 kB / 0.9521 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.391e-05/0.6248, allocations: 3.344 kB / 0.9521 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001883/0.625, allocations: 74.89 kB / 0.9521 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.625, allocations: 192 / 0.9521 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.6251, allocations: 7.938 kB / 0.9521 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.6251, allocations: 1.406 kB / 0.9521 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001936/0.6253, allocations: 43.73 kB / 0.9522 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003362/0.6256, allocations: 282.8 kB / 0.9525 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003253/0.6259, allocations: 58.77 kB / 0.9525 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.521e-05/0.626, allocations: 24.38 kB / 0.9525 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001811/0.6262, allocations: 173 kB / 0.9527 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.441e-05/0.6263, allocations: 39.84 kB / 0.9527 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.6263, allocations: 0 / 0.9527 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.000369/0.6266, allocations: 87.08 kB / 0.9528 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.931e-05/0.6267, allocations: 52.75 kB / 0.9529 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.286e-05/0.6267, allocations: 110.5 kB / 0.953 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.077e-06/0.6267, allocations: 26.73 kB / 0.953 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.128e-05/0.6268, allocations: 93.16 kB / 0.9531 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.289e-05/0.6268, allocations: 9.062 kB / 0.9531 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.06e-05/0.6268, allocations: 13.62 kB / 0.9531 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.865e-05/0.6269, allocations: 323.8 kB / 0.9534 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.851e-05/0.627, allocations: 19.45 kB / 0.9534 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.845e-05/0.6271, allocations: 14.05 kB / 0.9535 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001561/0.6272, allocations: 55.47 kB / 0.9535 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.6272, allocations: 4 kB / 0.9535 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001907/0.6274, allocations: 73.75 kB / 0.9536 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.6275, allocations: 5.719 kB / 0.9536 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.6275, allocations: 3.984 kB / 0.9536 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.333e-05/0.6275, allocations: 1.25 kB / 0.9536 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.848e-05/0.6276, allocations: 7.469 kB / 0.9536 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.6276, allocations: 3.984 kB / 0.9536 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.466e-05/0.6277, allocations: 12.53 kB / 0.9536 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.6277, allocations: 2.219 kB / 0.9536 GB, free: 5.426 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.229e-05/0.6277, allocations: 119.7 kB / 0.9537 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.664e-05/0.6278, allocations: 9.891 kB / 0.9537 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002311/0.628, allocations: 82.55 kB / 0.9538 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.628, allocations: 5.219 kB / 0.9538 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.628, allocations: 4 kB / 0.9538 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.628, allocations: 0 / 0.9538 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001187/0.6281, allocations: 173.6 kB / 0.954 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.6281, allocations: 0 / 0.954 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.416e-05/0.6282, allocations: 12.42 kB / 0.954 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.6282, allocations: 0 / 0.954 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-06/0.6282, allocations: 1.25 kB / 0.954 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.6283, allocations: 0 / 0.954 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.6283, allocations: 0 / 0.954 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002182/0.6285, allocations: 184.9 kB / 0.9542 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.84e-05/0.6285, allocations: 86.33 kB / 0.9543 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.342e-05/0.6285, allocations: 0 / 0.9543 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.329e-05/0.6286, allocations: 7.328 kB / 0.9543 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.616e-05/0.6287, allocations: 2.938 kB / 0.9543 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-06/0.6287, allocations: 1.125 kB / 0.9543 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.721e-05/0.6287, allocations: 89.92 kB / 0.9544 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2e-07/0.6287, allocations: 4 kB / 0.9544 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002421/0.629, allocations: 18.44 kB / 0.9544 GB, free: 4.641 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.0001526/0.6291, allocations: 113.9 kB / 0.9545 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002199/0.6293, allocations: 45.8 kB / 0.9545 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.6294, allocations: 0 / 0.9545 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.366e-05/0.6295, allocations: 26.31 kB / 0.9546 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002809/0.6297, allocations: 15.31 kB / 0.9546 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002768/0.63, allocations: 149.9 kB / 0.9547 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.723e-05/0.6301, allocations: 0.6798 MB / 0.9554 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.081e-05/0.6302, allocations: 13.52 kB / 0.9554 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of SimCode: time 2.51e-07/0.6302, allocations: 1.125 kB / 0.9554 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of Templates: time 0.002333/0.6325, allocations: 0.9778 MB / 0.9564 GB, free: 3.145 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