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.001682/0.001682, allocations: 118.2 kB / 17.13 MB, free: 5.781 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.001911/0.001911, allocations: 191.7 kB / 20.08 MB, free: 2.871 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.579/1.579, allocations: 225.6 MB / 248.5 MB, free: 3.605 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.812/2.812, allocations: 443.5 MB / 0.7293 GB, free: 14.46 MB / 0.5762 GB " [Timeout remaining time 176] 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.001906/0.001906, allocations: 63.89 kB / 1.057 GB, free: 1.812 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3357/0.3376, allocations: 160.7 MB / 1.214 GB, free: 0.7812 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.002075/0.3397, allocations: 0.5858 MB / 1.215 GB, free: 196 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0004539/0.3402, allocations: 111.6 kB / 1.215 GB, free: 84 kB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.134e-05/0.3402, allocations: 0 / 1.215 GB, free: 84 kB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.32e-05/0.3402, allocations: 0 / 1.215 GB, free: 84 kB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 8.346e-06/0.3402, allocations: 0 / 1.215 GB, free: 84 kB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004017/0.3406, allocations: 47.89 kB / 1.215 GB, free: 36 kB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001605/0.3408, allocations: 59.94 kB / 1.215 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.792e-05/0.3408, allocations: 3.984 kB / 1.215 GB, free: 15.97 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.794e-05/0.3409, allocations: 27.97 kB / 1.215 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.516e-05/0.3409, allocations: 19.97 kB / 1.215 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.341, allocations: 3.938 kB / 1.215 GB, free: 15.92 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001658/0.3411, allocations: 47.95 kB / 1.215 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.344e-05/0.3412, allocations: 23.97 kB / 1.215 GB, free: 15.85 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.161e-05/0.3412, allocations: 19.92 kB / 1.215 GB, free: 15.83 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001747/0.3414, allocations: 71.75 kB / 1.215 GB, free: 15.76 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.3414, allocations: 8 kB / 1.215 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.644e-06/0.3414, allocations: 0 / 1.215 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.3414, allocations: 0 / 1.215 GB, free: 15.75 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.0006288/0.342, allocations: 375.3 kB / 1.215 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.3421, allocations: 8.031 kB / 1.215 GB, free: 15.33 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.089e-05/0.3421, allocations: 8.875 kB / 1.215 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001669/0.3423, allocations: 176.2 kB / 1.216 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003529/0.3426, allocations: 277.6 kB / 1.216 GB, free: 14.78 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.839e-05/0.3427, allocations: 8.375 kB / 1.216 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003296/0.343, allocations: 82.19 kB / 1.216 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.343, allocations: 3.938 kB / 1.216 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/0.343, allocations: 4 kB / 1.216 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.343, allocations: 0 / 1.216 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003845/0.3434, allocations: 131.8 kB / 1.216 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002469/0.3437, allocations: 181.6 kB / 1.216 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003354/0.344, allocations: 90.45 kB / 1.216 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001609/0.3442, allocations: 45.16 kB / 1.216 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.769e-05/0.3442, allocations: 0 / 1.216 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.443e-05/0.3442, allocations: 42.5 kB / 1.216 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=11): time 1.042e-06/0.3442, allocations: 0 / 1.216 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.0005879/0.3448, allocations: 145.5 kB / 1.217 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.631e-05/0.3449, allocations: 55.41 kB / 1.217 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.086e-05/0.3449, allocations: 89.86 kB / 1.217 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.673e-05/0.3449, allocations: 25.7 kB / 1.217 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.223e-05/0.345, allocations: 88.14 kB / 1.217 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 6.195e-05/0.345, allocations: 39.67 kB / 1.217 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.264e-05/0.3451, allocations: 25.7 kB / 1.217 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.3452, allocations: 318.8 kB / 1.217 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001456/0.3454, allocations: 31.91 kB / 1.217 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001428/0.3455, allocations: 35.97 kB / 1.217 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002884/0.3458, allocations: 69.47 kB / 1.217 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3458, allocations: 0 / 1.217 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003879/0.3462, allocations: 129.4 kB / 1.217 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.3462, allocations: 7.938 kB / 1.217 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.3462, allocations: 4 kB / 1.217 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.3462, allocations: 0 / 1.217 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001616/0.3464, allocations: 19.98 kB / 1.218 GB, free: 13 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.3464, allocations: 3.984 kB / 1.218 GB, free: 13 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.717e-05/0.3465, allocations: 11.94 kB / 1.218 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.416e-05/0.3465, allocations: 4 kB / 1.218 GB, free: 12.98 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.0001087/0.3466, allocations: 121.8 kB / 1.218 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.122e-05/0.3466, allocations: 11.89 kB / 1.218 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.558e-05/0.3467, allocations: 7.969 kB / 1.218 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.3467, allocations: 0 / 1.218 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.3467, allocations: 7.875 kB / 1.218 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.3467, allocations: 0 / 1.218 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001695/0.3469, allocations: 177.7 kB / 1.218 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.3469, allocations: 0 / 1.218 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001332/0.347, allocations: 23.97 kB / 1.218 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.347, allocations: 7.938 kB / 1.218 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.347, allocations: 4 kB / 1.218 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.347, allocations: 0 / 1.218 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.347, allocations: 0 / 1.218 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000437/0.3474, allocations: 145 kB / 1.218 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.83e-05/0.3475, allocations: 85.05 kB / 1.218 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.926e-05/0.3475, allocations: 7.875 kB / 1.218 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.596e-05/0.3476, allocations: 11.98 kB / 1.218 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.994e-05/0.3476, allocations: 11.98 kB / 1.218 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.285e-05/0.3476, allocations: 8 kB / 1.218 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.943e-05/0.3477, allocations: 75.28 kB / 1.218 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3477, allocations: 0 / 1.218 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003138/0.348, allocations: 23.98 kB / 1.218 GB, free: 12.16 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.000231/0.3482, allocations: 119.2 kB / 1.218 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003644/0.3486, allocations: 87.81 kB / 1.218 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3486, allocations: 4 kB / 1.218 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001659/0.3488, allocations: 39.97 kB / 1.218 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001413/0.3489, allocations: 8 kB / 1.218 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004428/0.3494, allocations: 186.5 kB / 1.219 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003406/0.3497, allocations: 0.6938 MB / 1.219 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.553e-05/0.3498, allocations: 23.42 kB / 1.219 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of SimCode: time 3.1e-07/0.3498, allocations: 0 / 1.219 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of Templates: time 0.003402/0.3532, allocations: 1.324 MB / 1.221 GB, free: 9.621 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 11.24355391599238]