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.00162/0.00162, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.00214/0.00214, allocations: 193.8 kB / 22.17 MB, free: 5.656 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.529/1.529, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.838/2.838, allocations: 476.7 MB / 0.7645 GB, free: 10.11 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.001965/0.001965, allocations: 72.03 kB / 1.109 GB, free: 6.539 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8372/0.8392, allocations: 168.7 MB / 1.274 GB, free: 4.59 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.002571/0.8417, allocations: 0.586 MB / 1.275 GB, free: 4.008 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0004386/0.8422, allocations: 115.6 kB / 1.275 GB, free: 3.895 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.015e-05/0.8422, allocations: 4 kB / 1.275 GB, free: 3.891 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.023e-05/0.8422, allocations: 0 / 1.275 GB, free: 3.891 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.362e-06/0.8423, allocations: 0 / 1.275 GB, free: 3.891 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003747/0.8426, allocations: 35.91 kB / 1.275 GB, free: 3.855 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000145/0.8428, allocations: 67.86 kB / 1.275 GB, free: 3.789 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.608e-05/0.8428, allocations: 4 kB / 1.275 GB, free: 3.785 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.131e-05/0.8429, allocations: 23.92 kB / 1.275 GB, free: 3.762 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.678e-05/0.8429, allocations: 27.95 kB / 1.275 GB, free: 3.734 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.8429, allocations: 4 kB / 1.275 GB, free: 3.73 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001439/0.8431, allocations: 47.95 kB / 1.275 GB, free: 3.684 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.596e-05/0.8431, allocations: 27.95 kB / 1.275 GB, free: 3.656 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.777e-05/0.8432, allocations: 15.92 kB / 1.275 GB, free: 3.641 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001736/0.8433, allocations: 70.45 kB / 1.275 GB, free: 3.574 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.8434, allocations: 0 / 1.275 GB, free: 3.574 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.353e-06/0.8434, allocations: 0 / 1.275 GB, free: 3.574 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.8434, allocations: 0 / 1.275 GB, free: 3.574 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.0006434/0.844, allocations: 383.3 kB / 1.275 GB, free: 3.148 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.844, allocations: 12.03 kB / 1.275 GB, free: 3.137 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.103e-05/0.8441, allocations: 4.938 kB / 1.275 GB, free: 3.133 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.8442, allocations: 164.3 kB / 1.276 GB, free: 2.934 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00035/0.8446, allocations: 285.6 kB / 1.276 GB, free: 2.594 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.575e-05/0.8446, allocations: 8.375 kB / 1.276 GB, free: 2.586 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002623/0.8449, allocations: 74.2 kB / 1.276 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.8449, allocations: 3.938 kB / 1.276 GB, free: 2.504 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.8449, allocations: 4 kB / 1.276 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.8449, allocations: 4 kB / 1.276 GB, free: 2.496 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003729/0.8453, allocations: 131.8 kB / 1.276 GB, free: 2.367 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002512/0.8455, allocations: 189.5 kB / 1.276 GB, free: 2.133 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003474/0.8459, allocations: 94.45 kB / 1.276 GB, free: 2.031 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001487/0.846, allocations: 36.84 kB / 1.276 GB, free: 1.992 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.591e-05/0.8461, allocations: 4 kB / 1.276 GB, free: 1.988 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.8461, allocations: 38.55 kB / 1.276 GB, free: 1.941 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=11): time 1.112e-06/0.8461, allocations: 0 / 1.276 GB, free: 1.941 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.0005809/0.8467, allocations: 149.8 kB / 1.277 GB, free: 1.789 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.784e-05/0.8467, allocations: 63.33 kB / 1.277 GB, free: 1.715 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.286e-05/0.8468, allocations: 89.86 kB / 1.277 GB, free: 1.617 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.934e-05/0.8469, allocations: 29.7 kB / 1.277 GB, free: 1.582 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.241e-05/0.8469, allocations: 80.14 kB / 1.277 GB, free: 1.5 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 6.704e-05/0.847, allocations: 35.7 kB / 1.277 GB, free: 1.465 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.527e-05/0.847, allocations: 29.69 kB / 1.277 GB, free: 1.43 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.8472, allocations: 314.8 kB / 1.277 GB, free: 1.113 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001468/0.8473, allocations: 31.97 kB / 1.277 GB, free: 1.082 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001338/0.8475, allocations: 35.98 kB / 1.277 GB, free: 1.047 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002714/0.8478, allocations: 72.75 kB / 1.277 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.8478, allocations: 0 / 1.277 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003547/0.8481, allocations: 121.5 kB / 1.277 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.8481, allocations: 7.938 kB / 1.277 GB, free: 0.8398 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.8481, allocations: 0 / 1.277 GB, free: 0.8398 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.8482, allocations: 3.938 kB / 1.277 GB, free: 0.8359 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001608/0.8483, allocations: 27.98 kB / 1.278 GB, free: 0.8086 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.8483, allocations: 0 / 1.278 GB, free: 0.8086 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.826e-05/0.8484, allocations: 11.98 kB / 1.278 GB, free: 0.7969 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.283e-05/0.8484, allocations: 0 / 1.278 GB, free: 0.7969 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.0001287/0.8485, allocations: 122.7 kB / 1.278 GB, free: 0.668 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.044e-05/0.8486, allocations: 7.891 kB / 1.278 GB, free: 0.6602 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.329e-05/0.8486, allocations: 11.97 kB / 1.278 GB, free: 0.6484 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.8486, allocations: 4 kB / 1.278 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.8486, allocations: 0 / 1.278 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.8486, allocations: 3.984 kB / 1.278 GB, free: 0.6406 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002797/0.8489, allocations: 173.6 kB / 1.278 GB, free: 432 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.8489, allocations: 4 kB / 1.278 GB, free: 428 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001274/0.849, allocations: 31.91 kB / 1.278 GB, free: 396 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.849, allocations: 3.938 kB / 1.278 GB, free: 392 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.878e-06/0.849, allocations: 0 / 1.278 GB, free: 392 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.792e-06/0.8491, allocations: 8 kB / 1.278 GB, free: 384 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.8491, allocations: 0 / 1.278 GB, free: 384 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003876/0.8494, allocations: 145 kB / 1.278 GB, free: 220 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.489e-05/0.8495, allocations: 81.05 kB / 1.278 GB, free: 120 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.132e-05/0.8495, allocations: 11.94 kB / 1.278 GB, free: 108 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.673e-05/0.8496, allocations: 4 kB / 1.278 GB, free: 104 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.638e-05/0.8496, allocations: 15.97 kB / 1.278 GB, free: 88 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.595e-06/0.8496, allocations: 0 / 1.278 GB, free: 88 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.059e-05/0.8497, allocations: 79.28 kB / 1.278 GB, free: 8 kB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.8497, allocations: 3.938 kB / 1.278 GB, free: 4 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002461/0.8499, allocations: 20.05 kB / 1.278 GB, free: 15.98 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.0002225/0.8502, allocations: 119.7 kB / 1.278 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003579/0.8505, allocations: 88.75 kB / 1.278 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.8505, allocations: 0 / 1.278 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001537/0.8507, allocations: 47.89 kB / 1.278 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001435/0.8508, allocations: 4.438 kB / 1.278 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000461/0.8513, allocations: 184.7 kB / 1.279 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003464/0.8516, allocations: 0.6826 MB / 1.279 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.000179/0.8518, allocations: 39.95 kB / 1.279 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.551e-05/0.8518, allocations: 23.38 kB / 1.279 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of SimCode: time 3.1e-07/0.8518, allocations: 4 kB / 1.279 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of Templates: time 0.003861/0.8557, allocations: 1.047 MB / 1.28 GB, free: 13.7 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.921240088064224]