Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001919/0.001919, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002263/0.002263, allocations: 186.9 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.784/2.784, allocations: 476.7 MB / 0.7646 GB, free: 9.859 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bin.1.|bin.2.|bin.3.|bin.4.|bin.5.|bin.6.|bin.7.|bin.8.|bin.9.|bin.10.",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bin.1.|bin.2.|bin.3.|bin.4.|bin.5.|bin.6.|bin.7.|bin.8.|bin.9.|bin.10.",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 67.89 kB / 1.11 GB, free: 6.246 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7649/0.7669, allocations: 168.8 MB / 1.274 GB, free: 4.16 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.00167/0.7686, allocations: 0.5811 MB / 1.275 GB, free: 3.586 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0003953/0.769, allocations: 103.6 kB / 1.275 GB, free: 3.484 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.001e-05/0.769, allocations: 8 kB / 1.275 GB, free: 3.477 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.471e-05/0.769, allocations: 7.922 kB / 1.275 GB, free: 3.469 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.851e-06/0.7691, allocations: 0 / 1.275 GB, free: 3.469 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003427/0.7694, allocations: 43.89 kB / 1.275 GB, free: 3.426 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000126/0.7695, allocations: 63.88 kB / 1.275 GB, free: 3.363 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.185e-05/0.7696, allocations: 4 kB / 1.275 GB, free: 3.359 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.777e-05/0.7696, allocations: 27.97 kB / 1.275 GB, free: 3.332 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.669e-05/0.7696, allocations: 19.97 kB / 1.275 GB, free: 3.312 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.06e-05/0.7697, allocations: 4 kB / 1.275 GB, free: 3.309 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001453/0.7698, allocations: 51.94 kB / 1.275 GB, free: 3.258 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.091e-05/0.7699, allocations: 19.98 kB / 1.275 GB, free: 3.238 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.899e-05/0.7699, allocations: 27.84 kB / 1.275 GB, free: 3.211 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001592/0.7701, allocations: 75.48 kB / 1.275 GB, free: 3.141 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.7701, allocations: 0 / 1.275 GB, free: 3.141 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.072e-06/0.7701, allocations: 0 / 1.275 GB, free: 3.141 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.529e-06/0.7701, allocations: 0 / 1.275 GB, free: 3.141 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005213/0.7706, allocations: 305 kB / 1.276 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.7706, allocations: 8.031 kB / 1.276 GB, free: 2.805 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.738e-05/0.7707, allocations: 4.938 kB / 1.276 GB, free: 2.801 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.6e-05/0.7708, allocations: 110.5 kB / 1.276 GB, free: 2.668 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003007/0.7711, allocations: 281.6 kB / 1.276 GB, free: 2.332 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.05e-05/0.7711, allocations: 8.312 kB / 1.276 GB, free: 2.324 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002758/0.7714, allocations: 82.19 kB / 1.276 GB, free: 2.238 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/0.7714, allocations: 3.938 kB / 1.276 GB, free: 2.234 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.7714, allocations: 0 / 1.276 GB, free: 2.234 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.7714, allocations: 0 / 1.276 GB, free: 2.234 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003932/0.7718, allocations: 135.8 kB / 1.276 GB, free: 2.102 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000198/0.772, allocations: 152.6 kB / 1.276 GB, free: 1.91 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003394/0.7723, allocations: 98.45 kB / 1.277 GB, free: 1.805 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001556/0.7725, allocations: 40.83 kB / 1.277 GB, free: 1.762 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.239e-05/0.7725, allocations: 3.984 kB / 1.277 GB, free: 1.758 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/0.7725, allocations: 34.56 kB / 1.277 GB, free: 1.715 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=11): time 1.052e-06/0.7725, allocations: 3.938 kB / 1.277 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.0005889/0.7731, allocations: 149.8 kB / 1.277 GB, free: 1.559 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.348e-05/0.7732, allocations: 55.41 kB / 1.277 GB, free: 1.492 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.039e-05/0.7732, allocations: 93.86 kB / 1.277 GB, free: 1.391 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.7732, allocations: 25.7 kB / 1.277 GB, free: 1.359 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.584e-05/0.7733, allocations: 80.14 kB / 1.277 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.329e-05/0.7733, allocations: 35.69 kB / 1.277 GB, free: 1.242 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.476e-05/0.7734, allocations: 33.64 kB / 1.277 GB, free: 1.203 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.7735, allocations: 314.8 kB / 1.277 GB, free: 0.8867 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001548/0.7737, allocations: 31.97 kB / 1.277 GB, free: 0.8555 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001473/0.7738, allocations: 31.97 kB / 1.277 GB, free: 0.8242 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003257/0.7741, allocations: 85.47 kB / 1.277 GB, free: 0.7383 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.7741, allocations: 0 / 1.277 GB, free: 0.7383 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003853/0.7745, allocations: 121.5 kB / 1.278 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.189e-05/0.7746, allocations: 11.94 kB / 1.278 GB, free: 0.6016 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.964e-06/0.7746, allocations: 0 / 1.278 GB, free: 0.6016 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.7746, allocations: 0 / 1.278 GB, free: 0.6016 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001793/0.7748, allocations: 23.92 kB / 1.278 GB, free: 0.5781 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.7748, allocations: 0 / 1.278 GB, free: 0.5781 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.597e-05/0.7748, allocations: 7.984 kB / 1.278 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.625e-05/0.7749, allocations: 12 kB / 1.278 GB, free: 0.5586 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 0.0001013/0.775, allocations: 117.8 kB / 1.278 GB, free: 444 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.139e-05/0.775, allocations: 11.89 kB / 1.278 GB, free: 432 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.057e-05/0.775, allocations: 7.906 kB / 1.278 GB, free: 420 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.775, allocations: 0 / 1.278 GB, free: 420 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.775, allocations: 0 / 1.278 GB, free: 420 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.775, allocations: 4 kB / 1.278 GB, free: 416 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001725/0.7752, allocations: 148.7 kB / 1.278 GB, free: 224 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.7752, allocations: 0 / 1.278 GB, free: 224 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001417/0.7754, allocations: 39.91 kB / 1.278 GB, free: 184 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.7754, allocations: 3.938 kB / 1.278 GB, free: 180 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.7754, allocations: 0 / 1.278 GB, free: 180 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.7754, allocations: 0 / 1.278 GB, free: 180 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.7754, allocations: 7.938 kB / 1.278 GB, free: 172 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004281/0.7758, allocations: 141 kB / 1.278 GB, free: 12 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.711e-06/0.7758, allocations: 0 / 1.278 GB, free: 12 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.222e-05/0.7758, allocations: 7.938 kB / 1.278 GB, free: 4 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.322e-05/0.7759, allocations: 8.047 kB / 1.278 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.482e-05/0.776, allocations: 11.92 kB / 1.278 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.776, allocations: 7.984 kB / 1.278 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.376e-05/0.776, allocations: 75.28 kB / 1.278 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.776, allocations: 0 / 1.278 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002427/0.7763, allocations: 27.94 kB / 1.278 GB, free: 15.88 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.000202/0.7765, allocations: 119 kB / 1.278 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003865/0.7769, allocations: 87.94 kB / 1.278 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.7769, allocations: 0 / 1.278 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001758/0.777, allocations: 43.91 kB / 1.278 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001515/0.7772, allocations: 5.562 kB / 1.278 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004354/0.7776, allocations: 165.6 kB / 1.279 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003338/0.778, allocations: 0.6807 MB / 1.279 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001791/0.7781, allocations: 39.95 kB / 1.279 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.219e-05/0.7782, allocations: 19.42 kB / 1.279 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of SimCode: time 4.11e-07/0.7782, allocations: 0 / 1.279 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of Templates: time 0.003845/0.782, allocations: 1.087 MB / 1.28 GB, free: 13.58 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_Binomial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.835323125123978]