Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.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.00152/0.00152, allocations: 108.6 kB / 16.45 MB, free: 6.453 MB / 14.72 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.001646/0.001646, allocations: 216.2 kB / 19.43 MB, free: 3.625 MB / 14.72 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 1.567/1.567, allocations: 230.6 MB / 252.8 MB, free: 8.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.46/3.46, allocations: 0.49 GB / 0.7916 GB, free: 33.3 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.Functions.Examples.Binomial,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002084/0.002084, allocations: 71.06 kB / 1.149 GB, free: 26.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3988/0.4008, allocations: 176.1 MB / 1.321 GB, free: 3.395 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.002067/0.4029, allocations: 0.5948 MB / 1.321 GB, free: 2.805 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00045/0.4034, allocations: 100.1 kB / 1.322 GB, free: 2.707 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.345e-05/0.4034, allocations: 4 kB / 1.322 GB, free: 2.703 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.602e-05/0.4034, allocations: 3.984 kB / 1.322 GB, free: 2.699 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.821e-06/0.4034, allocations: 0 / 1.322 GB, free: 2.699 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003974/0.4038, allocations: 35.89 kB / 1.322 GB, free: 2.664 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001656/0.404, allocations: 59.94 kB / 1.322 GB, free: 2.605 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.322e-05/0.404, allocations: 4 kB / 1.322 GB, free: 2.602 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.547e-05/0.4041, allocations: 23.97 kB / 1.322 GB, free: 2.578 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.765e-05/0.4041, allocations: 27.91 kB / 1.322 GB, free: 2.551 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.4042, allocations: 8 kB / 1.322 GB, free: 2.543 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001674/0.4043, allocations: 55.94 kB / 1.322 GB, free: 2.488 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 5.067e-05/0.4044, allocations: 23.91 kB / 1.322 GB, free: 2.465 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.947e-05/0.4044, allocations: 19.91 kB / 1.322 GB, free: 2.445 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001795/0.4046, allocations: 68.06 kB / 1.322 GB, free: 2.379 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.4046, allocations: 3.938 kB / 1.322 GB, free: 2.375 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.493e-06/0.4046, allocations: 0 / 1.322 GB, free: 2.375 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.348e-06/0.4046, allocations: 0 / 1.322 GB, free: 2.375 MB / 1.014 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.0005947/0.4052, allocations: 379.4 kB / 1.322 GB, free: 1.953 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.37e-05/0.4053, allocations: 19.98 kB / 1.322 GB, free: 1.934 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.687e-05/0.4053, allocations: 38.75 kB / 1.322 GB, free: 1.887 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.077e-05/0.4054, allocations: 8.938 kB / 1.322 GB, free: 1.879 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.4055, allocations: 168.3 kB / 1.322 GB, free: 1.676 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003007/0.4058, allocations: 277.6 kB / 1.323 GB, free: 1.344 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.037e-05/0.4058, allocations: 4.375 kB / 1.323 GB, free: 1.34 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002677/0.4061, allocations: 89.88 kB / 1.323 GB, free: 1.246 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.4061, allocations: 3.938 kB / 1.323 GB, free: 1.242 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.4061, allocations: 0 / 1.323 GB, free: 1.242 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.4061, allocations: 4 kB / 1.323 GB, free: 1.238 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000381/0.4065, allocations: 135.8 kB / 1.323 GB, free: 1.105 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002079/0.4067, allocations: 173.6 kB / 1.323 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003211/0.407, allocations: 90.52 kB / 1.323 GB, free: 0.7891 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000159/0.4072, allocations: 40.83 kB / 1.323 GB, free: 0.7461 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.932e-05/0.4072, allocations: 7.984 kB / 1.323 GB, free: 0.7383 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/0.4072, allocations: 42.42 kB / 1.323 GB, free: 0.6875 MB / 1.014 GB Notification: Performance of pre-optimization done (n=11): time 1.102e-06/0.4072, allocations: 4 kB / 1.323 GB, free: 0.6836 MB / 1.014 GB Notification: Performance of matching and sorting (n=11): time 0.0005861/0.4078, allocations: 145.8 kB / 1.323 GB, free: 0.5352 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.429e-05/0.4079, allocations: 59.41 kB / 1.323 GB, free: 476 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.856e-05/0.4079, allocations: 89.86 kB / 1.324 GB, free: 376 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.408, allocations: 25.7 kB / 1.324 GB, free: 344 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 4.036e-05/0.408, allocations: 80.14 kB / 1.324 GB, free: 260 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.818e-05/0.4081, allocations: 35.69 kB / 1.324 GB, free: 224 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.935e-05/0.4081, allocations: 29.7 kB / 1.324 GB, free: 188 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001717/0.4083, allocations: 318.8 kB / 1.324 GB, free: 15.86 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001508/0.4084, allocations: 35.97 kB / 1.324 GB, free: 15.83 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001468/0.4086, allocations: 27.97 kB / 1.324 GB, free: 15.8 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003045/0.4089, allocations: 88.69 kB / 1.324 GB, free: 15.71 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.4089, allocations: 0 / 1.324 GB, free: 15.71 MB / 1.029 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003964/0.4093, allocations: 113.5 kB / 1.324 GB, free: 15.59 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.4093, allocations: 11.94 kB / 1.324 GB, free: 15.58 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.4093, allocations: 0 / 1.324 GB, free: 15.58 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.4093, allocations: 4 kB / 1.324 GB, free: 15.58 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001747/0.4095, allocations: 19.98 kB / 1.324 GB, free: 15.56 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.229e-05/0.4095, allocations: 7.984 kB / 1.324 GB, free: 15.55 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.746e-05/0.4096, allocations: 7.938 kB / 1.324 GB, free: 15.54 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.364e-05/0.4096, allocations: 3.938 kB / 1.324 GB, free: 15.54 MB / 1.029 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.0001104/0.4097, allocations: 121.8 kB / 1.324 GB, free: 15.41 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.262e-05/0.4097, allocations: 11.89 kB / 1.324 GB, free: 15.4 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.074e-05/0.4098, allocations: 11.97 kB / 1.324 GB, free: 15.38 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.4098, allocations: 0 / 1.324 GB, free: 15.38 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.4098, allocations: 8 kB / 1.324 GB, free: 15.37 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.4098, allocations: 0 / 1.324 GB, free: 15.37 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001652/0.41, allocations: 173.6 kB / 1.325 GB, free: 15.15 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.41, allocations: 0 / 1.325 GB, free: 15.15 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001291/0.4101, allocations: 27.97 kB / 1.325 GB, free: 15.12 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.4101, allocations: 3.938 kB / 1.325 GB, free: 15.12 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.4101, allocations: 4 kB / 1.325 GB, free: 15.12 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.4101, allocations: 0 / 1.325 GB, free: 15.12 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4101, allocations: 0 / 1.325 GB, free: 15.12 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003902/0.4105, allocations: 148.9 kB / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.589e-05/0.4106, allocations: 88.94 kB / 1.325 GB, free: 14.85 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.904e-05/0.4106, allocations: 4 kB / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.207e-05/0.4106, allocations: 7.984 kB / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.292e-05/0.4107, allocations: 11.98 kB / 1.325 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.4107, allocations: 4 kB / 1.325 GB, free: 14.82 MB / 1.029 GB Notification: Performance of sorting global known variables: time 3.294e-05/0.4107, allocations: 75.28 kB / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.4107, allocations: 0 / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002435/0.411, allocations: 27.98 kB / 1.325 GB, free: 14.72 MB / 1.029 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.0009008/0.4119, allocations: 0.6951 MB / 1.326 GB, free: 14 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003818/0.4123, allocations: 79.98 kB / 1.326 GB, free: 13.92 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.4123, allocations: 0 / 1.326 GB, free: 13.92 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001725/0.4124, allocations: 55.89 kB / 1.326 GB, free: 13.86 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001473/0.4126, allocations: 4 kB / 1.326 GB, free: 13.86 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006341/0.4132, allocations: 202.3 kB / 1.326 GB, free: 13.62 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003409/0.4136, allocations: 0.6845 MB / 1.327 GB, free: 12.91 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001568/0.4137, allocations: 39.95 kB / 1.327 GB, free: 12.87 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.307e-05/0.4138, allocations: 27.36 kB / 1.327 GB, free: 12.84 MB / 1.029 GB Notification: Performance of SimCode: time 5.61e-07/0.4138, allocations: 0 / 1.327 GB, free: 12.84 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02572/0.4395, allocations: 2.034 MB / 1.329 GB, free: 10.9 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.895/8.335, allocations: 12.41 kB / 1.329 GB, free: 10.89 MB / 1.029 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --stepSize=0.00636 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Functions_Examples_Binomial.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_Binomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.487525358097628]