Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001368/0.001368, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001669/0.001669, allocations: 161 kB / 23.82 MB, free: 0.75 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.9951/0.9951, allocations: 177.1 MB / 204.2 MB, free: 5.266 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.829/1.829, allocations: 359 MB / 0.6052 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings.Utilities.Math.Examples.Binomial") translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bin.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.Binomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.7871 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.611e-05/2.782e-05, allocations: 2.969 kB / 0.7871 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.002315/0.002343, allocations: 1.588 MB / 0.7886 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0004458/0.002788, allocations: 184.1 kB / 0.7888 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.226e-05/0.002841, allocations: 0.5625 kB / 0.7888 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.629e-05/0.002887, allocations: 7.938 kB / 0.7888 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.383e-05/0.002951, allocations: 8.828 kB / 0.7888 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004953/0.003446, allocations: 51.81 kB / 0.7889 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.096e-05/0.003537, allocations: 28.86 kB / 0.7889 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.003655, allocations: 19.97 kB / 0.7889 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.241e-05/0.003708, allocations: 24.98 kB / 0.789 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.556e-05/0.003753, allocations: 15.92 kB / 0.789 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.197e-05/0.003775, allocations: 4 kB / 0.789 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001398/0.003915, allocations: 48.53 kB / 0.789 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.562e-05/0.003931, allocations: 11.98 kB / 0.789 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.149e-05/0.003962, allocations: 17.45 kB / 0.7891 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001934/0.004156, allocations: 59.8 kB / 0.7891 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.004159, allocations: 0 / 0.7891 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.643e-06/0.004161, allocations: 0 / 0.7891 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.004168, allocations: 5.344 kB / 0.7891 GB, free: 10.45 MB / 0.7448 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.0004929/0.004661, allocations: 376.5 kB / 0.7895 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/0.004711, allocations: 8.031 kB / 0.7895 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.03e-05/0.004761, allocations: 7.906 kB / 0.7895 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/0.004886, allocations: 128.5 kB / 0.7896 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.023e-05/0.004916, allocations: 4.375 kB / 0.7896 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.821e-05/0.004934, allocations: 4.375 kB / 0.7896 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000229/0.005163, allocations: 62.94 kB / 0.7897 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.83e-05/0.005182, allocations: 192 / 0.7897 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.679e-05/0.005199, allocations: 384 / 0.7897 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.512e-05/0.005214, allocations: 4.375 kB / 0.7897 GB, free: 9.801 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.557e-05/0.005279, allocations: 17.17 kB / 0.7897 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00056/0.005839, allocations: 263.7 kB / 0.79 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002699/0.006109, allocations: 43.64 kB / 0.79 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.244e-05/0.006141, allocations: 16.45 kB / 0.79 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001763/0.006318, allocations: 16.52 kB / 0.79 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/0.006349, allocations: 41.33 kB / 0.7901 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.432e-06/0.00635, allocations: 1.594 kB / 0.7901 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001863/0.006537, allocations: 53.58 kB / 0.7901 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.837e-05/0.006565, allocations: 55.41 kB / 0.7902 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.351e-05/0.006648, allocations: 162.5 kB / 0.7903 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/0.00666, allocations: 25.7 kB / 0.7904 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.758e-05/0.006718, allocations: 147.4 kB / 0.7905 GB, free: 8.871 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.745e-05/0.006735, allocations: 3.953 kB / 0.7905 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.583e-05/0.006771, allocations: 28.05 kB / 0.7905 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.006897, allocations: 492.1 kB / 0.791 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.447e-05/0.006921, allocations: 4.5 kB / 0.791 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.671e-05/0.006938, allocations: 8.766 kB / 0.791 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.575e-05/0.006984, allocations: 19.69 kB / 0.791 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.006987, allocations: 1.375 kB / 0.791 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.383e-05/0.00707, allocations: 53.56 kB / 0.7911 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.007088, allocations: 4 kB / 0.7911 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.007094, allocations: 1.812 kB / 0.7911 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.19e-05/0.007116, allocations: 4 kB / 0.7911 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.977e-05/0.007175, allocations: 7.984 kB / 0.7911 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.007182, allocations: 0 / 0.7911 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.097e-05/0.007213, allocations: 4.25 kB / 0.7911 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/0.007219, allocations: 6.375 kB / 0.7911 GB, free: 8.223 MB / 0.7448 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 7.61e-05/0.007295, allocations: 156.6 kB / 0.7913 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.892e-05/0.007314, allocations: 7.938 kB / 0.7913 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001263/0.00744, allocations: 57.62 kB / 0.7913 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.007445, allocations: 4.031 kB / 0.7913 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.007448, allocations: 1.969 kB / 0.7913 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.007451, allocations: 0 / 0.7913 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001038/0.007555, allocations: 124.6 kB / 0.7914 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.007557, allocations: 0 / 0.7914 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.752e-05/0.007595, allocations: 11.98 kB / 0.7914 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.007597, allocations: 0.5 kB / 0.7914 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.007605, allocations: 5.75 kB / 0.7915 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.007607, allocations: 0 / 0.7915 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.007608, allocations: 0 / 0.7915 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001194/0.007727, allocations: 195.9 kB / 0.7916 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.693e-06/0.007734, allocations: 3.938 kB / 0.7916 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.279e-05/0.007746, allocations: 6.281 kB / 0.7917 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.654e-05/0.007783, allocations: 11.98 kB / 0.7917 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.903e-05/0.007832, allocations: 7.984 kB / 0.7917 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.007835, allocations: 0 / 0.7917 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.23e-05/0.007878, allocations: 127.2 kB / 0.7918 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.007878, allocations: 0 / 0.7918 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001816/0.008059, allocations: 16.47 kB / 0.7918 GB, free: 7.43 MB / 0.7448 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.0001691/0.008228, allocations: 116.5 kB / 0.7919 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.877e-05/0.008327, allocations: 27.67 kB / 0.7919 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.008329, allocations: 0.625 kB / 0.7919 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.574e-05/0.008355, allocations: 23.61 kB / 0.792 GB, free: 7.25 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001859/0.008541, allocations: 8.703 kB / 0.792 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002958/0.008836, allocations: 135 kB / 0.7921 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.821e-05/0.008875, allocations: 57.19 kB / 0.7922 GB, free: 7.008 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.124e-05/0.008896, allocations: 4 kB / 0.7922 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.021e-05/0.008926, allocations: 12.5 kB / 0.7922 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of SimCode: time 5.91e-07/0.008927, allocations: 0.7812 kB / 0.7922 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of Templates: time 0.002954/0.01188, allocations: 1.021 MB / 0.7932 GB, free: 6 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.Binomial.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.Binomial.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_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.250331060029566]