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.0009838/0.0009838, allocations: 103.5 kB / 16.35 MB, free: 5.875 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.0009894/0.0009893, allocations: 195.7 kB / 17.3 MB, free: 5.516 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.197/1.197, allocations: 222.9 MB / 241 MB, free: 14.98 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 1.984/1.984, allocations: 390.3 MB / 0.6655 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 63.02 kB / 0.814 GB, free: 32.58 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.229/0.2302, allocations: 140.4 MB / 0.9511 GB, free: 8.082 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.002277/0.2325, allocations: 1.544 MB / 0.9526 GB, free: 6.531 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0003518/0.2329, allocations: 180.3 kB / 0.9528 GB, free: 6.352 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.168e-05/0.2329, allocations: 0 / 0.9528 GB, free: 6.352 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.817e-05/0.233, allocations: 7.922 kB / 0.9528 GB, free: 6.344 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 2.387e-05/0.233, allocations: 7.938 kB / 0.9528 GB, free: 6.336 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001972/0.2332, allocations: 51.83 kB / 0.9529 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 4.902e-05/0.2333, allocations: 39.91 kB / 0.9529 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.396e-05/0.2333, allocations: 11.98 kB / 0.9529 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 1.969e-05/0.2333, allocations: 15.94 kB / 0.9529 GB, free: 6.219 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 2.951e-05/0.2334, allocations: 15.92 kB / 0.9529 GB, free: 6.203 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.437e-06/0.2334, allocations: 4 kB / 0.9529 GB, free: 6.199 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.986e-05/0.2335, allocations: 51.94 kB / 0.953 GB, free: 6.148 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.035e-05/0.2335, allocations: 8 kB / 0.953 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.206e-05/0.2335, allocations: 19.86 kB / 0.953 GB, free: 6.121 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.608e-05/0.2336, allocations: 63.84 kB / 0.9531 GB, free: 6.059 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.2337, allocations: 4 kB / 0.9531 GB, free: 6.055 MB / 0.7325 GB Notification: Performance of FrontEnd: time 8.22e-07/0.2337, allocations: 0 / 0.9531 GB, free: 6.055 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.2337, 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.0003348/0.234, allocations: 351.4 kB / 0.9534 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 2.105e-05/0.234, allocations: 8.031 kB / 0.9534 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.176e-05/0.2341, allocations: 8.844 kB / 0.9534 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.763e-05/0.2342, allocations: 176.3 kB / 0.9536 GB, free: 5.434 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.2342, allocations: 4.375 kB / 0.9536 GB, free: 5.43 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.844e-06/0.2342, allocations: 4.375 kB / 0.9536 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/0.2343, allocations: 62.22 kB / 0.9537 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.34e-06/0.2343, allocations: 192 / 0.9537 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.795e-06/0.2344, allocations: 7.875 kB / 0.9537 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.154e-06/0.2344, allocations: 4 kB / 0.9537 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001656/0.2345, allocations: 47.95 kB / 0.9537 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002735/0.2348, allocations: 280.6 kB / 0.954 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002687/0.2351, allocations: 62.53 kB / 0.954 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.294e-05/0.2352, allocations: 24.91 kB / 0.9541 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001811/0.2354, allocations: 170.2 kB / 0.9542 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.859e-05/0.2354, allocations: 38.53 kB / 0.9543 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.2354, allocations: 0 / 0.9543 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0002998/0.2357, allocations: 93.58 kB / 0.9544 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.43e-05/0.2358, allocations: 55.41 kB / 0.9544 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.748e-05/0.2358, allocations: 109.8 kB / 0.9545 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.05e-05/0.2358, allocations: 29.7 kB / 0.9545 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.168e-05/0.2359, allocations: 92.12 kB / 0.9546 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.187e-06/0.2359, allocations: 3.906 kB / 0.9546 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.873e-05/0.2359, allocations: 17.72 kB / 0.9547 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.973e-05/0.236, allocations: 314.8 kB / 0.955 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.431e-05/0.2361, allocations: 23.97 kB / 0.955 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.188e-05/0.2362, allocations: 19.98 kB / 0.955 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001536/0.2364, allocations: 48.75 kB / 0.955 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.2364, allocations: 4 kB / 0.955 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001926/0.2366, allocations: 77.59 kB / 0.9551 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.777e-06/0.2366, allocations: 4 kB / 0.9551 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.395e-06/0.2366, allocations: 0 / 0.9551 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.861e-06/0.2366, allocations: 0 / 0.9551 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.119e-05/0.2367, allocations: 15.98 kB / 0.9551 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.555e-06/0.2367, allocations: 0 / 0.9551 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.109e-05/0.2367, allocations: 7.984 kB / 0.9551 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.104e-06/0.2368, allocations: 8 kB / 0.9552 GB, free: 3.66 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 7.518e-05/0.2368, allocations: 109.8 kB / 0.9553 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.648e-05/0.2369, allocations: 7.906 kB / 0.9553 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002308/0.2371, allocations: 89.48 kB / 0.9554 GB, free: 3.438 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.2371, allocations: 4 kB / 0.9554 GB, free: 3.434 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.2371, allocations: 3.984 kB / 0.9554 GB, free: 3.43 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.2371, allocations: 3.938 kB / 0.9554 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00015/0.2373, allocations: 169.7 kB / 0.9555 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2373, allocations: 0 / 0.9555 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.194e-05/0.2374, allocations: 11.98 kB / 0.9555 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.2374, allocations: 0 / 0.9555 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.2374, allocations: 4 kB / 0.9555 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.103e-06/0.2374, allocations: 0 / 0.9555 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2374, allocations: 0 / 0.9555 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002367/0.2376, allocations: 179.4 kB / 0.9557 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.303e-05/0.2377, allocations: 85.44 kB / 0.9558 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.221e-05/0.2377, allocations: 0 / 0.9558 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.08e-05/0.2378, allocations: 4 kB / 0.9558 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.086e-05/0.2378, allocations: 7.984 kB / 0.9558 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.2378, allocations: 8 kB / 0.9558 GB, free: 2.883 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.564e-05/0.2379, allocations: 87.58 kB / 0.9559 GB, free: 2.797 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2379, allocations: 0 / 0.9559 GB, free: 2.797 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002253/0.2381, allocations: 16 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.0001413/0.2383, allocations: 119.2 kB / 0.956 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001982/0.2385, allocations: 43.95 kB / 0.9561 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.2385, allocations: 0 / 0.9561 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.017e-05/0.2386, allocations: 35.91 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.0002304/0.2388, allocations: 7.875 kB / 0.9561 GB, free: 2.57 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002363/0.2391, allocations: 113.6 kB / 0.9562 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002134/0.2393, allocations: 0.6844 MB / 0.9569 GB, free: 1.723 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.634e-05/0.2393, allocations: 12 kB / 0.9569 GB, free: 1.711 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.465e-05/0.2394, allocations: 15.42 kB / 0.9569 GB, free: 1.695 MB / 0.7325 GB Notification: Performance of SimCode: time 2.71e-07/0.2394, allocations: 3.938 kB / 0.9569 GB, free: 1.691 MB / 0.7325 GB Notification: Performance of Templates: time 0.002802/0.2422, allocations: 0.9661 MB / 0.9579 GB, free: 0.7305 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 cvode -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