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.001303/0.001303, 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.001803/0.001803, allocations: 169 kB / 23.02 MB, free: 1.551 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.9457/0.9457, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.094/2.094, allocations: 429.5 MB / 0.6733 GB, free: 4.008 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 1.362e-06/1.362e-06, allocations: 0 / 0.8782 GB, free: 6.238 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.046e-05/2.182e-05, allocations: 4 kB / 0.8782 GB, free: 6.234 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001145/0.001167, allocations: 0.6149 MB / 0.8788 GB, free: 5.637 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0002965/0.001463, allocations: 97.48 kB / 0.8789 GB, free: 5.543 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.187e-05/0.001485, allocations: 4 kB / 0.8789 GB, free: 5.539 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.216e-05/0.001527, allocations: 0 / 0.8789 GB, free: 5.539 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.394e-06/0.001535, allocations: 0.6562 kB / 0.8789 GB, free: 5.539 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003535/0.001888, allocations: 44.58 kB / 0.879 GB, free: 5.496 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001112/0.002, allocations: 68.53 kB / 0.879 GB, free: 5.43 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.307e-05/0.002033, allocations: 1.625 kB / 0.879 GB, free: 5.43 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.579e-05/0.002078, allocations: 31.97 kB / 0.8791 GB, free: 5.398 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.49e-05/0.002113, allocations: 24.72 kB / 0.8791 GB, free: 5.375 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.741e-05/0.002131, allocations: 1.156 kB / 0.8791 GB, free: 5.375 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001228/0.002254, allocations: 51.94 kB / 0.8791 GB, free: 5.324 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.677e-05/0.00229, allocations: 21.39 kB / 0.8792 GB, free: 5.305 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.562e-05/0.002316, allocations: 25.45 kB / 0.8792 GB, free: 5.281 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001539/0.00247, allocations: 79.81 kB / 0.8793 GB, free: 5.203 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.002472, allocations: 3.938 kB / 0.8793 GB, free: 5.199 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.302e-06/0.002473, allocations: 1.125 kB / 0.8793 GB, free: 5.199 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.002478, allocations: 0 / 0.8793 GB, free: 5.199 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.000402/0.00288, allocations: 409.6 kB / 0.8796 GB, free: 4.762 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.002919, allocations: 8.031 kB / 0.8797 GB, free: 4.754 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.204e-05/0.002971, allocations: 16.94 kB / 0.8797 GB, free: 4.738 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.882e-05/0.00303, allocations: 105.7 kB / 0.8798 GB, free: 4.609 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000237/0.003267, allocations: 0.5299 MB / 0.8803 GB, free: 3.957 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.415e-05/0.003281, allocations: 4.375 kB / 0.8803 GB, free: 3.953 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000174/0.003455, allocations: 87.59 kB / 0.8804 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.003463, allocations: 4.188 kB / 0.8804 GB, free: 3.855 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.003473, allocations: 1.938 kB / 0.8804 GB, free: 3.855 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.547e-06/0.003481, allocations: 4.125 kB / 0.8804 GB, free: 3.852 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001097/0.003591, allocations: 107.8 kB / 0.8805 GB, free: 3.746 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001376/0.003729, allocations: 136.5 kB / 0.8806 GB, free: 3.578 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.455e-05/0.003823, allocations: 72.66 kB / 0.8807 GB, free: 3.496 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.031e-05/0.003864, allocations: 32.36 kB / 0.8807 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.003884, allocations: 8 kB / 0.8807 GB, free: 3.453 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.003903, allocations: 34.48 kB / 0.8808 GB, free: 3.41 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=11): time 8.52e-07/0.003904, allocations: 0 / 0.8808 GB, free: 3.41 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11): time 0.0002188/0.004122, allocations: 109.9 kB / 0.8809 GB, free: 3.297 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.908e-05/0.004151, allocations: 57 kB / 0.8809 GB, free: 3.23 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.787e-05/0.004189, allocations: 146.2 kB / 0.8811 GB, free: 3.074 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.004202, allocations: 33.69 kB / 0.8811 GB, free: 3.035 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.518e-05/0.004227, allocations: 126.9 kB / 0.8812 GB, free: 2.906 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.077e-05/0.004308, allocations: 34.89 kB / 0.8812 GB, free: 2.875 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.573e-05/0.004354, allocations: 35.36 kB / 0.8813 GB, free: 2.832 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.888e-05/0.004452, allocations: 0.4884 MB / 0.8818 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.705e-05/0.004489, allocations: 19.98 kB / 0.8818 GB, free: 2.312 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.573e-05/0.004515, allocations: 15.98 kB / 0.8818 GB, free: 2.297 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.932e-05/0.004584, allocations: 47.56 kB / 0.8818 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.004587, allocations: 0 / 0.8818 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001057/0.004692, allocations: 86.95 kB / 0.8819 GB, free: 2.156 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.004704, allocations: 4 kB / 0.8819 GB, free: 2.152 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.004709, allocations: 0 / 0.8819 GB, free: 2.152 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.004722, allocations: 4 kB / 0.8819 GB, free: 2.148 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.004822, allocations: 27.98 kB / 0.882 GB, free: 2.121 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.004829, allocations: 7.922 kB / 0.882 GB, free: 2.113 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.083e-05/0.00486, allocations: 11.98 kB / 0.882 GB, free: 2.102 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.004869, allocations: 7.938 kB / 0.882 GB, free: 2.094 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 0.0001325/0.005001, allocations: 160.5 kB / 0.8821 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.314e-05/0.005014, allocations: 7.953 kB / 0.8821 GB, free: 1.918 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.608e-05/0.005041, allocations: 19.95 kB / 0.8822 GB, free: 1.902 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.005043, allocations: 0 / 0.8822 GB, free: 1.902 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.005047, allocations: 0 / 0.8822 GB, free: 1.902 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.00505, allocations: 3.938 kB / 0.8822 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.811e-05/0.005128, allocations: 136.5 kB / 0.8823 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.00513, allocations: 4 kB / 0.8823 GB, free: 1.727 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.929e-05/0.005189, allocations: 19.98 kB / 0.8823 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.005191, allocations: 0 / 0.8823 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.005201, allocations: 7.984 kB / 0.8823 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.005203, allocations: 0 / 0.8823 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.005204, allocations: 0 / 0.8823 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001466/0.005351, allocations: 137 kB / 0.8825 GB, free: 1.543 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.957e-06/0.00536, allocations: 7.984 kB / 0.8825 GB, free: 1.535 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.347e-05/0.005373, allocations: 0 / 0.8825 GB, free: 1.535 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.572e-05/0.005399, allocations: 8 kB / 0.8825 GB, free: 1.527 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.632e-05/0.005455, allocations: 15.97 kB / 0.8825 GB, free: 1.512 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-06/0.005462, allocations: 4 kB / 0.8825 GB, free: 1.508 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.627e-05/0.005498, allocations: 123.1 kB / 0.8826 GB, free: 1.387 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4e-08/0.005498, allocations: 0 / 0.8826 GB, free: 1.387 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001736/0.005672, allocations: 20 kB / 0.8826 GB, free: 1.367 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.000145/0.005817, allocations: 119.2 kB / 0.8827 GB, free: 1.238 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000127/0.005944, allocations: 71.62 kB / 0.8828 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.005945, allocations: 4 kB / 0.8828 GB, free: 1.16 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.402e-05/0.005989, allocations: 51.53 kB / 0.8829 GB, free: 1.105 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001055/0.006095, allocations: 8 kB / 0.8829 GB, free: 1.098 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002784/0.006373, allocations: 142.3 kB / 0.883 GB, free: 0.9297 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.611e-05/0.006409, allocations: 63.34 kB / 0.8831 GB, free: 0.8477 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 6.526e-05/0.006474, allocations: 35.95 kB / 0.8831 GB, free: 0.8125 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.526e-05/0.00651, allocations: 24.48 kB / 0.8831 GB, free: 0.7891 MB / 0.8386 GB Notification: Performance of SimCode: time 6.41e-07/0.00651, allocations: 0 / 0.8831 GB, free: 0.7891 MB / 0.8386 GB Notification: Performance of Templates: time 0.00311/0.00962, allocations: 1.218 MB / 0.8843 GB, free: 15.59 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.095780230127275]