Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002135/0.002135, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002757/0.002757, allocations: 216.4 kB / 22.25 MB, free: 5.262 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.491/1.491, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.712/2.712, allocations: 476 MB / 0.7699 GB, free: 4.793 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="Buildings_11_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.002179/0.002179, allocations: 69.08 kB / 1.117 GB, free: 41.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3433/0.3455, allocations: 170 MB / 1.283 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001986/0.3474, allocations: 0.5838 MB / 1.283 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0004383/0.3479, allocations: 99.66 kB / 1.283 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.338e-05/0.3479, allocations: 4 kB / 1.283 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.825e-05/0.3479, allocations: 0 / 1.283 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.883e-06/0.3479, allocations: 0 / 1.283 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003909/0.3483, allocations: 40 kB / 1.283 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001383/0.3485, allocations: 75.8 kB / 1.283 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.283e-05/0.3485, allocations: 4 kB / 1.283 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.022e-05/0.3486, allocations: 23.98 kB / 1.283 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.085e-05/0.3486, allocations: 23.95 kB / 1.283 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.045e-05/0.3486, allocations: 4 kB / 1.283 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001425/0.3488, allocations: 43.95 kB / 1.283 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.341e-05/0.3488, allocations: 31.95 kB / 1.284 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.902e-05/0.3489, allocations: 15.92 kB / 1.284 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001512/0.349, allocations: 77.03 kB / 1.284 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.349, allocations: 0 / 1.284 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.084e-06/0.349, allocations: 3.938 kB / 1.284 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.349, allocations: 0 / 1.284 GB, free: 11.45 MB / 0.9825 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.0005032/0.3495, allocations: 302.2 kB / 1.284 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.3496, allocations: 12.03 kB / 1.284 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.236e-05/0.3496, allocations: 34.75 kB / 1.284 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.767e-05/0.3497, allocations: 12.89 kB / 1.284 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.321e-05/0.3497, allocations: 110.5 kB / 1.284 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004237/0.3502, allocations: 0.5338 MB / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.866e-05/0.3502, allocations: 4.375 kB / 1.285 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002411/0.3504, allocations: 89.88 kB / 1.285 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.3504, allocations: 0 / 1.285 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.3504, allocations: 0 / 1.285 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.3504, allocations: 0 / 1.285 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003358/0.3508, allocations: 127.8 kB / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001899/0.351, allocations: 140.8 kB / 1.285 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003037/0.3513, allocations: 98.56 kB / 1.285 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001428/0.3514, allocations: 44.77 kB / 1.285 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.474e-05/0.3514, allocations: 4 kB / 1.285 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.417e-05/0.3515, allocations: 34.5 kB / 1.285 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.182e-06/0.3515, allocations: 0 / 1.285 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.0005319/0.352, allocations: 149.6 kB / 1.285 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.76e-05/0.3521, allocations: 51.41 kB / 1.285 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.962e-05/0.3521, allocations: 93.86 kB / 1.285 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/0.3521, allocations: 25.7 kB / 1.285 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.475e-05/0.3522, allocations: 80.36 kB / 1.285 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.335e-05/0.3522, allocations: 35.69 kB / 1.286 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.132e-05/0.3523, allocations: 33.64 kB / 1.286 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.3524, allocations: 318.8 kB / 1.286 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001337/0.3526, allocations: 35.91 kB / 1.286 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001348/0.3527, allocations: 31.97 kB / 1.286 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002689/0.353, allocations: 77.47 kB / 1.286 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.353, allocations: 0 / 1.286 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003194/0.3533, allocations: 113.5 kB / 1.286 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.3533, allocations: 14.12 kB / 1.286 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.3533, allocations: 0 / 1.286 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.3533, allocations: 0 / 1.286 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001512/0.3535, allocations: 31.91 kB / 1.286 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.3535, allocations: 0 / 1.286 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.901e-05/0.3535, allocations: 11.89 kB / 1.286 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.3535, allocations: 7.938 kB / 1.286 GB, free: 8.516 MB / 0.9825 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.332e-05/0.3536, allocations: 117.8 kB / 1.286 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.702e-05/0.3537, allocations: 7.938 kB / 1.286 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.215e-05/0.3537, allocations: 15.89 kB / 1.286 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.3537, allocations: 0 / 1.286 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/0.3537, allocations: 4 kB / 1.286 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.3537, allocations: 0 / 1.286 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001451/0.3539, allocations: 152.7 kB / 1.286 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3539, allocations: 0 / 1.286 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001155/0.354, allocations: 27.92 kB / 1.286 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.354, allocations: 3.938 kB / 1.286 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.354, allocations: 7.984 kB / 1.286 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.354, allocations: 4 kB / 1.286 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.354, allocations: 0 / 1.286 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003423/0.3543, allocations: 133 kB / 1.287 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.746e-05/0.3544, allocations: 19.81 kB / 1.287 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.679e-05/0.3544, allocations: 4 kB / 1.287 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.354e-05/0.3544, allocations: 8 kB / 1.287 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.235e-05/0.3545, allocations: 15.97 kB / 1.287 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.937e-06/0.3545, allocations: 4 kB / 1.287 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.62e-05/0.3545, allocations: 75.28 kB / 1.287 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3545, allocations: 0 / 1.287 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002195/0.3548, allocations: 20 kB / 1.287 GB, free: 7.836 MB / 0.9825 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.0007339/0.3555, allocations: 0.6904 MB / 1.287 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003326/0.3558, allocations: 83.88 kB / 1.288 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.3558, allocations: 4 kB / 1.288 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001451/0.356, allocations: 43.97 kB / 1.288 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001422/0.3561, allocations: 8 kB / 1.288 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000535/0.3566, allocations: 202.3 kB / 1.288 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.377e-05/0.3567, allocations: 70.19 kB / 1.288 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001826/0.3569, allocations: 43.95 kB / 1.288 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.195e-05/0.3569, allocations: 19.42 kB / 1.288 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of SimCode: time 4.21e-07/0.3569, allocations: 0 / 1.288 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02981/0.3868, allocations: 2.527 MB / 1.29 GB, free: 4.203 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.55, allocations: 5.156 kB / 1.29 GB, free: 4.203 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --stepSize=0.00636 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Functions_Examples_Binomial.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_Binomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 18.115107688121498]