Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 92.22 kB / 19.65 MB, free: 280 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001447/0.001447, allocations: 169 kB / 23.02 MB, free: 1.555 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9716/0.9716, allocations: 177.1 MB / 203.4 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.167/2.167, allocations: 429.5 MB / 0.6733 GB, free: 4.059 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bin.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bin.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0.6562 kB / 0.8782 GB, free: 6.305 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.059e-05/3.264e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.301 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001873/0.001905, allocations: 0.6187 MB / 0.8788 GB, free: 5.703 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0003894/0.002295, allocations: 99.66 kB / 0.8789 GB, free: 5.605 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.481e-05/0.002319, allocations: 1.125 kB / 0.8789 GB, free: 5.605 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.588e-05/0.002365, allocations: 0 / 0.8789 GB, free: 5.605 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.125e-06/0.002373, allocations: 0.6562 kB / 0.8789 GB, free: 5.605 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004291/0.002803, allocations: 44.95 kB / 0.879 GB, free: 5.562 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001382/0.002941, allocations: 68.78 kB / 0.879 GB, free: 5.496 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.744e-05/0.002978, allocations: 0 / 0.879 GB, free: 5.496 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.71e-05/0.003035, allocations: 32.91 kB / 0.8791 GB, free: 5.465 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.636e-05/0.003082, allocations: 20.62 kB / 0.8791 GB, free: 5.445 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.249e-05/0.003104, allocations: 4 kB / 0.8791 GB, free: 5.441 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000156/0.00326, allocations: 48.53 kB / 0.8791 GB, free: 5.395 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.757e-05/0.003308, allocations: 25.97 kB / 0.8792 GB, free: 5.371 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.575e-05/0.003343, allocations: 21.39 kB / 0.8792 GB, free: 5.352 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001889/0.003532, allocations: 96.73 kB / 0.8793 GB, free: 5.258 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.003536, allocations: 0 / 0.8793 GB, free: 5.258 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.183e-06/0.003537, allocations: 0.8125 kB / 0.8793 GB, free: 5.258 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.003542, allocations: 0 / 0.8793 GB, free: 5.258 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005183/0.004061, allocations: 401.4 kB / 0.8796 GB, free: 4.828 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.004107, allocations: 8.031 kB / 0.8797 GB, free: 4.82 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.613e-05/0.004173, allocations: 18.03 kB / 0.8797 GB, free: 4.805 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.633e-05/0.00425, allocations: 108.6 kB / 0.8798 GB, free: 4.672 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003572/0.004607, allocations: 0.526 MB / 0.8803 GB, free: 4.023 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.26e-05/0.00463, allocations: 9.344 kB / 0.8803 GB, free: 4.016 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002479/0.004877, allocations: 90.83 kB / 0.8804 GB, free: 3.918 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.004886, allocations: 1.719 kB / 0.8804 GB, free: 3.918 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/0.004901, allocations: 4.375 kB / 0.8804 GB, free: 3.914 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.675e-05/0.004918, allocations: 8.125 kB / 0.8804 GB, free: 3.906 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001735/0.005091, allocations: 99.83 kB / 0.8805 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001676/0.005259, allocations: 133.5 kB / 0.8806 GB, free: 3.645 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001498/0.005409, allocations: 82.91 kB / 0.8807 GB, free: 3.551 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.915e-05/0.005468, allocations: 25.19 kB / 0.8807 GB, free: 3.523 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.983e-05/0.005498, allocations: 7.984 kB / 0.8807 GB, free: 3.516 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/0.005528, allocations: 36.86 kB / 0.8808 GB, free: 3.473 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=11): time 1.192e-06/0.005529, allocations: 0 / 0.8808 GB, free: 3.473 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11): time 0.000311/0.00584, allocations: 105.9 kB / 0.8809 GB, free: 3.363 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.005871, allocations: 51.41 kB / 0.8809 GB, free: 3.301 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.36e-05/0.005915, allocations: 150.2 kB / 0.8811 GB, free: 3.141 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.005927, allocations: 29.7 kB / 0.8811 GB, free: 3.105 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.596e-05/0.005953, allocations: 126.9 kB / 0.8812 GB, free: 2.977 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.586e-05/0.005999, allocations: 35.69 kB / 0.8812 GB, free: 2.941 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.949e-05/0.006039, allocations: 39.3 kB / 0.8813 GB, free: 2.895 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.006151, allocations: 0.489 MB / 0.8818 GB, free: 2.395 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.21e-05/0.006183, allocations: 15.98 kB / 0.8818 GB, free: 2.379 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.18e-05/0.006215, allocations: 19.98 kB / 0.8818 GB, free: 2.359 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.647e-05/0.006292, allocations: 47.61 kB / 0.8818 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.006293, allocations: 0 / 0.8818 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001086/0.006402, allocations: 85.62 kB / 0.8819 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.006416, allocations: 4 kB / 0.8819 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.006421, allocations: 0 / 0.8819 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.006438, allocations: 3.984 kB / 0.8819 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.00657, allocations: 27.92 kB / 0.882 GB, free: 2.184 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.006577, allocations: 3.938 kB / 0.882 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.089e-05/0.006608, allocations: 12 kB / 0.882 GB, free: 2.168 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.006621, allocations: 11.98 kB / 0.882 GB, free: 2.156 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 6.63e-05/0.006687, allocations: 152.6 kB / 0.8821 GB, free: 1.996 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.598e-05/0.006703, allocations: 11.95 kB / 0.8821 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.634e-05/0.00673, allocations: 7.969 kB / 0.8821 GB, free: 1.98 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.006734, allocations: 7.984 kB / 0.8822 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.686e-06/0.006737, allocations: 0 / 0.8822 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.006741, allocations: 3.938 kB / 0.8822 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.815e-05/0.006829, allocations: 136.5 kB / 0.8823 GB, free: 1.801 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.006831, allocations: 0 / 0.8823 GB, free: 1.801 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.106e-05/0.006902, allocations: 35.91 kB / 0.8823 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.006905, allocations: 0 / 0.8823 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.006916, allocations: 4 kB / 0.8823 GB, free: 1.762 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.006917, allocations: 0 / 0.8823 GB, free: 1.762 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.006919, allocations: 4 kB / 0.8823 GB, free: 1.758 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000149/0.007068, allocations: 129.1 kB / 0.8825 GB, free: 1.609 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.653e-06/0.007075, allocations: 4 kB / 0.8825 GB, free: 1.605 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.276e-05/0.007087, allocations: 0 / 0.8825 GB, free: 1.605 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.988e-05/0.007117, allocations: 11.98 kB / 0.8825 GB, free: 1.594 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.56e-05/0.007173, allocations: 7.984 kB / 0.8825 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.007179, allocations: 7.984 kB / 0.8825 GB, free: 1.578 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.366e-05/0.007212, allocations: 127.1 kB / 0.8826 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5.1e-08/0.007213, allocations: 3.938 kB / 0.8826 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001737/0.007386, allocations: 20 kB / 0.8826 GB, free: 1.43 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0001905/0.007577, allocations: 123.1 kB / 0.8827 GB, free: 1.297 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001361/0.007713, allocations: 63.7 kB / 0.8828 GB, free: 1.23 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.007715, allocations: 0 / 0.8828 GB, free: 1.23 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.658e-05/0.007761, allocations: 47.59 kB / 0.8828 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001161/0.007877, allocations: 15.98 kB / 0.8829 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002749/0.008152, allocations: 150.2 kB / 0.883 GB, free: 0.9883 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.291e-05/0.008185, allocations: 59.34 kB / 0.8831 GB, free: 0.9102 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 6.963e-05/0.008255, allocations: 39.95 kB / 0.8831 GB, free: 0.8711 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.345e-05/0.008288, allocations: 12.5 kB / 0.8831 GB, free: 0.8594 MB / 0.8386 GB Notification: Performance of SimCode: time 3.71e-07/0.008289, allocations: 0 / 0.8831 GB, free: 0.8594 MB / 0.8386 GB Notification: Performance of Templates: time 0.003139/0.01143, allocations: 1.026 MB / 0.8841 GB, free: 15.85 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_Binomial.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.475084514822811]