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.001763/0.001763, allocations: 102.6 kB / 16.45 MB, free: 6.445 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.001987/0.001987, allocations: 188.6 kB / 19.4 MB, free: 3.66 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.482/1.482, allocations: 225.6 MB / 247.8 MB, free: 3.73 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.652/2.652, allocations: 443.5 MB / 0.7287 GB, free: 14.47 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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002184/0.002184, allocations: 75.88 kB / 1.056 GB, free: 2.367 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3056/0.3078, allocations: 160.7 MB / 1.213 GB, free: 1.348 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001807/0.3096, allocations: 0.5906 MB / 1.214 GB, free: 0.7539 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0004117/0.31, allocations: 107.6 kB / 1.214 GB, free: 0.6484 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.19e-05/0.31, allocations: 4 kB / 1.214 GB, free: 0.6445 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.284e-05/0.3101, allocations: 0 / 1.214 GB, free: 0.6445 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 6.121e-06/0.3101, allocations: 0 / 1.214 GB, free: 0.6445 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003785/0.3104, allocations: 47.83 kB / 1.214 GB, free: 0.5977 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001536/0.3106, allocations: 59.94 kB / 1.214 GB, free: 0.5391 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.492e-05/0.3106, allocations: 0 / 1.214 GB, free: 0.5391 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 4.095e-05/0.3107, allocations: 31.95 kB / 1.214 GB, free: 0.5078 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 4.849e-05/0.3107, allocations: 23.91 kB / 1.214 GB, free: 496 kB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.673e-05/0.3107, allocations: 4 kB / 1.214 GB, free: 492 kB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001322/0.3109, allocations: 43.95 kB / 1.214 GB, free: 448 kB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.528e-05/0.3109, allocations: 19.97 kB / 1.214 GB, free: 428 kB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.543e-05/0.3109, allocations: 27.92 kB / 1.214 GB, free: 400 kB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001604/0.3111, allocations: 72.05 kB / 1.214 GB, free: 328 kB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.3111, allocations: 3.984 kB / 1.214 GB, free: 324 kB / 0.9512 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3111, allocations: 0 / 1.214 GB, free: 324 kB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.106e-05/0.3111, allocations: 0 / 1.214 GB, free: 324 kB / 0.9512 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.0005673/0.3117, allocations: 375.3 kB / 1.214 GB, free: 15.9 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.3117, allocations: 8.031 kB / 1.214 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.629e-05/0.3118, allocations: 42.73 kB / 1.214 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.849e-05/0.3118, allocations: 8.938 kB / 1.214 GB, free: 15.83 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.3119, allocations: 172.3 kB / 1.215 GB, free: 15.62 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002849/0.3122, allocations: 277.5 kB / 1.215 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.96e-05/0.3122, allocations: 8.375 kB / 1.215 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002425/0.3125, allocations: 85.88 kB / 1.215 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.3125, allocations: 0 / 1.215 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.3125, allocations: 4 kB / 1.215 GB, free: 15.19 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.3125, allocations: 0 / 1.215 GB, free: 15.19 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003262/0.3128, allocations: 127.8 kB / 1.215 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000199/0.313, allocations: 185.6 kB / 1.215 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002797/0.3133, allocations: 86.62 kB / 1.215 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001366/0.3134, allocations: 48.92 kB / 1.215 GB, free: 14.69 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.629e-05/0.3135, allocations: 4 kB / 1.215 GB, free: 14.69 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.3135, allocations: 38.5 kB / 1.215 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=11): time 1.223e-06/0.3135, allocations: 0 / 1.215 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.000502/0.314, allocations: 137.6 kB / 1.215 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.3141, allocations: 55.41 kB / 1.216 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.766e-05/0.3141, allocations: 93.86 kB / 1.216 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.3141, allocations: 29.7 kB / 1.216 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.601e-05/0.3142, allocations: 80.14 kB / 1.216 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.3e-05/0.3142, allocations: 39.67 kB / 1.216 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.32e-05/0.3143, allocations: 29.64 kB / 1.216 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.3144, allocations: 318.8 kB / 1.216 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001299/0.3145, allocations: 31.91 kB / 1.216 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001223/0.3147, allocations: 39.97 kB / 1.216 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002535/0.3149, allocations: 77.41 kB / 1.216 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3149, allocations: 0 / 1.216 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003095/0.3152, allocations: 113.5 kB / 1.216 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.3152, allocations: 7.938 kB / 1.216 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.3152, allocations: 0 / 1.216 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.3153, allocations: 4 kB / 1.216 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001511/0.3154, allocations: 31.91 kB / 1.216 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.3154, allocations: 0 / 1.216 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.501e-05/0.3155, allocations: 11.94 kB / 1.216 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.498e-05/0.3155, allocations: 7.984 kB / 1.216 GB, free: 13.49 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 9.996e-05/0.3156, allocations: 113.8 kB / 1.217 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.283e-05/0.3156, allocations: 11.89 kB / 1.217 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.394e-05/0.3157, allocations: 11.97 kB / 1.217 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.3157, allocations: 3.984 kB / 1.217 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.3157, allocations: 0 / 1.217 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.3157, allocations: 3.984 kB / 1.217 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001604/0.3158, allocations: 181.6 kB / 1.217 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3158, allocations: 4 kB / 1.217 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001231/0.316, allocations: 23.92 kB / 1.217 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.316, allocations: 7.938 kB / 1.217 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.316, allocations: 3.984 kB / 1.217 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.316, allocations: 0 / 1.217 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.316, allocations: 0 / 1.217 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00034/0.3163, allocations: 141 kB / 1.217 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.314e-05/0.3164, allocations: 96.97 kB / 1.217 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.647e-05/0.3164, allocations: 0 / 1.217 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.557e-05/0.3164, allocations: 8 kB / 1.217 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.069e-05/0.3165, allocations: 7.984 kB / 1.217 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.197e-05/0.3165, allocations: 7.984 kB / 1.217 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.281e-05/0.3165, allocations: 75.28 kB / 1.217 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.3165, allocations: 0 / 1.217 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002327/0.3168, allocations: 20 kB / 1.217 GB, free: 12.68 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.0007651/0.3175, allocations: 0.7098 MB / 1.218 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000332/0.3179, allocations: 83.88 kB / 1.218 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3179, allocations: 0 / 1.218 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001439/0.318, allocations: 39.97 kB / 1.218 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001564/0.3182, allocations: 4 kB / 1.218 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005671/0.3187, allocations: 215 kB / 1.218 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003078/0.319, allocations: 0.69 MB / 1.219 GB, free: 10.85 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001767/0.3192, allocations: 35.97 kB / 1.219 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.846e-05/0.3193, allocations: 19.42 kB / 1.219 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of SimCode: time 4.81e-07/0.3193, allocations: 0 / 1.219 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0245/0.3438, allocations: 2.04 MB / 1.221 GB, free: 8.848 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.291/8.635, allocations: 10.17 kB / 1.221 GB, free: 8.844 MB / 0.9669 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Functions.Examples.Binomial_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --stepSize=0.00636 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Functions_Examples_Binomial.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 420.0] 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: 14.782180768903345]