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.001443/0.001443, allocations: 106.1 kB / 16.36 MB, free: 5.824 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.001694/0.001694, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.37/1.37, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.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.184/2.184, allocations: 390.3 MB / 0.6655 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 67.31 kB / 0.814 GB, free: 32.7 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2666/0.2679, allocations: 140.4 MB / 0.9511 GB, free: 8.074 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.002891/0.2708, allocations: 1.54 MB / 0.9526 GB, free: 6.527 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0004818/0.2714, allocations: 172.3 kB / 0.9528 GB, free: 6.355 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.089e-05/0.2714, allocations: 7.875 kB / 0.9528 GB, free: 6.348 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.845e-05/0.2714, allocations: 0 / 0.9528 GB, free: 6.348 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.37e-05/0.2715, allocations: 7.938 kB / 0.9528 GB, free: 6.34 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003374/0.2719, allocations: 51.88 kB / 0.9528 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.561e-05/0.272, allocations: 39.91 kB / 0.9529 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.472e-05/0.2721, allocations: 12 kB / 0.9529 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.214e-05/0.2721, allocations: 19.91 kB / 0.9529 GB, free: 6.219 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.265e-05/0.2722, allocations: 15.92 kB / 0.9529 GB, free: 6.203 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/0.2722, allocations: 4 kB / 0.9529 GB, free: 6.199 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001118/0.2723, allocations: 47.95 kB / 0.953 GB, free: 6.152 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.581e-05/0.2723, allocations: 7.984 kB / 0.953 GB, free: 6.145 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.137e-05/0.2724, allocations: 23.88 kB / 0.953 GB, free: 6.121 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001659/0.2725, allocations: 67.78 kB / 0.9531 GB, free: 6.055 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.2725, allocations: 0 / 0.9531 GB, free: 6.055 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.283e-06/0.2725, allocations: 0 / 0.9531 GB, free: 6.055 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.2726, allocations: 0 / 0.9531 GB, free: 6.055 MB / 0.7325 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.0004635/0.273, allocations: 359.4 kB / 0.9534 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.2731, allocations: 8.031 kB / 0.9534 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.51e-05/0.2731, allocations: 8.844 kB / 0.9534 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/0.2732, allocations: 164.4 kB / 0.9536 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/0.2733, allocations: 4.375 kB / 0.9536 GB, free: 5.434 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.405e-05/0.2733, allocations: 384 / 0.9536 GB, free: 5.434 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001968/0.2735, allocations: 66.22 kB / 0.9536 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-06/0.2735, allocations: 192 / 0.9536 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.2735, allocations: 3.938 kB / 0.9536 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.2735, allocations: 3.938 kB / 0.9537 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001865/0.2737, allocations: 47.89 kB / 0.9537 GB, free: 5.309 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003773/0.2741, allocations: 292.7 kB / 0.954 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003009/0.2744, allocations: 58.55 kB / 0.954 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.497e-05/0.2745, allocations: 32.83 kB / 0.9541 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002086/0.2747, allocations: 162.2 kB / 0.9542 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.017e-05/0.2748, allocations: 38.56 kB / 0.9543 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.203e-06/0.2748, allocations: 4 kB / 0.9543 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0003574/0.2751, allocations: 97.69 kB / 0.9544 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.79e-05/0.2752, allocations: 51.41 kB / 0.9544 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.872e-05/0.2753, allocations: 117.7 kB / 0.9545 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.2753, allocations: 33.7 kB / 0.9545 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.525e-05/0.2753, allocations: 80.14 kB / 0.9546 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.524e-05/0.2753, allocations: 7.906 kB / 0.9546 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.644e-05/0.2754, allocations: 17.7 kB / 0.9546 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.2755, allocations: 322.7 kB / 0.955 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.516e-05/0.2756, allocations: 15.98 kB / 0.955 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.63e-05/0.2757, allocations: 23.97 kB / 0.955 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001576/0.2758, allocations: 48.81 kB / 0.955 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2759, allocations: 0 / 0.955 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002012/0.2761, allocations: 73.66 kB / 0.9551 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.2761, allocations: 9.719 kB / 0.9551 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.2761, allocations: 0 / 0.9551 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.2761, allocations: 0 / 0.9551 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.299e-05/0.2762, allocations: 15.98 kB / 0.9551 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.2762, allocations: 7.938 kB / 0.9551 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.747e-05/0.2763, allocations: 7.984 kB / 0.9551 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.603e-06/0.2763, allocations: 0 / 0.9551 GB, free: 3.652 MB / 0.7325 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 8.39e-05/0.2764, allocations: 117.8 kB / 0.9553 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.649e-05/0.2764, allocations: 3.906 kB / 0.9553 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002464/0.2767, allocations: 81.55 kB / 0.9553 GB, free: 3.434 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.2767, allocations: 4 kB / 0.9553 GB, free: 3.43 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.2767, allocations: 0 / 0.9553 GB, free: 3.43 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.2767, allocations: 0 / 0.9553 GB, free: 3.43 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001626/0.2769, allocations: 173.5 kB / 0.9555 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2769, allocations: 0 / 0.9555 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.46e-05/0.277, allocations: 11.98 kB / 0.9555 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.277, allocations: 0 / 0.9555 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.277, allocations: 0 / 0.9555 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.646e-06/0.277, allocations: 11.92 kB / 0.9555 GB, free: 3.188 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.277, allocations: 0 / 0.9555 GB, free: 3.188 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002427/0.2772, allocations: 171.5 kB / 0.9557 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.67e-05/0.2773, allocations: 81.02 kB / 0.9558 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/0.2773, allocations: 0 / 0.9558 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.993e-05/0.2774, allocations: 11.98 kB / 0.9558 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.47e-05/0.2774, allocations: 7.984 kB / 0.9558 GB, free: 2.887 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/0.2775, allocations: 0 / 0.9558 GB, free: 2.887 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.782e-05/0.2775, allocations: 91.28 kB / 0.9559 GB, free: 2.797 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2775, allocations: 0 / 0.9559 GB, free: 2.797 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002466/0.2778, allocations: 15.98 kB / 0.9559 GB, free: 2.781 MB / 0.7325 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.0001804/0.2779, allocations: 119.3 kB / 0.956 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002231/0.2782, allocations: 48.16 kB / 0.9561 GB, free: 2.609 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.2782, allocations: 4 kB / 0.9561 GB, free: 2.605 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.435e-05/0.2783, allocations: 28.06 kB / 0.9561 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002517/0.2785, allocations: 19.86 kB / 0.9561 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002707/0.2788, allocations: 113.6 kB / 0.9562 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002116/0.279, allocations: 0.6844 MB / 0.9569 GB, free: 1.711 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.717e-05/0.2791, allocations: 0 / 0.9569 GB, free: 1.711 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.891e-05/0.2791, allocations: 19.44 kB / 0.9569 GB, free: 1.691 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.2791, allocations: 0 / 0.9569 GB, free: 1.691 MB / 0.7325 GB Notification: Performance of Templates: time 0.003154/0.2823, allocations: 0.9742 MB / 0.9579 GB, free: 0.7266 MB / 0.7325 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 -s gbode -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