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.000977/0.0009768, allocations: 91.12 kB / 15.06 MB, free: 1.078 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.00142/0.00142, allocations: 172.7 kB / 15.95 MB, free: 192 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 223.3 MB / 240 MB, free: 5.422 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.501/2.501, allocations: 390.9 MB / 0.666 GB, free: 2.496 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003757/0.0003757, allocations: 12 kB / 0.8153 GB, free: 13.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7755/0.7759, allocations: 142.4 MB / 0.9544 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.002257/0.7783, allocations: 1.24 MB / 0.9556 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005589/0.7788, allocations: 171 kB / 0.9558 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.787e-05/0.7789, allocations: 0 / 0.9558 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.15e-05/0.7789, allocations: 0 / 0.9558 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.953e-05/0.779, allocations: 5.219 kB / 0.9558 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003572/0.7794, allocations: 42.06 kB / 0.9559 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.283e-05/0.7794, allocations: 31.92 kB / 0.9559 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.379e-05/0.7795, allocations: 8.844 kB / 0.9559 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.706e-05/0.7796, allocations: 16.77 kB / 0.9559 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.313e-05/0.7796, allocations: 21.53 kB / 0.9559 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.385e-05/0.7797, allocations: 1.031 kB / 0.9559 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001051/0.7798, allocations: 36.75 kB / 0.956 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.068e-05/0.7798, allocations: 0.8438 kB / 0.956 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.471e-05/0.7798, allocations: 39.78 kB / 0.956 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001065/0.7799, allocations: 40.92 kB / 0.956 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.309e-06/0.7799, allocations: 0 / 0.956 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.323e-06/0.7799, allocations: 0 / 0.956 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.057e-06/0.7799, allocations: 0 / 0.956 GB, free: 6.457 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.0003904/0.7803, allocations: 354.9 kB / 0.9564 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.7804, allocations: 9.688 kB / 0.9564 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.132e-05/0.7804, allocations: 10.02 kB / 0.9564 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.884e-05/0.7805, allocations: 168.8 kB / 0.9566 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/0.7805, allocations: 1.094 kB / 0.9566 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.378e-05/0.7806, allocations: 6.344 kB / 0.9566 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001876/0.7808, allocations: 72.06 kB / 0.9566 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.7808, allocations: 0 / 0.9566 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.7808, allocations: 5.344 kB / 0.9566 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.7808, allocations: 3.938 kB / 0.9566 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001693/0.781, allocations: 62.25 kB / 0.9567 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000327/0.7813, allocations: 278.1 kB / 0.957 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000307/0.7816, allocations: 69.06 kB / 0.957 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.768e-05/0.7817, allocations: 33.53 kB / 0.9571 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002375/0.782, allocations: 166.3 kB / 0.9572 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.782, allocations: 34.52 kB / 0.9573 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.273e-06/0.782, allocations: 3.938 kB / 0.9573 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0004429/0.7825, allocations: 114 kB / 0.9574 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.583e-05/0.7825, allocations: 51.41 kB / 0.9574 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.524e-05/0.7826, allocations: 107.3 kB / 0.9575 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.7826, allocations: 31.02 kB / 0.9576 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.666e-05/0.7827, allocations: 85.27 kB / 0.9576 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.923e-05/0.7827, allocations: 8.906 kB / 0.9576 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-06/0.7827, allocations: 0 / 0.9576 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.494e-05/0.7828, allocations: 321.1 kB / 0.9579 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.036e-05/0.7829, allocations: 18.92 kB / 0.958 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.088e-05/0.783, allocations: 32 kB / 0.958 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.791e-05/0.7831, allocations: 23.36 kB / 0.958 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.7831, allocations: 0 / 0.958 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002068/0.7833, allocations: 95.72 kB / 0.9581 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.7833, allocations: 3.969 kB / 0.9581 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.7834, allocations: 5.688 kB / 0.9581 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.7834, allocations: 0 / 0.9581 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.783e-05/0.7835, allocations: 13.27 kB / 0.9581 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.7835, allocations: 1.25 kB / 0.9581 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.294e-05/0.7836, allocations: 18.11 kB / 0.9581 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.7836, allocations: 1.25 kB / 0.9582 GB, free: 4.379 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 (rea2Int.y,bin.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.292e-05/0.7837, allocations: 120.5 kB / 0.9583 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.468e-05/0.7837, allocations: 2.219 kB / 0.9583 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000242/0.7839, allocations: 93.11 kB / 0.9584 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.784, allocations: 9.094 kB / 0.9584 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.784, allocations: 0 / 0.9584 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.784, allocations: 3.938 kB / 0.9584 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001273/0.7841, allocations: 166.2 kB / 0.9585 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.7841, allocations: 0 / 0.9585 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.781e-05/0.7842, allocations: 13.98 kB / 0.9585 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.7842, allocations: 0 / 0.9585 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.7842, allocations: 1.375 kB / 0.9585 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.7842, allocations: 4 kB / 0.9585 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.7842, allocations: 5.391 kB / 0.9586 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002095/0.7844, allocations: 184.2 kB / 0.9587 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.258e-05/0.7845, allocations: 79.17 kB / 0.9588 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/0.7845, allocations: 8 kB / 0.9588 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.239e-05/0.7846, allocations: 11.2 kB / 0.9588 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.192e-05/0.7846, allocations: 5.641 kB / 0.9588 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.7846, allocations: 1.656 kB / 0.9588 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.959e-05/0.7847, allocations: 89.2 kB / 0.9589 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7847, allocations: 0 / 0.9589 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002584/0.7849, allocations: 18.69 kB / 0.9589 GB, free: 3.605 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001765/0.7851, allocations: 126.1 kB / 0.9591 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002191/0.7853, allocations: 54.7 kB / 0.9591 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.7854, allocations: 0 / 0.9591 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.152e-05/0.7855, allocations: 35.59 kB / 0.9591 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002783/0.7857, allocations: 10.03 kB / 0.9591 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003236/0.7861, allocations: 129.7 kB / 0.9593 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000133/0.7862, allocations: 0.6785 MB / 0.9599 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.359e-05/0.7863, allocations: 7.75 kB / 0.9599 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.574e-05/0.7863, allocations: 13.27 kB / 0.96 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.7863, allocations: 1.75 kB / 0.96 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of Templates: time 0.003209/0.7895, allocations: 0.8438 MB / 0.9608 GB, free: 2.18 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.Binomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches