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.001529/0.001529, allocations: 113.2 kB / 17.08 MB, free: 5.926 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.001678/0.001679, allocations: 193.2 kB / 20.03 MB, free: 3.004 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.459/1.459, allocations: 222.9 MB / 245.7 MB, free: 4.219 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.661/2.661, allocations: 437.1 MB / 0.7178 GB, free: 4.52 MB / 0.5606 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.001982/0.001982, allocations: 67.89 kB / 1.028 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3041/0.3061, allocations: 151.6 MB / 1.176 GB, free: 5.828 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001601/0.3077, allocations: 0.5786 MB / 1.176 GB, free: 5.246 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0003924/0.3081, allocations: 108 kB / 1.177 GB, free: 5.141 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.344e-05/0.3081, allocations: 4 kB / 1.177 GB, free: 5.137 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.797e-05/0.3082, allocations: 0 / 1.177 GB, free: 5.137 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.905e-06/0.3082, allocations: 3.938 kB / 1.177 GB, free: 5.133 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003201/0.3085, allocations: 39.91 kB / 1.177 GB, free: 5.094 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001268/0.3087, allocations: 67.92 kB / 1.177 GB, free: 5.027 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.56e-05/0.3087, allocations: 4 kB / 1.177 GB, free: 5.023 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.501e-05/0.3087, allocations: 23.92 kB / 1.177 GB, free: 5 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.769e-05/0.3088, allocations: 27.95 kB / 1.177 GB, free: 4.973 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.578e-05/0.3088, allocations: 0 / 1.177 GB, free: 4.973 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001259/0.3089, allocations: 47.95 kB / 1.177 GB, free: 4.926 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.008e-05/0.309, allocations: 23.95 kB / 1.177 GB, free: 4.902 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.943e-05/0.309, allocations: 23.92 kB / 1.177 GB, free: 4.879 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001431/0.3092, allocations: 71.72 kB / 1.177 GB, free: 4.809 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3092, allocations: 0 / 1.177 GB, free: 4.809 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3092, allocations: 4 kB / 1.177 GB, free: 4.805 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.999e-06/0.3092, allocations: 0 / 1.177 GB, free: 4.805 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.0005353/0.3098, allocations: 375.4 kB / 1.177 GB, free: 4.387 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.3098, allocations: 8.031 kB / 1.177 GB, free: 4.379 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.94e-05/0.3098, allocations: 4.938 kB / 1.177 GB, free: 4.375 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.31, allocations: 164.3 kB / 1.177 GB, free: 4.176 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002886/0.3103, allocations: 293.5 kB / 1.178 GB, free: 3.828 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.722e-05/0.3103, allocations: 4.375 kB / 1.178 GB, free: 3.824 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002467/0.3105, allocations: 78.14 kB / 1.178 GB, free: 3.742 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.3106, allocations: 3.938 kB / 1.178 GB, free: 3.738 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.3106, allocations: 4 kB / 1.178 GB, free: 3.734 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.3106, allocations: 0 / 1.178 GB, free: 3.734 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003754/0.311, allocations: 139.8 kB / 1.178 GB, free: 3.598 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002038/0.3112, allocations: 185.5 kB / 1.178 GB, free: 3.367 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003179/0.3115, allocations: 94.53 kB / 1.178 GB, free: 3.266 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001532/0.3117, allocations: 44.77 kB / 1.178 GB, free: 3.219 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.596e-05/0.3117, allocations: 4 kB / 1.178 GB, free: 3.215 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.669e-05/0.3117, allocations: 30.56 kB / 1.178 GB, free: 3.176 MB / 0.92 GB Notification: Performance of pre-optimization done (n=11): time 1.453e-06/0.3117, allocations: 0 / 1.178 GB, free: 3.176 MB / 0.92 GB Notification: Performance of matching and sorting (n=11): time 0.0005771/0.3123, allocations: 154.1 kB / 1.178 GB, free: 3.02 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.3124, allocations: 55.34 kB / 1.178 GB, free: 2.953 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.089e-05/0.3124, allocations: 97.84 kB / 1.179 GB, free: 2.848 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.3124, allocations: 25.7 kB / 1.179 GB, free: 2.816 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.491e-05/0.3125, allocations: 80.14 kB / 1.179 GB, free: 2.734 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.995e-05/0.3125, allocations: 35.7 kB / 1.179 GB, free: 2.699 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.025e-05/0.3126, allocations: 29.7 kB / 1.179 GB, free: 2.664 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.3127, allocations: 318.8 kB / 1.179 GB, free: 2.344 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001434/0.3129, allocations: 35.91 kB / 1.179 GB, free: 2.309 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001385/0.313, allocations: 23.98 kB / 1.179 GB, free: 2.285 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002871/0.3133, allocations: 80.81 kB / 1.179 GB, free: 2.203 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3133, allocations: 0 / 1.179 GB, free: 2.203 MB / 0.92 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003508/0.3137, allocations: 117.5 kB / 1.179 GB, free: 2.082 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.3137, allocations: 14.11 kB / 1.179 GB, free: 2.07 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.3137, allocations: 0 / 1.179 GB, free: 2.07 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.3137, allocations: 0 / 1.179 GB, free: 2.07 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001472/0.3139, allocations: 27.92 kB / 1.179 GB, free: 2.043 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.3139, allocations: 0 / 1.179 GB, free: 2.043 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.859e-05/0.314, allocations: 15.92 kB / 1.179 GB, free: 2.027 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.314, allocations: 4 kB / 1.179 GB, free: 2.023 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 8.735e-05/0.3141, allocations: 113.8 kB / 1.179 GB, free: 1.902 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.835e-05/0.3141, allocations: 15.88 kB / 1.179 GB, free: 1.887 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.893e-05/0.3142, allocations: 7.969 kB / 1.179 GB, free: 1.871 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.545e-06/0.3142, allocations: 7.984 kB / 1.179 GB, free: 1.863 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.3142, allocations: 0 / 1.179 GB, free: 1.863 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.3142, allocations: 0 / 1.179 GB, free: 1.863 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001572/0.3144, allocations: 177.6 kB / 1.18 GB, free: 1.641 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3144, allocations: 0 / 1.18 GB, free: 1.641 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001303/0.3145, allocations: 35.97 kB / 1.18 GB, free: 1.605 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.3145, allocations: 7.875 kB / 1.18 GB, free: 1.598 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.3145, allocations: 0 / 1.18 GB, free: 1.598 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.3145, allocations: 4 kB / 1.18 GB, free: 1.594 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3145, allocations: 0 / 1.18 GB, free: 1.594 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003732/0.3149, allocations: 145 kB / 1.18 GB, free: 1.434 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.779e-05/0.315, allocations: 81.05 kB / 1.18 GB, free: 1.336 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.996e-05/0.315, allocations: 7.938 kB / 1.18 GB, free: 1.328 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.592e-05/0.3151, allocations: 4 kB / 1.18 GB, free: 1.324 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.534e-05/0.3151, allocations: 19.97 kB / 1.18 GB, free: 1.305 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.487e-06/0.3151, allocations: 4 kB / 1.18 GB, free: 1.301 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.127e-05/0.3152, allocations: 75.28 kB / 1.18 GB, free: 1.227 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3152, allocations: 0 / 1.18 GB, free: 1.227 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002246/0.3154, allocations: 24 kB / 1.18 GB, free: 1.203 MB / 0.92 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.0001998/0.3156, allocations: 115.2 kB / 1.18 GB, free: 1.082 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003713/0.316, allocations: 91.88 kB / 1.18 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.316, allocations: 0 / 1.18 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001643/0.3162, allocations: 52.66 kB / 1.18 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001392/0.3163, allocations: 10.17 kB / 1.18 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004048/0.3167, allocations: 186.7 kB / 1.18 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000304/0.3171, allocations: 0.6846 MB / 1.181 GB, free: 8 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.774e-05/0.3171, allocations: 19.48 kB / 1.181 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of SimCode: time 2.61e-07/0.3171, allocations: 4 kB / 1.181 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of Templates: time 0.003489/0.3206, allocations: 1.318 MB / 1.182 GB, free: 14.66 MB / 0.9356 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: 10.395521101076156]