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.000907/0.000907, 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.001148/0.001148, 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.9335/0.9335, allocations: 177.2 MB / 204.2 MB, free: 5.586 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.692/1.692, allocations: 359 MB / 0.6052 GB, free: 10.98 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.904e-06/1.904e-06, allocations: 3.938 kB / 0.7871 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.434e-05/2.624e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.002755/0.002781, allocations: 1.596 MB / 0.7887 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0004528/0.003234, allocations: 175.4 kB / 0.7888 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.159e-05/0.003276, allocations: 5.125 kB / 0.7888 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.434e-05/0.00331, allocations: 3.938 kB / 0.7888 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.258e-05/0.003362, allocations: 0 / 0.7888 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004003/0.003763, allocations: 56.7 kB / 0.7889 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.472e-05/0.003847, allocations: 35.86 kB / 0.7889 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.759e-05/0.003945, allocations: 25.31 kB / 0.789 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.416e-05/0.003989, allocations: 19.98 kB / 0.789 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.311e-05/0.004032, allocations: 15.92 kB / 0.789 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.612e-05/0.004048, allocations: 0 / 0.789 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000132/0.00418, allocations: 53 kB / 0.789 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.483e-05/0.004195, allocations: 11.98 kB / 0.7891 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.551e-05/0.004221, allocations: 11.98 kB / 0.7891 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001706/0.004391, allocations: 61.36 kB / 0.7891 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.004397, allocations: 4 kB / 0.7891 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.61e-07/0.004397, allocations: 0 / 0.7891 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.004403, allocations: 0 / 0.7891 GB, free: 10.39 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.0005464/0.004949, allocations: 374.1 kB / 0.7895 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.004994, allocations: 8.031 kB / 0.7895 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.263e-05/0.005046, allocations: 8.938 kB / 0.7895 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/0.00516, allocations: 124.4 kB / 0.7896 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.311e-05/0.005184, allocations: 1.312 kB / 0.7896 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.222e-05/0.005196, allocations: 4.375 kB / 0.7896 GB, free: 9.82 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002084/0.005404, allocations: 67.52 kB / 0.7897 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.005414, allocations: 1.469 kB / 0.7897 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.005426, allocations: 4.375 kB / 0.7897 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.005434, allocations: 4.375 kB / 0.7897 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.963e-05/0.005473, allocations: 11.94 kB / 0.7897 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003311/0.005804, allocations: 269.8 kB / 0.79 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000174/0.005978, allocations: 43.05 kB / 0.79 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.554e-05/0.006004, allocations: 15.73 kB / 0.79 GB, free: 9.355 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001267/0.00613, allocations: 14.14 kB / 0.79 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/0.006157, allocations: 45.33 kB / 0.7901 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.333e-06/0.006158, allocations: 0 / 0.7901 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001669/0.006325, allocations: 53.58 kB / 0.7901 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.695e-05/0.006352, allocations: 55.41 kB / 0.7902 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.693e-05/0.006419, allocations: 166.6 kB / 0.7903 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.323e-05/0.006432, allocations: 25.7 kB / 0.7904 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.809e-05/0.006491, allocations: 139.3 kB / 0.7905 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.782e-05/0.006508, allocations: 7.953 kB / 0.7905 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.822e-05/0.006547, allocations: 25.02 kB / 0.7905 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.006654, allocations: 0.4884 MB / 0.791 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.78e-05/0.006672, allocations: 0 / 0.791 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.437e-05/0.006686, allocations: 7.984 kB / 0.791 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.584e-05/0.006722, allocations: 20.62 kB / 0.791 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.006724, allocations: 3.938 kB / 0.791 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.948e-05/0.006824, allocations: 50.77 kB / 0.7911 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.006837, allocations: 4 kB / 0.7911 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.006842, allocations: 5.156 kB / 0.7911 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.006855, allocations: 0 / 0.7911 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.82e-05/0.006903, allocations: 11.92 kB / 0.7911 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.006908, allocations: 1.375 kB / 0.7911 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.193e-05/0.00693, allocations: 8 kB / 0.7911 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.589e-06/0.006935, allocations: 0 / 0.7911 GB, free: 8.156 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 6.787e-05/0.007003, allocations: 158.3 kB / 0.7913 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.551e-05/0.007018, allocations: 3.938 kB / 0.7913 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.592e-05/0.007114, allocations: 57.3 kB / 0.7913 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.007116, allocations: 0 / 0.7913 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.00712, allocations: 0.875 kB / 0.7913 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.007123, allocations: 4 kB / 0.7913 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.935e-05/0.007223, allocations: 124.6 kB / 0.7914 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.007224, allocations: 1.562 kB / 0.7915 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.809e-05/0.007252, allocations: 11.98 kB / 0.7915 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.007254, allocations: 0 / 0.7915 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/0.007262, allocations: 3.938 kB / 0.7915 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.007264, allocations: 1.188 kB / 0.7915 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.007266, allocations: 3.984 kB / 0.7915 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.645e-05/0.007363, allocations: 195.9 kB / 0.7917 GB, free: 7.531 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.039e-06/0.007368, allocations: 3.156 kB / 0.7917 GB, free: 7.531 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.166e-05/0.007379, allocations: 8.188 kB / 0.7917 GB, free: 7.523 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.118e-05/0.00741, allocations: 3.984 kB / 0.7917 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.566e-05/0.007456, allocations: 12 kB / 0.7917 GB, free: 7.508 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-06/0.00746, allocations: 3.984 kB / 0.7917 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.267e-05/0.007493, allocations: 123.2 kB / 0.7918 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.007493, allocations: 0 / 0.7918 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001673/0.00766, allocations: 19.94 kB / 0.7918 GB, free: 7.363 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.0002125/0.007873, allocations: 117.7 kB / 0.7919 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.856e-05/0.007961, allocations: 23.67 kB / 0.792 GB, free: 7.215 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.007962, allocations: 0 / 0.792 GB, free: 7.215 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.581e-05/0.007988, allocations: 27.56 kB / 0.792 GB, free: 7.184 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001822/0.00817, allocations: 10.45 kB / 0.792 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002613/0.008432, allocations: 130.1 kB / 0.7921 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.151e-05/0.008463, allocations: 55.34 kB / 0.7922 GB, free: 6.945 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.956e-05/0.008483, allocations: 4.844 kB / 0.7922 GB, free: 6.941 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.711e-05/0.00851, allocations: 16.5 kB / 0.7922 GB, free: 6.922 MB / 0.7448 GB Notification: Performance of SimCode: time 9.02e-07/0.008511, allocations: 0.8438 kB / 0.7922 GB, free: 6.922 MB / 0.7448 GB Notification: Performance of Templates: time 0.002952/0.01146, allocations: 1.096 MB / 0.7933 GB, free: 5.855 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: 4.6824980322271585]