Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001802/0.001802, allocations: 113 kB / 17.6 MB, free: 4.684 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.00209/0.00209, allocations: 186.8 kB / 20.78 MB, free: 1.52 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.461/1.461, allocations: 225.6 MB / 249.4 MB, free: 3.121 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.592/2.592, allocations: 443.5 MB / 0.7304 GB, free: 14.04 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.Utilities.Math.Functions.Examples.Binomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002021/0.002021, allocations: 71.91 kB / 1.059 GB, free: 376 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3469/0.3489, allocations: 160.7 MB / 1.216 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001726/0.3507, allocations: 0.5978 MB / 1.217 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0003893/0.3511, allocations: 107.6 kB / 1.217 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.614e-05/0.3511, allocations: 0 / 1.217 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.428e-05/0.3511, allocations: 0 / 1.217 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.783e-06/0.3511, allocations: 0 / 1.217 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003857/0.3515, allocations: 51.88 kB / 1.217 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001252/0.3516, allocations: 59.94 kB / 1.217 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.995e-05/0.3517, allocations: 0 / 1.217 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.641e-05/0.3517, allocations: 23.98 kB / 1.217 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.739e-05/0.3518, allocations: 27.89 kB / 1.217 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.632e-05/0.3518, allocations: 4 kB / 1.217 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001272/0.3519, allocations: 47.94 kB / 1.217 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.747e-05/0.352, allocations: 19.98 kB / 1.217 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.063e-05/0.352, allocations: 19.92 kB / 1.217 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001448/0.3521, allocations: 71.75 kB / 1.217 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3521, allocations: 8 kB / 1.217 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.212e-06/0.3521, allocations: 0 / 1.217 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.3521, allocations: 0 / 1.217 GB, free: 14.32 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.0005411/0.3527, allocations: 375.3 kB / 1.218 GB, free: 13.9 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.3527, allocations: 12.02 kB / 1.218 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.291e-05/0.3528, allocations: 4.938 kB / 1.218 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.3529, allocations: 172.3 kB / 1.218 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002906/0.3532, allocations: 277.6 kB / 1.218 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.503e-05/0.3532, allocations: 4.375 kB / 1.218 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002556/0.3534, allocations: 90.12 kB / 1.218 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.3535, allocations: 3.938 kB / 1.218 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.3535, allocations: 0 / 1.218 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.3535, allocations: 0 / 1.218 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003732/0.3539, allocations: 131.8 kB / 1.218 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000205/0.3541, allocations: 181.6 kB / 1.218 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002961/0.3544, allocations: 90.45 kB / 1.218 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001393/0.3545, allocations: 41.16 kB / 1.218 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.825e-05/0.3545, allocations: 11.92 kB / 1.218 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.3546, allocations: 38.56 kB / 1.219 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=11): time 1.162e-06/0.3546, allocations: 0 / 1.219 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.0005502/0.3551, allocations: 145.5 kB / 1.219 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/0.3551, allocations: 55.41 kB / 1.219 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.192e-05/0.3552, allocations: 93.8 kB / 1.219 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.3552, allocations: 25.7 kB / 1.219 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.314e-05/0.3552, allocations: 84.14 kB / 1.219 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.717e-05/0.3553, allocations: 43.67 kB / 1.219 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.272e-05/0.3554, allocations: 25.7 kB / 1.219 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.3555, allocations: 322.8 kB / 1.219 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/0.3556, allocations: 27.97 kB / 1.219 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.3558, allocations: 35.97 kB / 1.219 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002683/0.356, allocations: 68.81 kB / 1.219 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.356, allocations: 0 / 1.219 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003373/0.3564, allocations: 126.1 kB / 1.22 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.3564, allocations: 7.938 kB / 1.22 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.3564, allocations: 4 kB / 1.22 GB, free: 11.58 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.3564, allocations: 0 / 1.22 GB, free: 11.58 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/0.3566, allocations: 23.97 kB / 1.22 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.3566, allocations: 0 / 1.22 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.046e-05/0.3566, allocations: 11.94 kB / 1.22 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.745e-05/0.3566, allocations: 7.984 kB / 1.22 GB, free: 11.54 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.0001023/0.3568, allocations: 117.8 kB / 1.22 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.947e-05/0.3568, allocations: 11.89 kB / 1.22 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.148e-05/0.3568, allocations: 7.969 kB / 1.22 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.3568, allocations: 3.938 kB / 1.22 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.3568, allocations: 0 / 1.22 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.3568, allocations: 7.984 kB / 1.22 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002029/0.357, allocations: 173.7 kB / 1.22 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.357, allocations: 0 / 1.22 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001276/0.3572, allocations: 23.98 kB / 1.22 GB, free: 11.13 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.664e-06/0.3572, allocations: 7.938 kB / 1.22 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.3572, allocations: 7.984 kB / 1.22 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.3572, allocations: 0 / 1.22 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.3572, allocations: 0 / 1.22 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004083/0.3576, allocations: 145 kB / 1.22 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.956e-05/0.3577, allocations: 92.97 kB / 1.22 GB, free: 10.85 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.929e-05/0.3577, allocations: 3.938 kB / 1.22 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.666e-05/0.3577, allocations: 4 kB / 1.22 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.079e-05/0.3578, allocations: 11.98 kB / 1.22 GB, free: 10.83 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.3578, allocations: 11.98 kB / 1.22 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.961e-05/0.3578, allocations: 75.28 kB / 1.22 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3578, allocations: 0 / 1.22 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002305/0.3581, allocations: 20 kB / 1.22 GB, free: 10.72 MB / 0.9669 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.0002454/0.3583, allocations: 119.2 kB / 1.22 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003687/0.3587, allocations: 91.81 kB / 1.22 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3587, allocations: 3.938 kB / 1.22 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001512/0.3588, allocations: 43.97 kB / 1.221 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001466/0.359, allocations: 5.719 kB / 1.221 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004531/0.3594, allocations: 176.8 kB / 1.221 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000321/0.3598, allocations: 0.6923 MB / 1.221 GB, free: 9.539 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001861/0.3599, allocations: 39.95 kB / 1.221 GB, free: 9.5 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.414e-05/0.36, allocations: 15.42 kB / 1.221 GB, free: 9.488 MB / 0.9669 GB Notification: Performance of SimCode: time 9.12e-07/0.36, allocations: 0 / 1.221 GB, free: 9.488 MB / 0.9669 GB Notification: Performance of Templates: time 0.003911/0.3639, allocations: 1.049 MB / 1.222 GB, free: 8.441 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.Binomial.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_Binomial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.045432002283633]