Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.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.00134/0.00134, allocations: 78.72 kB / 19.18 MB, free: 2.523 MB / 14.72 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.001851/0.001851, allocations: 166.4 kB / 22.45 MB, free: 5.375 MB / 14.72 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 1.467/1.467, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.839/2.839, allocations: 377.8 MB / 0.6221 GB, free: 12.6 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bin.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.Binomial") translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bin.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.Binomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.9814 GB, free: 10.95 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.05e-05/3.211e-05, allocations: 9.172 kB / 0.9814 GB, free: 10.94 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.002857/0.002889, allocations: 1.563 MB / 0.983 GB, free: 9.359 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0005187/0.003408, allocations: 171.5 kB / 0.9831 GB, free: 9.191 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.538e-05/0.003453, allocations: 4 kB / 0.9831 GB, free: 9.188 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.217e-05/0.003485, allocations: 3.938 kB / 0.9831 GB, free: 9.184 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.576e-05/0.003531, allocations: 7.875 kB / 0.9831 GB, free: 9.176 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003882/0.003919, allocations: 51.81 kB / 0.9832 GB, free: 9.125 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 8.729e-05/0.004007, allocations: 39.91 kB / 0.9832 GB, free: 9.086 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.004112, allocations: 12 kB / 0.9832 GB, free: 9.074 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.142e-05/0.004164, allocations: 23.91 kB / 0.9833 GB, free: 9.051 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.47e-05/0.004208, allocations: 11.98 kB / 0.9833 GB, free: 9.039 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.874e-05/0.004227, allocations: 8 kB / 0.9833 GB, free: 9.031 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001517/0.004379, allocations: 63.8 kB / 0.9833 GB, free: 8.969 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.522e-05/0.004394, allocations: 4 kB / 0.9833 GB, free: 8.965 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.128e-05/0.004425, allocations: 11.94 kB / 0.9834 GB, free: 8.953 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001798/0.004605, allocations: 71.88 kB / 0.9834 GB, free: 8.883 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.004607, allocations: 0 / 0.9834 GB, free: 8.883 MB / 0.8887 GB Notification: Performance of FrontEnd: time 9.12e-07/0.004608, allocations: 0 / 0.9834 GB, free: 8.883 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.998e-06/0.004612, allocations: 0 / 0.9834 GB, free: 8.883 MB / 0.8887 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.0005167/0.005129, allocations: 282.1 kB / 0.9837 GB, free: 8.574 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.005169, allocations: 12.03 kB / 0.9837 GB, free: 8.562 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.683e-05/0.005206, allocations: 8.891 kB / 0.9837 GB, free: 8.555 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001189/0.005325, allocations: 121.7 kB / 0.9838 GB, free: 8.41 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.005343, allocations: 384 / 0.9838 GB, free: 8.41 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.573e-05/0.005359, allocations: 4.375 kB / 0.9838 GB, free: 8.406 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002071/0.005566, allocations: 62.22 kB / 0.9839 GB, free: 8.34 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.005574, allocations: 192 / 0.9839 GB, free: 8.34 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.005583, allocations: 384 / 0.9839 GB, free: 8.34 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.005588, allocations: 4.375 kB / 0.9839 GB, free: 8.336 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002036/0.005791, allocations: 47.89 kB / 0.9839 GB, free: 8.289 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003738/0.006165, allocations: 220.5 kB / 0.9842 GB, free: 8.043 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003226/0.006488, allocations: 54.55 kB / 0.9842 GB, free: 7.98 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.006593, allocations: 28.89 kB / 0.9842 GB, free: 7.949 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001568/0.006749, allocations: 11.98 kB / 0.9842 GB, free: 7.938 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.679e-05/0.006776, allocations: 38.5 kB / 0.9843 GB, free: 7.891 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.006777, allocations: 0 / 0.9843 GB, free: 7.891 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0004188/0.007196, allocations: 101.7 kB / 0.9844 GB, free: 7.785 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.49e-05/0.007231, allocations: 51.41 kB / 0.9844 GB, free: 7.723 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.167e-05/0.007313, allocations: 105.8 kB / 0.9845 GB, free: 7.609 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/0.007336, allocations: 25.7 kB / 0.9845 GB, free: 7.578 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 6.907e-05/0.007405, allocations: 96.14 kB / 0.9846 GB, free: 7.48 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.875e-05/0.007423, allocations: 7.938 kB / 0.9846 GB, free: 7.473 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.855e-05/0.007462, allocations: 17.72 kB / 0.9847 GB, free: 7.449 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.007597, allocations: 314.8 kB / 0.985 GB, free: 7.133 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001015/0.007698, allocations: 23.98 kB / 0.985 GB, free: 7.109 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.954e-05/0.007788, allocations: 23.97 kB / 0.985 GB, free: 7.086 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001792/0.007967, allocations: 40.77 kB / 0.9851 GB, free: 7.043 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.007969, allocations: 0 / 0.9851 GB, free: 7.043 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002288/0.008198, allocations: 81.58 kB / 0.9851 GB, free: 6.957 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.008212, allocations: 8 kB / 0.9851 GB, free: 6.949 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.008215, allocations: 0 / 0.9851 GB, free: 6.949 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.008231, allocations: 4 kB / 0.9851 GB, free: 6.945 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.301e-05/0.008314, allocations: 11.98 kB / 0.9852 GB, free: 6.934 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.008319, allocations: 0 / 0.9852 GB, free: 6.934 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.078e-05/0.00838, allocations: 15.89 kB / 0.9852 GB, free: 6.918 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.79e-06/0.008386, allocations: 0 / 0.9852 GB, free: 6.918 MB / 0.8887 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.952e-05/0.008475, allocations: 113.8 kB / 0.9853 GB, free: 6.797 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.701e-05/0.008503, allocations: 3.938 kB / 0.9853 GB, free: 6.793 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002825/0.008785, allocations: 93.27 kB / 0.9854 GB, free: 6.695 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.008787, allocations: 0 / 0.9854 GB, free: 6.695 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.008791, allocations: 0 / 0.9854 GB, free: 6.695 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.008793, allocations: 0 / 0.9854 GB, free: 6.695 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001448/0.008938, allocations: 113.5 kB / 0.9855 GB, free: 6.555 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.00894, allocations: 4 kB / 0.9855 GB, free: 6.551 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.672e-05/0.009017, allocations: 11.98 kB / 0.9855 GB, free: 6.539 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.009019, allocations: 0 / 0.9855 GB, free: 6.539 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.00903, allocations: 3.938 kB / 0.9855 GB, free: 6.535 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.009031, allocations: 0 / 0.9855 GB, free: 6.535 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.009032, allocations: 0 / 0.9855 GB, free: 6.535 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002835/0.009316, allocations: 179.4 kB / 0.9857 GB, free: 6.344 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 8.306e-06/0.009324, allocations: 3.953 kB / 0.9857 GB, free: 6.34 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/0.009339, allocations: 3.938 kB / 0.9857 GB, free: 6.336 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.755e-05/0.009427, allocations: 4 kB / 0.9857 GB, free: 6.332 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.653e-05/0.009483, allocations: 11.98 kB / 0.9857 GB, free: 6.32 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.009488, allocations: 0 / 0.9857 GB, free: 6.32 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 4.616e-05/0.009534, allocations: 87.27 kB / 0.9858 GB, free: 6.234 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.1e-07/0.009534, allocations: 3.938 kB / 0.9858 GB, free: 6.23 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0002511/0.009785, allocations: 20 kB / 0.9858 GB, free: 6.211 MB / 0.8887 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.0002119/0.009997, allocations: 115.2 kB / 0.9859 GB, free: 6.086 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0002404/0.01024, allocations: 44.19 kB / 0.9859 GB, free: 6.043 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.01024, allocations: 0 / 0.9859 GB, free: 6.043 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0001069/0.01035, allocations: 32 kB / 0.986 GB, free: 6.012 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000282/0.01063, allocations: 2.438 kB / 0.986 GB, free: 6.012 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003262/0.01095, allocations: 128.7 kB / 0.9861 GB, free: 5.859 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.866e-05/0.01101, allocations: 63.34 kB / 0.9862 GB, free: 5.777 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 2.91e-05/0.01104, allocations: 4 kB / 0.9862 GB, free: 5.773 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.454e-05/0.01109, allocations: 16.48 kB / 0.9862 GB, free: 5.758 MB / 0.8887 GB Notification: Performance of SimCode: time 2.7e-07/0.01109, allocations: 0 / 0.9862 GB, free: 5.758 MB / 0.8887 GB Notification: Performance of Templates: time 0.003763/0.01485, allocations: 0.9856 MB / 0.9871 GB, free: 4.781 MB / 0.8887 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.Binomial.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.Binomial.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_Binomial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Examples.Binomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.8111857287585735]