Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001829/0.001829, allocations: 85.48 kB / 19.44 MB, free: 348 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.001955/0.001955, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.545/1.545, allocations: 177.1 MB / 203.1 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] 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 3.342/3.342, allocations: 429.5 MB / 0.6729 GB, free: 4.02 MB / 0.6355 GB " [Timeout remaining time 176] 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.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bin.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Binomial") translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bin.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Binomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.8774 GB, free: 6.648 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.454e-05/2.602e-05, allocations: 5.547 kB / 0.8774 GB, free: 6.645 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.00292/0.002946, allocations: 1.572 MB / 0.879 GB, free: 5.082 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.000513/0.003458, allocations: 185.6 kB / 0.8792 GB, free: 4.902 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.706e-05/0.003496, allocations: 0 / 0.8792 GB, free: 4.902 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.627e-05/0.003522, allocations: 3.938 kB / 0.8792 GB, free: 4.898 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.129e-05/0.003573, allocations: 2.625 kB / 0.8792 GB, free: 4.898 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003459/0.003919, allocations: 60.56 kB / 0.8792 GB, free: 4.84 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.641e-05/0.003995, allocations: 38 kB / 0.8793 GB, free: 4.805 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.337e-05/0.004079, allocations: 8.641 kB / 0.8793 GB, free: 4.797 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.268e-05/0.004131, allocations: 25.53 kB / 0.8793 GB, free: 4.773 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.195e-05/0.004173, allocations: 15.98 kB / 0.8793 GB, free: 4.758 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.799e-05/0.004191, allocations: 4 kB / 0.8793 GB, free: 4.754 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001489/0.00434, allocations: 51.88 kB / 0.8794 GB, free: 4.703 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.386e-05/0.004354, allocations: 4 kB / 0.8794 GB, free: 4.699 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.921e-05/0.004383, allocations: 19.64 kB / 0.8794 GB, free: 4.684 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001776/0.004561, allocations: 79.7 kB / 0.8795 GB, free: 4.605 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.004564, allocations: 0 / 0.8795 GB, free: 4.605 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.72e-07/0.004564, allocations: 0 / 0.8795 GB, free: 4.605 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.004569, allocations: 0 / 0.8795 GB, free: 4.605 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005395/0.005108, allocations: 380.2 kB / 0.8798 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.005141, allocations: 8.031 kB / 0.8798 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.701e-05/0.005188, allocations: 8.891 kB / 0.8798 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.005318, allocations: 112.6 kB / 0.8799 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/0.005336, allocations: 1.312 kB / 0.8799 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.644e-05/0.005352, allocations: 12.31 kB / 0.88 GB, free: 4.031 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001662/0.005519, allocations: 55.27 kB / 0.88 GB, free: 3.973 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.005527, allocations: 192 / 0.88 GB, free: 3.973 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.005541, allocations: 8.359 kB / 0.88 GB, free: 3.965 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.005545, allocations: 1.5 kB / 0.88 GB, free: 3.965 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001434/0.005688, allocations: 31.92 kB / 0.8801 GB, free: 3.934 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004289/0.006117, allocations: 280.8 kB / 0.8803 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003078/0.006425, allocations: 62.97 kB / 0.8804 GB, free: 3.551 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.615e-05/0.006501, allocations: 20.72 kB / 0.8804 GB, free: 3.527 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001504/0.006651, allocations: 15.98 kB / 0.8804 GB, free: 3.512 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.849e-05/0.00669, allocations: 41.97 kB / 0.8805 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.493e-06/0.006691, allocations: 0.5938 kB / 0.8805 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0003267/0.007018, allocations: 82.14 kB / 0.8805 GB, free: 3.375 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/0.00706, allocations: 52.53 kB / 0.8806 GB, free: 3.312 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001445/0.007204, allocations: 165.9 kB / 0.8807 GB, free: 3.133 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.289e-05/0.007227, allocations: 25.7 kB / 0.8808 GB, free: 3.102 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.327e-05/0.007321, allocations: 143.5 kB / 0.8809 GB, free: 2.957 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.685e-05/0.007337, allocations: 7.891 kB / 0.8809 GB, free: 2.949 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.434e-05/0.007392, allocations: 28.64 kB / 0.8809 GB, free: 2.914 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0004826/0.007874, allocations: 0.4884 MB / 0.8814 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.743e-05/0.007942, allocations: 11.98 kB / 0.8814 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.342e-05/0.007995, allocations: 12.78 kB / 0.8814 GB, free: 2.391 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001252/0.00812, allocations: 44.22 kB / 0.8815 GB, free: 2.344 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.008122, allocations: 0 / 0.8815 GB, free: 2.344 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001844/0.008307, allocations: 67.08 kB / 0.8815 GB, free: 2.273 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.008322, allocations: 8 kB / 0.8816 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.008326, allocations: 256 / 0.8816 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.008338, allocations: 0.75 kB / 0.8816 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.015e-05/0.008408, allocations: 12 kB / 0.8816 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.008413, allocations: 0.9688 kB / 0.8816 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.16e-05/0.008454, allocations: 3.984 kB / 0.8816 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.008466, allocations: 8 kB / 0.8816 GB, free: 2.242 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: 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 0.0001142/0.00858, allocations: 156.2 kB / 0.8817 GB, free: 2.082 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.245e-05/0.008612, allocations: 11.89 kB / 0.8817 GB, free: 2.07 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002179/0.00883, allocations: 73.28 kB / 0.8818 GB, free: 1.988 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.008832, allocations: 0 / 0.8818 GB, free: 1.988 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.008835, allocations: 0 / 0.8818 GB, free: 1.988 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.008837, allocations: 4 kB / 0.8818 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001668/0.009004, allocations: 125 kB / 0.8819 GB, free: 1.828 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.009005, allocations: 0 / 0.8819 GB, free: 1.828 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.478e-05/0.00907, allocations: 4.719 kB / 0.8819 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.009071, allocations: 4 kB / 0.8819 GB, free: 1.82 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.009083, allocations: 7.938 kB / 0.8819 GB, free: 1.812 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.019e-06/0.009088, allocations: 3.984 kB / 0.8819 GB, free: 1.809 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.009089, allocations: 0 / 0.8819 GB, free: 1.809 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002686/0.009358, allocations: 211.9 kB / 0.8822 GB, free: 1.582 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.317e-05/0.009371, allocations: 11.95 kB / 0.8822 GB, free: 1.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.418e-05/0.009385, allocations: 3.938 kB / 0.8822 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.789e-05/0.009453, allocations: 7.938 kB / 0.8822 GB, free: 1.559 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.441e-05/0.009507, allocations: 11.92 kB / 0.8822 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.399e-06/0.009512, allocations: 0 / 0.8822 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.641e-05/0.009588, allocations: 131.2 kB / 0.8823 GB, free: 1.418 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.009588, allocations: 0 / 0.8823 GB, free: 1.418 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002441/0.009832, allocations: 23.92 kB / 0.8823 GB, free: 1.395 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: 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.0002001/0.01003, allocations: 115.2 kB / 0.8824 GB, free: 1.273 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001874/0.01022, allocations: 35.67 kB / 0.8825 GB, free: 1.234 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.01022, allocations: 0 / 0.8825 GB, free: 1.234 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.099e-05/0.0103, allocations: 27.67 kB / 0.8825 GB, free: 1.203 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002287/0.01053, allocations: 10.48 kB / 0.8825 GB, free: 1.195 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003184/0.01085, allocations: 142.1 kB / 0.8826 GB, free: 1.027 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.002e-05/0.01092, allocations: 63.34 kB / 0.8827 GB, free: 0.9453 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.644e-05/0.01096, allocations: 4.188 kB / 0.8827 GB, free: 0.9414 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.281e-05/0.01099, allocations: 12.5 kB / 0.8827 GB, free: 0.9297 MB / 0.8386 GB Notification: Performance of SimCode: time 5.11e-07/0.01099, allocations: 0 / 0.8827 GB, free: 0.9297 MB / 0.8386 GB Notification: Performance of Templates: time 0.00395/0.01494, allocations: 1.01 MB / 0.8837 GB, free: 15.93 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Binomial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.27998062002007]