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.001009/0.001009, allocations: 72.19 kB / 9.903 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001313/0.002322, allocations: 435.8 kB / 10.33 MB, free: 364 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.001031/0.001031, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00122/0.002251, allocations: 463.6 kB / 11.68 MB, free: 2.48 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.08/1.08, allocations: 177.1 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1069/1.187, allocations: 53.66 MB / 243.2 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.48/2.48, allocations: 446.7 MB / 0.6745 GB, free: 6.207 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2808/2.76, allocations: 145.9 MB / 0.817 GB, free: 4.215 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.603e-06/1.603e-06, allocations: 0 / 0.8183 GB, free: 2.891 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.314e-05/2.475e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.887 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.003044/0.003069, allocations: 1.647 MB / 0.8199 GB, free: 1.227 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0003836/0.003452, allocations: 183.3 kB / 0.8201 GB, free: 1.047 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.876e-05/0.003491, allocations: 0 / 0.8201 GB, free: 1.047 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 3.203e-05/0.003523, allocations: 7.922 kB / 0.8201 GB, free: 1.039 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 3.125e-05/0.003554, allocations: 0 / 0.8201 GB, free: 1.039 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002942/0.003848, allocations: 47.81 kB / 0.8201 GB, free: 0.9922 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 9.118e-05/0.00394, allocations: 39.86 kB / 0.8202 GB, free: 0.9531 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 9.8e-05/0.004038, allocations: 11.98 kB / 0.8202 GB, free: 0.9414 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 6.936e-05/0.004107, allocations: 23.91 kB / 0.8202 GB, free: 0.918 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 5.723e-05/0.004164, allocations: 19.91 kB / 0.8202 GB, free: 0.8984 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.001e-05/0.004184, allocations: 4 kB / 0.8202 GB, free: 0.8945 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001777/0.004362, allocations: 59.94 kB / 0.8203 GB, free: 0.8359 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.671e-05/0.004379, allocations: 4 kB / 0.8203 GB, free: 0.832 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.201e-05/0.004401, allocations: 4 kB / 0.8203 GB, free: 0.8281 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0002714/0.004672, allocations: 55.83 kB / 0.8204 GB, free: 0.7734 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.072e-05/0.004693, allocations: 0 / 0.8204 GB, free: 0.7734 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.954e-06/0.004695, allocations: 0 / 0.8204 GB, free: 0.7734 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 2.029e-05/0.004715, allocations: 0 / 0.8204 GB, free: 0.7734 MB / 0.7917 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.0004807/0.005196, allocations: 272.4 kB / 0.8206 GB, free: 492 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/0.005246, allocations: 12.62 kB / 0.8206 GB, free: 480 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.227e-05/0.005288, allocations: 0.9375 kB / 0.8206 GB, free: 480 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.005411, allocations: 121.7 kB / 0.8207 GB, free: 332 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.916e-05/0.00544, allocations: 8.375 kB / 0.8208 GB, free: 324 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.779e-06/0.00545, allocations: 384 / 0.8208 GB, free: 324 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001694/0.005619, allocations: 62.94 kB / 0.8208 GB, free: 252 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.00563, allocations: 192 / 0.8208 GB, free: 252 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.005642, allocations: 4.359 kB / 0.8208 GB, free: 248 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.005651, allocations: 4.375 kB / 0.8208 GB, free: 244 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.873e-05/0.00569, allocations: 7.938 kB / 0.8208 GB, free: 236 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003248/0.006015, allocations: 176.1 kB / 0.821 GB, free: 44 kB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002183/0.006233, allocations: 42.62 kB / 0.821 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.107e-05/0.006254, allocations: 12.84 kB / 0.8211 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001687/0.006423, allocations: 19.98 kB / 0.8211 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/0.006456, allocations: 34.55 kB / 0.8211 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 1.833e-06/0.006457, allocations: 0 / 0.8211 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.0001419/0.006599, allocations: 49.56 kB / 0.8212 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.006634, allocations: 55.41 kB / 0.8212 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.424e-05/0.006698, allocations: 106.7 kB / 0.8213 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/0.00671, allocations: 29.69 kB / 0.8213 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.843e-05/0.006748, allocations: 80.14 kB / 0.8214 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.78e-05/0.006766, allocations: 11.95 kB / 0.8214 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.64e-05/0.006802, allocations: 21.7 kB / 0.8214 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.211e-05/0.006895, allocations: 314.8 kB / 0.8217 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.731e-05/0.006912, allocations: 7.938 kB / 0.8218 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.097e-05/0.006923, allocations: 0 / 0.8218 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.805e-05/0.006961, allocations: 16.84 kB / 0.8218 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.006963, allocations: 0 / 0.8218 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.392e-05/0.007037, allocations: 45.62 kB / 0.8218 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.007052, allocations: 4 kB / 0.8218 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.00706, allocations: 3.938 kB / 0.8218 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.007071, allocations: 4 kB / 0.8218 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.437e-05/0.007145, allocations: 11.98 kB / 0.8218 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.795e-06/0.007148, allocations: 0 / 0.8218 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.726e-05/0.007175, allocations: 7.953 kB / 0.8218 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.589e-06/0.00718, allocations: 0 / 0.8218 GB, free: 15.09 MB / 0.8073 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.316e-05/0.007253, allocations: 109.8 kB / 0.8219 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.478e-05/0.007278, allocations: 0 / 0.8219 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001088/0.007386, allocations: 57.23 kB / 0.822 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.007388, allocations: 0 / 0.822 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.135e-06/0.007391, allocations: 4 kB / 0.822 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.007395, allocations: 4.375 kB / 0.822 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001317/0.007527, allocations: 73.88 kB / 0.8221 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.007529, allocations: 256 / 0.8221 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.996e-05/0.007589, allocations: 15.98 kB / 0.8221 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.305e-06/0.007597, allocations: 4 kB / 0.8221 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.137e-06/0.007601, allocations: 3.984 kB / 0.8221 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.283e-06/0.007609, allocations: 4 kB / 0.8221 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.007614, allocations: 3.938 kB / 0.8221 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.007615, allocations: 0 / 0.8221 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00011/0.007725, allocations: 131.5 kB / 0.8222 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.121e-05/0.007736, allocations: 7.938 kB / 0.8222 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.19e-05/0.007798, allocations: 7.984 kB / 0.8222 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.768e-05/0.007846, allocations: 11.92 kB / 0.8223 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.269e-06/0.007851, allocations: 4 kB / 0.8223 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.551e-05/0.007866, allocations: 8.859 kB / 0.8223 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.007867, allocations: 0 / 0.8223 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002473/0.008114, allocations: 15.94 kB / 0.8223 GB, free: 14.59 MB / 0.8073 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.0002031/0.008317, allocations: 104.3 kB / 0.8224 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.861e-05/0.008406, allocations: 20.84 kB / 0.8224 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/0.00841, allocations: 0 / 0.8224 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.686e-05/0.008437, allocations: 20.78 kB / 0.8224 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002319/0.008669, allocations: 4 kB / 0.8224 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005272/0.009196, allocations: 124.5 kB / 0.8226 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.916e-05/0.009245, allocations: 59.2 kB / 0.8226 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.858e-05/0.009274, allocations: 4 kB / 0.8226 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.802e-05/0.009332, allocations: 59.38 kB / 0.8227 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of SimCode: time 8.51e-07/0.009333, allocations: 4 kB / 0.8227 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of Templates: time 0.003626/0.01296, allocations: 1.057 MB / 0.8237 GB, free: 13.08 MB / 0.8073 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Math.Examples.Binomial/Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.ref.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.333916999399662]