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.001446/0.001446, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.001248/0.001248, allocations: 173 kB / 23.49 MB, free: 1.062 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 1.034/1.034, allocations: 177.1 MB / 203.8 MB, free: 5.645 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.118/2.118, allocations: 429.5 MB / 0.6736 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.544e-06/2.544e-06, allocations: 0 / 0.8782 GB, free: 6.574 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.863e-05/3.118e-05, allocations: 3.188 kB / 0.8782 GB, free: 6.57 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001838/0.00187, allocations: 0.615 MB / 0.8788 GB, free: 5.977 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0003055/0.002175, allocations: 95.67 kB / 0.8789 GB, free: 5.883 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.526e-05/0.0022, allocations: 0.8438 kB / 0.8789 GB, free: 5.883 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.422e-05/0.002234, allocations: 0 / 0.8789 GB, free: 5.883 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.96e-06/0.002239, allocations: 0.75 kB / 0.8789 GB, free: 5.883 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002986/0.002538, allocations: 40.59 kB / 0.879 GB, free: 5.844 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001217/0.00266, allocations: 69.03 kB / 0.879 GB, free: 5.777 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.064e-05/0.00269, allocations: 4.875 kB / 0.879 GB, free: 5.773 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.939e-05/0.00274, allocations: 31.95 kB / 0.8791 GB, free: 5.742 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.332e-05/0.002783, allocations: 20.75 kB / 0.8791 GB, free: 5.723 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/0.0028, allocations: 4 kB / 0.8791 GB, free: 5.719 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001177/0.002917, allocations: 50.66 kB / 0.8791 GB, free: 5.672 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.678e-05/0.002954, allocations: 24.62 kB / 0.8792 GB, free: 5.648 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.664e-05/0.002981, allocations: 13.06 kB / 0.8792 GB, free: 5.637 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000152/0.003133, allocations: 95.78 kB / 0.8793 GB, free: 5.543 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.003135, allocations: 1.156 kB / 0.8793 GB, free: 5.543 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.62e-07/0.003136, allocations: 0 / 0.8793 GB, free: 5.543 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.00314, allocations: 0 / 0.8793 GB, free: 5.543 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.0004342/0.003574, allocations: 405.6 kB / 0.8797 GB, free: 5.109 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.003615, allocations: 12.03 kB / 0.8797 GB, free: 5.098 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.462e-05/0.00367, allocations: 12.94 kB / 0.8797 GB, free: 5.086 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.449e-05/0.003754, allocations: 117.3 kB / 0.8798 GB, free: 4.945 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003254/0.00408, allocations: 0.5298 MB / 0.8803 GB, free: 4.293 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.324e-05/0.004093, allocations: 5.188 kB / 0.8803 GB, free: 4.289 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002064/0.004299, allocations: 94.78 kB / 0.8804 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.004307, allocations: 1.469 kB / 0.8804 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.699e-06/0.004317, allocations: 384 / 0.8804 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.004326, allocations: 4.125 kB / 0.8804 GB, free: 4.184 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001682/0.004494, allocations: 104.9 kB / 0.8805 GB, free: 4.082 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001425/0.004637, allocations: 132.5 kB / 0.8806 GB, free: 3.918 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001306/0.004767, allocations: 76.09 kB / 0.8807 GB, free: 3.832 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.665e-05/0.004824, allocations: 32.42 kB / 0.8807 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.635e-05/0.00484, allocations: 0 / 0.8807 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.004868, allocations: 42.42 kB / 0.8808 GB, free: 3.746 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=11): time 9.31e-07/0.004868, allocations: 0 / 0.8808 GB, free: 3.746 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11): time 0.0002547/0.005123, allocations: 105 kB / 0.8809 GB, free: 3.641 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.587e-05/0.005159, allocations: 55.41 kB / 0.8809 GB, free: 3.574 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.38e-05/0.005213, allocations: 146.2 kB / 0.8811 GB, free: 3.418 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/0.005226, allocations: 25.7 kB / 0.8811 GB, free: 3.387 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.59e-05/0.005262, allocations: 130.8 kB / 0.8812 GB, free: 3.254 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.619e-05/0.005309, allocations: 43.69 kB / 0.8813 GB, free: 3.211 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.787e-05/0.005356, allocations: 31.36 kB / 0.8813 GB, free: 3.172 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.005498, allocations: 0.4884 MB / 0.8818 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.519e-05/0.005543, allocations: 21.48 kB / 0.8818 GB, free: 2.652 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.08e-05/0.005584, allocations: 12 kB / 0.8818 GB, free: 2.641 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001026/0.005687, allocations: 47.61 kB / 0.8818 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.005689, allocations: 0 / 0.8818 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001578/0.005846, allocations: 86.89 kB / 0.8819 GB, free: 2.5 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.00586, allocations: 9.656 kB / 0.8819 GB, free: 2.492 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.005864, allocations: 0 / 0.8819 GB, free: 2.492 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.005876, allocations: 4 kB / 0.8819 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/0.006006, allocations: 23.92 kB / 0.882 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.006013, allocations: 8.875 kB / 0.882 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.405e-05/0.006057, allocations: 7.984 kB / 0.882 GB, free: 2.449 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.006067, allocations: 4 kB / 0.882 GB, free: 2.445 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 7.95e-05/0.006147, allocations: 162.8 kB / 0.8821 GB, free: 2.277 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.326e-05/0.00617, allocations: 7.953 kB / 0.8821 GB, free: 2.27 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.63e-05/0.006196, allocations: 15.95 kB / 0.8822 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.006199, allocations: 3.938 kB / 0.8822 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.006202, allocations: 4 kB / 0.8822 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.006208, allocations: 7.938 kB / 0.8822 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.456e-05/0.006303, allocations: 128.6 kB / 0.8823 GB, free: 2.082 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.006304, allocations: 0 / 0.8823 GB, free: 2.082 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.782e-05/0.006391, allocations: 27.91 kB / 0.8823 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.006394, allocations: 0 / 0.8823 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.006403, allocations: 4 kB / 0.8823 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.006405, allocations: 3.984 kB / 0.8823 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.006406, allocations: 0 / 0.8823 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001773/0.006583, allocations: 132.4 kB / 0.8825 GB, free: 1.895 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.384e-06/0.006591, allocations: 7.984 kB / 0.8825 GB, free: 1.887 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.336e-05/0.006604, allocations: 4 kB / 0.8825 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.941e-05/0.006643, allocations: 4 kB / 0.8825 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.217e-05/0.006695, allocations: 19.91 kB / 0.8825 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/0.006705, allocations: 4 kB / 0.8825 GB, free: 1.855 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.469e-05/0.00674, allocations: 123.1 kB / 0.8826 GB, free: 1.734 MB / 0.8386 GB Notification: Performance of sort global known variables: time 8e-08/0.00674, allocations: 3.938 kB / 0.8826 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002394/0.006979, allocations: 20 kB / 0.8826 GB, free: 1.711 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.0001584/0.007138, allocations: 115.2 kB / 0.8827 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001571/0.007295, allocations: 71.64 kB / 0.8828 GB, free: 1.512 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.007296, allocations: 0 / 0.8828 GB, free: 1.512 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.712e-05/0.007363, allocations: 47.59 kB / 0.8829 GB, free: 1.461 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001505/0.007514, allocations: 12 kB / 0.8829 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002632/0.007777, allocations: 142.2 kB / 0.883 GB, free: 1.281 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.796e-05/0.007815, allocations: 63.34 kB / 0.8831 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001017/0.007916, allocations: 35.95 kB / 0.8831 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.235e-05/0.007959, allocations: 20.48 kB / 0.8831 GB, free: 1.145 MB / 0.8386 GB Notification: Performance of SimCode: time 5.61e-07/0.007959, allocations: 0 / 0.8831 GB, free: 1.145 MB / 0.8386 GB Notification: Performance of Templates: time 0.003051/0.01101, allocations: 1.036 MB / 0.8841 GB, free: 124 kB / 0.8386 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.468674563104287]