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.001672/0.001672, 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.001992/0.001992, allocations: 191.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.462/1.462, 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 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.597/2.597, allocations: 443.4 MB / 0.7321 GB, free: 12.27 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.001986/0.001986, allocations: 71.88 kB / 1.062 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7571/0.7591, allocations: 160.8 MB / 1.219 GB, free: 3.617 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001751/0.7609, allocations: 0.5869 MB / 1.219 GB, free: 3.184 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0004497/0.7613, allocations: 109.3 kB / 1.219 GB, free: 3.102 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.141e-05/0.7613, allocations: 0 / 1.219 GB, free: 3.102 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.173e-05/0.7614, allocations: 9.031 kB / 1.219 GB, free: 3.094 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.342e-06/0.7614, allocations: 0 / 1.219 GB, free: 3.094 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003694/0.7618, allocations: 37.8 kB / 1.219 GB, free: 3.07 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001325/0.7619, allocations: 60.09 kB / 1.219 GB, free: 3.043 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.749e-05/0.7619, allocations: 5.172 kB / 1.219 GB, free: 3.039 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.274e-05/0.762, allocations: 30.09 kB / 1.219 GB, free: 3.023 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.036e-05/0.762, allocations: 16.8 kB / 1.219 GB, free: 3.016 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.762, allocations: 3.219 kB / 1.219 GB, free: 3.016 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001601/0.7622, allocations: 59.47 kB / 1.219 GB, free: 2.98 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.717e-05/0.7623, allocations: 20.5 kB / 1.219 GB, free: 2.969 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.87e-05/0.7623, allocations: 21.8 kB / 1.219 GB, free: 2.953 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001693/0.7625, allocations: 76.75 kB / 1.22 GB, free: 2.906 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.7625, allocations: 0 / 1.22 GB, free: 2.906 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.392e-06/0.7625, allocations: 1.062 kB / 1.22 GB, free: 2.906 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.7625, allocations: 0 / 1.22 GB, free: 2.906 MB / 0.92 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.0006081/0.7631, allocations: 387.4 kB / 1.22 GB, free: 2.512 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.7631, allocations: 9.344 kB / 1.22 GB, free: 2.512 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.627e-05/0.7632, allocations: 9.125 kB / 1.22 GB, free: 2.508 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/0.7633, allocations: 162.3 kB / 1.22 GB, free: 2.312 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00029/0.7636, allocations: 282.6 kB / 1.22 GB, free: 1.988 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.7636, allocations: 7.656 kB / 1.22 GB, free: 1.984 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002833/0.7639, allocations: 78.52 kB / 1.22 GB, free: 1.926 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.7639, allocations: 3.938 kB / 1.22 GB, free: 1.922 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.7639, allocations: 4.938 kB / 1.22 GB, free: 1.918 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.7639, allocations: 1.094 kB / 1.22 GB, free: 1.918 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003723/0.7643, allocations: 139.7 kB / 1.221 GB, free: 1.848 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000208/0.7645, allocations: 179.2 kB / 1.221 GB, free: 1.637 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003298/0.7648, allocations: 90.97 kB / 1.221 GB, free: 1.582 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001503/0.765, allocations: 45.48 kB / 1.221 GB, free: 1.555 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.489e-05/0.765, allocations: 1.844 kB / 1.221 GB, free: 1.555 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/0.765, allocations: 30.56 kB / 1.221 GB, free: 1.516 MB / 0.92 GB Notification: Performance of pre-optimization done (n=11): time 1.523e-06/0.765, allocations: 0 / 1.221 GB, free: 1.516 MB / 0.92 GB Notification: Performance of matching and sorting (n=11): time 0.0005709/0.7656, allocations: 160.2 kB / 1.221 GB, free: 1.422 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.503e-05/0.7656, allocations: 53.69 kB / 1.221 GB, free: 1.359 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.115e-05/0.7657, allocations: 93.86 kB / 1.221 GB, free: 1.258 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.7657, allocations: 25.7 kB / 1.221 GB, free: 1.227 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.424e-05/0.7657, allocations: 89.52 kB / 1.221 GB, free: 1.137 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 5.587e-05/0.7658, allocations: 31.2 kB / 1.221 GB, free: 1.109 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.406e-05/0.7659, allocations: 30.77 kB / 1.221 GB, free: 1.082 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.766, allocations: 316.2 kB / 1.222 GB, free: 0.7656 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001374/0.7661, allocations: 34.88 kB / 1.222 GB, free: 0.75 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/0.7663, allocations: 27.98 kB / 1.222 GB, free: 0.7422 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002917/0.7666, allocations: 77.22 kB / 1.222 GB, free: 0.7031 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.7666, allocations: 3.938 kB / 1.222 GB, free: 0.6992 MB / 0.92 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003439/0.7669, allocations: 116.2 kB / 1.222 GB, free: 0.6289 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.7669, allocations: 13.27 kB / 1.222 GB, free: 0.6211 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.7669, allocations: 1.031 kB / 1.222 GB, free: 0.6211 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.7669, allocations: 0 / 1.222 GB, free: 0.6211 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001517/0.7671, allocations: 22.2 kB / 1.222 GB, free: 0.6172 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.7671, allocations: 1 kB / 1.222 GB, free: 0.6172 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.964e-05/0.7672, allocations: 2.938 kB / 1.222 GB, free: 0.6172 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.267e-05/0.7672, allocations: 15.75 kB / 1.222 GB, free: 0.6055 MB / 0.92 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 9.456e-05/0.7673, allocations: 122.3 kB / 1.222 GB, free: 492 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.216e-05/0.7673, allocations: 13.22 kB / 1.222 GB, free: 480 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.448e-05/0.7673, allocations: 21.05 kB / 1.222 GB, free: 460 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.7673, allocations: 1.031 kB / 1.222 GB, free: 460 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.7673, allocations: 0 / 1.222 GB, free: 460 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.7674, allocations: 1.062 kB / 1.222 GB, free: 460 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001597/0.7675, allocations: 175.8 kB / 1.222 GB, free: 248 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.7675, allocations: 0 / 1.222 GB, free: 248 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001228/0.7676, allocations: 32.97 kB / 1.222 GB, free: 232 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.7676, allocations: 5.062 kB / 1.222 GB, free: 228 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.7677, allocations: 5.812 kB / 1.222 GB, free: 224 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.7677, allocations: 1.062 kB / 1.222 GB, free: 224 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.7677, allocations: 0 / 1.222 GB, free: 224 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003717/0.768, allocations: 142 kB / 1.222 GB, free: 116 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.209e-05/0.7681, allocations: 78.3 kB / 1.223 GB, free: 20 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.133e-05/0.7681, allocations: 8.969 kB / 1.223 GB, free: 12 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.844e-05/0.7681, allocations: 8.25 kB / 1.223 GB, free: 8 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.255e-05/0.7682, allocations: 11.88 kB / 1.223 GB, free: 0 / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.324e-05/0.7682, allocations: 7.109 kB / 1.223 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.832e-05/0.7683, allocations: 75.28 kB / 1.223 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7.1e-08/0.7683, allocations: 0 / 1.223 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002521/0.7685, allocations: 28.67 kB / 1.223 GB, free: 15.91 MB / 0.9356 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.0002097/0.7687, allocations: 118.1 kB / 1.223 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003608/0.7691, allocations: 91.05 kB / 1.223 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.7691, allocations: 0 / 1.223 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001575/0.7693, allocations: 44.41 kB / 1.223 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001424/0.7694, allocations: 9.062 kB / 1.223 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000442/0.7699, allocations: 166.4 kB / 1.223 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003082/0.7702, allocations: 0.6865 MB / 1.224 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001763/0.7703, allocations: 43.39 kB / 1.224 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.297e-05/0.7704, allocations: 17.7 kB / 1.224 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of SimCode: time 3.2e-07/0.7704, allocations: 0 / 1.224 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of Templates: time 0.003847/0.7742, allocations: 1.074 MB / 1.225 GB, free: 14.32 MB / 0.9356 GB " [Timeout remaining time 299] 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.382662557065487]