Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008163/0.0008163, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008237/0.0008237, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.898/0.898, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.832/1.832, allocations: 389 MB / 0.633 GB, free: 12.67 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Binomial,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Binomial,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 0.9997 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.062e-05/2.253e-05, allocations: 6.219 kB / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.002937/0.002959, allocations: 1.549 MB / 1.001 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0004869/0.003446, allocations: 180 kB / 1.001 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.497e-05/0.003491, allocations: 0 / 1.001 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.356e-05/0.003525, allocations: 3.938 kB / 1.001 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.995e-05/0.003575, allocations: 7.938 kB / 1.001 GB, free: 11.76 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004114/0.003986, allocations: 59.75 kB / 1.001 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 8.966e-05/0.004076, allocations: 39.84 kB / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.004191, allocations: 8 kB / 1.001 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.329e-05/0.004244, allocations: 23.97 kB / 1.001 GB, free: 11.63 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.204e-05/0.004296, allocations: 11.98 kB / 1.001 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.056e-05/0.004317, allocations: 4 kB / 1.002 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003031/0.00462, allocations: 47.94 kB / 1.002 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.791e-05/0.004638, allocations: 11.92 kB / 1.002 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.44e-05/0.004662, allocations: 8 kB / 1.002 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001933/0.004856, allocations: 79.75 kB / 1.002 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.756e-06/0.004858, allocations: 4 kB / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.292e-06/0.00486, allocations: 4 kB / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.129e-06/0.004865, allocations: 0 / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000495/0.00536, allocations: 278.2 kB / 1.002 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/0.00541, allocations: 12.73 kB / 1.002 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.929e-05/0.00545, allocations: 30.75 kB / 1.002 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.225e-05/0.005482, allocations: 12.83 kB / 1.002 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.005588, allocations: 109.8 kB / 1.002 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.823e-05/0.005616, allocations: 4.375 kB / 1.002 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.273e-05/0.005629, allocations: 8.375 kB / 1.002 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002178/0.005847, allocations: 62.22 kB / 1.002 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.005859, allocations: 192 / 1.002 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.00587, allocations: 384 / 1.002 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.005878, allocations: 4.125 kB / 1.002 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000166/0.006044, allocations: 43.95 kB / 1.002 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004659/0.00651, allocations: 251.8 kB / 1.002 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000319/0.006829, allocations: 70.41 kB / 1.002 GB, free: 10.47 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.064e-05/0.00691, allocations: 24.91 kB / 1.003 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001707/0.00708, allocations: 11.98 kB / 1.003 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.007107, allocations: 34.56 kB / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 1.854e-06/0.007109, allocations: 0 / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0003745/0.007483, allocations: 93.56 kB / 1.003 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.474e-05/0.007528, allocations: 59.41 kB / 1.003 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.04e-05/0.007618, allocations: 113.8 kB / 1.003 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.007632, allocations: 25.7 kB / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.528e-05/0.007688, allocations: 88.09 kB / 1.003 GB, free: 9.977 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.894e-05/0.007706, allocations: 7.953 kB / 1.003 GB, free: 9.969 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.294e-05/0.007749, allocations: 17.7 kB / 1.003 GB, free: 9.945 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.007866, allocations: 314.8 kB / 1.003 GB, free: 9.629 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.918e-05/0.007945, allocations: 19.97 kB / 1.003 GB, free: 9.609 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.832e-05/0.008013, allocations: 19.98 kB / 1.003 GB, free: 9.59 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001424/0.008156, allocations: 52.75 kB / 1.003 GB, free: 9.535 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.008159, allocations: 3.938 kB / 1.003 GB, free: 9.531 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001958/0.008355, allocations: 77.59 kB / 1.003 GB, free: 9.449 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.008373, allocations: 4 kB / 1.003 GB, free: 9.445 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.00838, allocations: 4 kB / 1.003 GB, free: 9.441 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.008395, allocations: 0 / 1.003 GB, free: 9.441 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.472e-05/0.00847, allocations: 11.98 kB / 1.003 GB, free: 9.43 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.008477, allocations: 4 kB / 1.003 GB, free: 9.426 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.471e-05/0.008521, allocations: 7.984 kB / 1.003 GB, free: 9.418 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.00853, allocations: 0 / 1.003 GB, free: 9.418 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (bin.y,rea2Int.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.742e-05/0.008627, allocations: 113.8 kB / 1.004 GB, free: 9.297 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.008e-05/0.008657, allocations: 7.891 kB / 1.004 GB, free: 9.289 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002539/0.008911, allocations: 89.89 kB / 1.004 GB, free: 9.188 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.008914, allocations: 0 / 1.004 GB, free: 9.188 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.008919, allocations: 0 / 1.004 GB, free: 9.188 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.008922, allocations: 4 kB / 1.004 GB, free: 9.184 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000181/0.009103, allocations: 140.7 kB / 1.004 GB, free: 9.004 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.009105, allocations: 0 / 1.004 GB, free: 9.004 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.565e-05/0.009161, allocations: 8 kB / 1.004 GB, free: 8.996 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.95e-06/0.009166, allocations: 7.922 kB / 1.004 GB, free: 8.988 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.009177, allocations: 4 kB / 1.004 GB, free: 8.984 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.009179, allocations: 0 / 1.004 GB, free: 8.984 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.00918, allocations: 0 / 1.004 GB, free: 8.984 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002333/0.009414, allocations: 171.4 kB / 1.004 GB, free: 8.801 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.342e-05/0.009427, allocations: 7.953 kB / 1.004 GB, free: 8.793 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.644e-05/0.009443, allocations: 7.984 kB / 1.004 GB, free: 8.785 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.922e-05/0.009523, allocations: 8 kB / 1.004 GB, free: 8.777 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.499e-05/0.009578, allocations: 7.984 kB / 1.004 GB, free: 8.77 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.142e-06/0.009584, allocations: 4 kB / 1.004 GB, free: 8.766 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.608e-05/0.00963, allocations: 87.27 kB / 1.004 GB, free: 8.68 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.1e-07/0.00963, allocations: 0 / 1.004 GB, free: 8.68 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0003142/0.009944, allocations: 19.94 kB / 1.004 GB, free: 8.66 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (rea2Int.y,bin.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0006087/0.01055, allocations: 0.7163 MB / 1.005 GB, free: 7.918 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002057/0.01076, allocations: 51.88 kB / 1.005 GB, free: 7.867 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.01076, allocations: 0 / 1.005 GB, free: 7.867 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 7.621e-05/0.01084, allocations: 23.98 kB / 1.005 GB, free: 7.844 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000368/0.0112, allocations: 8 kB / 1.005 GB, free: 7.836 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001426/0.01263, allocations: 1.31 MB / 1.006 GB, free: 6.445 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.654e-05/0.01269, allocations: 63.34 kB / 1.006 GB, free: 6.363 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.591e-05/0.01272, allocations: 0 / 1.006 GB, free: 6.363 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.899e-05/0.01277, allocations: 20.48 kB / 1.006 GB, free: 6.344 MB / 0.9636 GB Notification: Performance of SimCode: time 7.21e-07/0.01277, allocations: 7.938 kB / 1.006 GB, free: 6.336 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02304/0.03581, allocations: 2.623 MB / 1.009 GB, free: 3.848 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.905/6.941, allocations: 2.031 kB / 1.009 GB, free: 3.848 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.Binomial_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_Binomial_fmu --startTime=0 --stopTime=11 --stepSize=0.0044 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_Binomial.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Binomial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.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.111307138577104]