Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001353/0.001353, allocations: 108.2 kB / 16.46 MB, free: 6.035 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.002415/0.002415, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.509/1.509, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.206/3.206, allocations: 497.2 MB / 0.7811 GB, free: 33.6 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002466/0.002466, allocations: 73.16 kB / 1.134 GB, free: 33.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3641/0.3665, allocations: 173.9 MB / 1.304 GB, free: 1.461 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.00167/0.3682, allocations: 0.5781 MB / 1.305 GB, free: 0.8867 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0003914/0.3686, allocations: 104 kB / 1.305 GB, free: 0.7852 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.32e-05/0.3686, allocations: 4 kB / 1.305 GB, free: 0.7812 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.955e-05/0.3687, allocations: 0 / 1.305 GB, free: 0.7812 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.412e-06/0.3687, allocations: 3.938 kB / 1.305 GB, free: 0.7773 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003559/0.369, allocations: 35.91 kB / 1.305 GB, free: 0.7422 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001421/0.3692, allocations: 71.91 kB / 1.305 GB, free: 0.6719 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.364e-05/0.3692, allocations: 0 / 1.305 GB, free: 0.6719 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.607e-05/0.3692, allocations: 19.98 kB / 1.305 GB, free: 0.6523 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.425e-05/0.3693, allocations: 31.89 kB / 1.305 GB, free: 0.6211 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.567e-05/0.3693, allocations: 0 / 1.305 GB, free: 0.6211 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001346/0.3694, allocations: 51.95 kB / 1.305 GB, free: 0.5703 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.275e-05/0.3695, allocations: 23.97 kB / 1.305 GB, free: 0.5469 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.26e-05/0.3695, allocations: 23.92 kB / 1.305 GB, free: 0.5234 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001562/0.3697, allocations: 68.05 kB / 1.305 GB, free: 468 kB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3697, allocations: 0 / 1.305 GB, free: 468 kB / 0.9981 GB Notification: Performance of FrontEnd: time 2.184e-06/0.3697, allocations: 0 / 1.305 GB, free: 468 kB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.441e-06/0.3697, allocations: 3.938 kB / 1.305 GB, free: 464 kB / 0.9981 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.0005827/0.3703, allocations: 375.4 kB / 1.305 GB, free: 36 kB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.3703, allocations: 16.61 kB / 1.305 GB, free: 20 kB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.573e-05/0.3704, allocations: 38.75 kB / 1.305 GB, free: 15.97 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.166e-05/0.3704, allocations: 8.891 kB / 1.305 GB, free: 15.96 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.3706, allocations: 172.3 kB / 1.306 GB, free: 15.76 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000316/0.3709, allocations: 285.5 kB / 1.306 GB, free: 15.42 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.554e-05/0.3709, allocations: 4.375 kB / 1.306 GB, free: 15.41 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002716/0.3712, allocations: 77.95 kB / 1.306 GB, free: 15.33 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.3712, allocations: 3.984 kB / 1.306 GB, free: 15.33 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.3712, allocations: 8 kB / 1.306 GB, free: 15.32 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.3712, allocations: 0 / 1.306 GB, free: 15.32 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003333/0.3715, allocations: 131.8 kB / 1.306 GB, free: 15.19 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002096/0.3717, allocations: 181.6 kB / 1.306 GB, free: 14.96 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000295/0.372, allocations: 94.52 kB / 1.306 GB, free: 14.86 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001398/0.3722, allocations: 40.83 kB / 1.306 GB, free: 14.82 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.3722, allocations: 0 / 1.306 GB, free: 14.82 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.3722, allocations: 38.5 kB / 1.306 GB, free: 14.77 MB / 1.014 GB Notification: Performance of pre-optimization done (n=11): time 9.32e-07/0.3722, allocations: 0 / 1.306 GB, free: 14.77 MB / 1.014 GB Notification: Performance of matching and sorting (n=11): time 0.0005386/0.3728, allocations: 145.6 kB / 1.307 GB, free: 14.62 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.339e-05/0.3728, allocations: 55.41 kB / 1.307 GB, free: 14.56 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.236e-05/0.3729, allocations: 89.86 kB / 1.307 GB, free: 14.46 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.514e-05/0.3729, allocations: 29.92 kB / 1.307 GB, free: 14.43 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 3.932e-05/0.3729, allocations: 88.08 kB / 1.307 GB, free: 14.34 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.294e-05/0.373, allocations: 39.62 kB / 1.307 GB, free: 14.3 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.384e-05/0.373, allocations: 25.7 kB / 1.307 GB, free: 14.27 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.3732, allocations: 318.8 kB / 1.307 GB, free: 13.95 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001296/0.3733, allocations: 27.98 kB / 1.307 GB, free: 13.92 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001231/0.3735, allocations: 39.97 kB / 1.307 GB, free: 13.88 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002555/0.3737, allocations: 77.47 kB / 1.307 GB, free: 13.8 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.3737, allocations: 0 / 1.307 GB, free: 13.8 MB / 1.014 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003234/0.374, allocations: 113.5 kB / 1.307 GB, free: 13.68 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.3741, allocations: 7.938 kB / 1.307 GB, free: 13.68 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3741, allocations: 0 / 1.307 GB, free: 13.68 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.3741, allocations: 3.984 kB / 1.307 GB, free: 13.67 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001565/0.3742, allocations: 31.92 kB / 1.307 GB, free: 13.64 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.3742, allocations: 0 / 1.307 GB, free: 13.64 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.812e-05/0.3743, allocations: 15.89 kB / 1.307 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.607e-05/0.3743, allocations: 7.984 kB / 1.307 GB, free: 13.62 MB / 1.014 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.000109/0.3744, allocations: 121.8 kB / 1.308 GB, free: 13.49 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.558e-05/0.3744, allocations: 3.938 kB / 1.308 GB, free: 13.48 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.981e-05/0.3745, allocations: 15.95 kB / 1.308 GB, free: 13.46 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.3745, allocations: 4 kB / 1.308 GB, free: 13.46 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.3745, allocations: 0 / 1.308 GB, free: 13.46 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.3745, allocations: 0 / 1.308 GB, free: 13.46 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001918/0.3747, allocations: 185.6 kB / 1.308 GB, free: 13.23 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3747, allocations: 0 / 1.308 GB, free: 13.23 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001239/0.3748, allocations: 23.92 kB / 1.308 GB, free: 13.2 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.752e-06/0.3748, allocations: 7.922 kB / 1.308 GB, free: 13.2 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.3748, allocations: 4 kB / 1.308 GB, free: 13.19 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.3748, allocations: 0 / 1.308 GB, free: 13.19 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3748, allocations: 0 / 1.308 GB, free: 13.19 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003581/0.3752, allocations: 141 kB / 1.308 GB, free: 13.04 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 6.306e-05/0.3753, allocations: 96.94 kB / 1.308 GB, free: 12.92 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/0.3753, allocations: 0 / 1.308 GB, free: 12.92 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.719e-05/0.3753, allocations: 8 kB / 1.308 GB, free: 12.91 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.472e-05/0.3754, allocations: 11.97 kB / 1.308 GB, free: 12.9 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.398e-06/0.3754, allocations: 4 kB / 1.308 GB, free: 12.9 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.272e-05/0.3755, allocations: 75.28 kB / 1.308 GB, free: 12.82 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.3755, allocations: 0 / 1.308 GB, free: 12.82 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002322/0.3757, allocations: 20 kB / 1.308 GB, free: 12.8 MB / 1.014 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.0008462/0.3765, allocations: 0.7021 MB / 1.309 GB, free: 12.07 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003442/0.3769, allocations: 83.88 kB / 1.309 GB, free: 11.99 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3769, allocations: 0 / 1.309 GB, free: 11.99 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001468/0.377, allocations: 39.97 kB / 1.309 GB, free: 11.95 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001504/0.3772, allocations: 15.47 kB / 1.309 GB, free: 11.94 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005834/0.3778, allocations: 206.4 kB / 1.309 GB, free: 11.7 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003641/0.3781, allocations: 0.6846 MB / 1.31 GB, free: 10.99 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002037/0.3783, allocations: 39.95 kB / 1.31 GB, free: 10.95 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.172e-05/0.3784, allocations: 20.19 kB / 1.31 GB, free: 10.93 MB / 1.014 GB Notification: Performance of SimCode: time 3.21e-07/0.3784, allocations: 0 / 1.31 GB, free: 10.93 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0246/0.403, allocations: 2.043 MB / 1.312 GB, free: 8.98 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.951/8.354, allocations: 14.5 kB / 1.312 GB, free: 8.969 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --stepSize=0.00636 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_Binomial.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_Binomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 15.179767235647887]