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.001112/0.001112, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001679/0.002791, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001229/0.001229, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001874/0.003103, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.064/1.064, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1003/1.165, allocations: 53.67 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.82/1.82, allocations: 378.4 MB / 0.6079 GB, free: 7.719 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4793/2.299, allocations: 123.3 MB / 0.7283 GB, free: 5.746 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.342e-06/1.342e-06, allocations: 0 / 0.7297 GB, free: 4.422 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.939e-05/2.073e-05, allocations: 6.25 kB / 0.7297 GB, free: 4.414 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.001903/0.001923, allocations: 1.657 MB / 0.7313 GB, free: 2.777 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0002469/0.00217, allocations: 180.1 kB / 0.7314 GB, free: 2.602 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.793e-05/0.002198, allocations: 0 / 0.7314 GB, free: 2.602 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.549e-05/0.002224, allocations: 6.688 kB / 0.7315 GB, free: 2.598 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.3e-05/0.002247, allocations: 6.172 kB / 0.7315 GB, free: 2.594 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001835/0.00243, allocations: 51.75 kB / 0.7315 GB, free: 2.543 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 6.616e-05/0.002496, allocations: 33.67 kB / 0.7315 GB, free: 2.516 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 7.399e-05/0.00257, allocations: 17.41 kB / 0.7316 GB, free: 2.5 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 5.158e-05/0.002622, allocations: 24.95 kB / 0.7316 GB, free: 2.477 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.421e-05/0.002666, allocations: 13.84 kB / 0.7316 GB, free: 2.465 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.449e-05/0.002681, allocations: 5.5 kB / 0.7316 GB, free: 2.461 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001397/0.00282, allocations: 59.92 kB / 0.7317 GB, free: 2.402 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.854e-05/0.002839, allocations: 6.188 kB / 0.7317 GB, free: 2.398 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.528e-05/0.002854, allocations: 5.641 kB / 0.7317 GB, free: 2.395 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001221/0.002976, allocations: 56.34 kB / 0.7317 GB, free: 2.344 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.135e-05/0.002987, allocations: 0 / 0.7317 GB, free: 2.344 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.42e-07/0.002988, allocations: 0 / 0.7317 GB, free: 2.344 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.879e-06/0.002998, allocations: 4 kB / 0.7317 GB, free: 2.34 MB / 0.698 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.0003676/0.003366, allocations: 262.6 kB / 0.732 GB, free: 2.059 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.935e-05/0.003395, allocations: 13.78 kB / 0.732 GB, free: 2.047 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.774e-05/0.003423, allocations: 0.9375 kB / 0.732 GB, free: 2.047 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.562e-05/0.003498, allocations: 113.7 kB / 0.7321 GB, free: 1.91 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.836e-05/0.003517, allocations: 4.375 kB / 0.7321 GB, free: 1.906 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.172e-05/0.003528, allocations: 9.328 kB / 0.7321 GB, free: 1.898 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001102/0.003639, allocations: 67.95 kB / 0.7322 GB, free: 1.824 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.07e-06/0.003644, allocations: 192 / 0.7322 GB, free: 1.824 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.622e-06/0.00365, allocations: 2.188 kB / 0.7322 GB, free: 1.824 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.003655, allocations: 4.375 kB / 0.7322 GB, free: 1.82 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.465e-05/0.00368, allocations: 7.938 kB / 0.7322 GB, free: 1.812 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002169/0.003897, allocations: 172.1 kB / 0.7324 GB, free: 1.629 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001322/0.004029, allocations: 39.66 kB / 0.7324 GB, free: 1.582 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.355e-05/0.004043, allocations: 8.859 kB / 0.7324 GB, free: 1.57 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001252/0.004168, allocations: 25.45 kB / 0.7324 GB, free: 1.547 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.727e-05/0.004185, allocations: 31.59 kB / 0.7325 GB, free: 1.508 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.004186, allocations: 0 / 0.7325 GB, free: 1.508 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.000105/0.004291, allocations: 50.5 kB / 0.7325 GB, free: 1.453 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.501e-05/0.004316, allocations: 55.39 kB / 0.7326 GB, free: 1.387 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.646e-05/0.004363, allocations: 110.8 kB / 0.7327 GB, free: 1.266 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.158e-06/0.004372, allocations: 26.23 kB / 0.7327 GB, free: 1.234 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.943e-05/0.004401, allocations: 89.78 kB / 0.7328 GB, free: 1.145 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.519e-05/0.004416, allocations: 11.95 kB / 0.7328 GB, free: 1.133 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.48e-05/0.004441, allocations: 17.7 kB / 0.7328 GB, free: 1.109 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.755e-05/0.004509, allocations: 312 kB / 0.7331 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.175e-05/0.00452, allocations: 8.859 kB / 0.7331 GB, free: 0.7891 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.917e-06/0.004529, allocations: 0 / 0.7331 GB, free: 0.7891 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.633e-05/0.004556, allocations: 18.28 kB / 0.7331 GB, free: 0.7695 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.004557, allocations: 0 / 0.7331 GB, free: 0.7695 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.609e-05/0.004603, allocations: 45.62 kB / 0.7332 GB, free: 0.7188 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.004615, allocations: 5.094 kB / 0.7332 GB, free: 0.7148 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.004619, allocations: 4.594 kB / 0.7332 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.728e-06/0.004629, allocations: 0 / 0.7332 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.434e-05/0.004683, allocations: 10.06 kB / 0.7332 GB, free: 0.7031 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.084e-06/0.004685, allocations: 0 / 0.7332 GB, free: 0.7031 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.944e-05/0.004704, allocations: 7.984 kB / 0.7332 GB, free: 0.6953 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.697e-06/0.004708, allocations: 0 / 0.7332 GB, free: 0.6953 MB / 0.698 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 5.238e-05/0.00476, allocations: 119 kB / 0.7333 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.131e-05/0.004772, allocations: 0 / 0.7333 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.763e-05/0.004849, allocations: 57.56 kB / 0.7334 GB, free: 0.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.004851, allocations: 1.047 kB / 0.7334 GB, free: 0.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.004854, allocations: 4.922 kB / 0.7334 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.004858, allocations: 3.984 kB / 0.7334 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.849e-05/0.004936, allocations: 65.89 kB / 0.7334 GB, free: 420 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.004937, allocations: 0.875 kB / 0.7334 GB, free: 420 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.872e-05/0.004966, allocations: 11.94 kB / 0.7334 GB, free: 408 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.21e-06/0.004971, allocations: 8.547 kB / 0.7335 GB, free: 400 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.004973, allocations: 1.188 kB / 0.7335 GB, free: 400 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.208e-06/0.004977, allocations: 0 / 0.7335 GB, free: 400 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.00498, allocations: 3.938 kB / 0.7335 GB, free: 396 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.82e-07/0.004981, allocations: 0 / 0.7335 GB, free: 396 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.765e-05/0.005058, allocations: 136 kB / 0.7336 GB, free: 244 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.335e-06/0.005067, allocations: 1.062 kB / 0.7336 GB, free: 244 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.005e-05/0.005097, allocations: 4 kB / 0.7336 GB, free: 240 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.53e-05/0.005132, allocations: 16.73 kB / 0.7336 GB, free: 224 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.005134, allocations: 4 kB / 0.7336 GB, free: 220 kB / 0.698 GB Notification: Performance of sorting global known variables: time 1.386e-05/0.005148, allocations: 17.86 kB / 0.7336 GB, free: 200 kB / 0.698 GB Notification: Performance of sort global known variables: time 5e-08/0.005148, allocations: 0 / 0.7336 GB, free: 200 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001301/0.005278, allocations: 19.94 kB / 0.7337 GB, free: 180 kB / 0.698 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.0001218/0.0054, allocations: 94.88 kB / 0.7337 GB, free: 76 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 6.028e-05/0.00546, allocations: 16.84 kB / 0.7338 GB, free: 56 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.005464, allocations: 4 kB / 0.7338 GB, free: 52 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.531e-05/0.005489, allocations: 16.8 kB / 0.7338 GB, free: 32 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001474/0.005637, allocations: 38.91 kB / 0.7338 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000337/0.005974, allocations: 124.5 kB / 0.7339 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.441e-05/0.006008, allocations: 60.09 kB / 0.734 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.271e-05/0.006031, allocations: 4.781 kB / 0.734 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.266e-05/0.006074, allocations: 52.09 kB / 0.734 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of SimCode: time 6.82e-07/0.006074, allocations: 0 / 0.734 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of Templates: time 0.002482/0.008556, allocations: 1.108 MB / 0.7351 GB, free: 14.66 MB / 0.7136 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Math.Examples.Binomial/Buildings_12_Buildings.Utilities.Math.Examples.Binomial.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.03241852670908]