Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001158/0.001158, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001017/0.001017, allocations: 169 kB / 24.28 MB, free: 276 kB / 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.9355/0.9355, allocations: 177.1 MB / 204.6 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.888/1.888, allocations: 377.8 MB / 0.6239 GB, free: 8.559 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_Buildings.Utilities.Math.Examples.Binomial") translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bin.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.Binomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 0.8115 GB, free: 2.051 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.523e-05/2.666e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.047 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.009033/0.00906, allocations: 1.591 MB / 0.8131 GB, free: 476 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0005054/0.009565, allocations: 180.3 kB / 0.8133 GB, free: 296 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.284e-05/0.009608, allocations: 4 kB / 0.8133 GB, free: 292 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.367e-05/0.009642, allocations: 4.719 kB / 0.8133 GB, free: 288 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 4.756e-05/0.009689, allocations: 7.922 kB / 0.8133 GB, free: 280 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.003426/0.01312, allocations: 57.5 kB / 0.8133 GB, free: 224 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 9.697e-05/0.01321, allocations: 35.91 kB / 0.8134 GB, free: 188 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 9.819e-05/0.01331, allocations: 8 kB / 0.8134 GB, free: 180 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 4.968e-05/0.01336, allocations: 23.92 kB / 0.8134 GB, free: 156 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.591e-05/0.01341, allocations: 13.5 kB / 0.8134 GB, free: 144 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.763e-05/0.01342, allocations: 4 kB / 0.8134 GB, free: 140 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001403/0.01356, allocations: 51.94 kB / 0.8135 GB, free: 88 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.743e-05/0.01358, allocations: 11.98 kB / 0.8135 GB, free: 76 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.614e-05/0.01361, allocations: 8.656 kB / 0.8135 GB, free: 68 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0002017/0.01381, allocations: 75.78 kB / 0.8135 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.778e-06/0.01381, allocations: 0.8125 kB / 0.8135 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.894e-06/0.01381, allocations: 0 / 0.8135 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.01382, allocations: 5.594 kB / 0.8136 GB, free: 15.98 MB / 0.7761 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.0004337/0.01425, allocations: 372.5 kB / 0.8139 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.009e-05/0.01429, allocations: 8.031 kB / 0.8139 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.094e-05/0.01435, allocations: 8.938 kB / 0.8139 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.01445, allocations: 115.2 kB / 0.814 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/0.01447, allocations: 384 / 0.814 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.272e-05/0.01449, allocations: 4.375 kB / 0.814 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001841/0.01467, allocations: 66.88 kB / 0.8141 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.01468, allocations: 4.172 kB / 0.8141 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.01469, allocations: 4.375 kB / 0.8141 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.0147, allocations: 4.906 kB / 0.8141 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.37e-05/0.01475, allocations: 15.92 kB / 0.8141 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004076/0.01516, allocations: 268.4 kB / 0.8144 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002302/0.01539, allocations: 47.52 kB / 0.8144 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.197e-05/0.01542, allocations: 13.41 kB / 0.8144 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001492/0.01557, allocations: 11.98 kB / 0.8145 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.0156, allocations: 45.33 kB / 0.8145 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 1.492e-06/0.01561, allocations: 0.5 kB / 0.8145 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0001926/0.0158, allocations: 54.17 kB / 0.8146 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.347e-05/0.01583, allocations: 59.39 kB / 0.8146 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003113/0.01894, allocations: 158.7 kB / 0.8148 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.01896, allocations: 25.7 kB / 0.8148 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.079e-05/0.01902, allocations: 147.8 kB / 0.8149 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.888e-05/0.01904, allocations: 7.953 kB / 0.8149 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.001e-05/0.01908, allocations: 19.38 kB / 0.815 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.01921, allocations: 0.4897 MB / 0.8154 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.773e-05/0.01924, allocations: 4 kB / 0.8154 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.083e-05/0.01926, allocations: 4 kB / 0.8154 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.99e-05/0.01931, allocations: 21.44 kB / 0.8155 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.01932, allocations: 256 / 0.8155 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001037/0.01942, allocations: 49.56 kB / 0.8155 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.01944, allocations: 4 kB / 0.8155 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.01944, allocations: 4 kB / 0.8155 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.01946, allocations: 8.828 kB / 0.8155 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.306e-05/0.01953, allocations: 4 kB / 0.8155 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.01953, allocations: 2.219 kB / 0.8155 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.184e-05/0.01957, allocations: 4 kB / 0.8155 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-06/0.01957, allocations: 7.984 kB / 0.8155 GB, free: 13.76 MB / 0.7761 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 8.02e-05/0.01965, allocations: 156.6 kB / 0.8157 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.738e-05/0.01968, allocations: 3.938 kB / 0.8157 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001315/0.01981, allocations: 52.16 kB / 0.8157 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.01982, allocations: 0 / 0.8157 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.01982, allocations: 7.922 kB / 0.8157 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.01982, allocations: 384 / 0.8157 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001375/0.01996, allocations: 124.6 kB / 0.8159 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.01996, allocations: 0 / 0.8159 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.151e-05/0.02001, allocations: 12 kB / 0.8159 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.02002, allocations: 1.562 kB / 0.8159 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.02003, allocations: 7.922 kB / 0.8159 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.02003, allocations: 3.984 kB / 0.8159 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.02003, allocations: 0 / 0.8159 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001426/0.02017, allocations: 196.5 kB / 0.8161 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.164e-06/0.02018, allocations: 0.5625 kB / 0.8161 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.0202, allocations: 7.875 kB / 0.8161 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.28e-05/0.02026, allocations: 4.562 kB / 0.8161 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.218e-05/0.02031, allocations: 13.36 kB / 0.8161 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.02032, allocations: 0 / 0.8161 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.697e-05/0.02036, allocations: 127.1 kB / 0.8162 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.01e-07/0.02036, allocations: 0 / 0.8162 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002858/0.02065, allocations: 20.58 kB / 0.8162 GB, free: 12.97 MB / 0.7761 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.0002082/0.02086, allocations: 116.3 kB / 0.8164 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000105/0.02096, allocations: 19.69 kB / 0.8164 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.02096, allocations: 1.062 kB / 0.8164 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.646e-05/0.021, allocations: 23.67 kB / 0.8164 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002755/0.02128, allocations: 7.531 kB / 0.8164 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000315/0.02159, allocations: 137.9 kB / 0.8165 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.223e-05/0.02163, allocations: 55.22 kB / 0.8166 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.003055/0.02469, allocations: 8 kB / 0.8166 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.591e-05/0.02473, allocations: 16.5 kB / 0.8166 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of SimCode: time 1.193e-06/0.02474, allocations: 0 / 0.8166 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of Templates: time 0.003399/0.02813, allocations: 1.003 MB / 0.8176 GB, free: 11.56 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.Binomial.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.Binomial.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.140228535979986]