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.001878/0.001878, allocations: 114.5 kB / 18.94 MB, free: 2.934 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.002585/0.002585, allocations: 217 kB / 22.25 MB, free: 5.082 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.536/1.536, allocations: 230.6 MB / 256 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] 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 3.52/3.52, allocations: 0.505 GB / 0.8101 GB, free: 22.05 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: 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.002026/0.002026, allocations: 69.67 kB / 1.177 GB, free: 17.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4112/0.4132, allocations: 180.2 MB / 1.353 GB, free: 8.457 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.003005/0.4162, allocations: 1.569 MB / 1.354 GB, free: 6.879 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0005371/0.4168, allocations: 179.4 kB / 1.355 GB, free: 6.703 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.703e-05/0.4168, allocations: 4 kB / 1.355 GB, free: 6.699 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.511e-05/0.4168, allocations: 3.938 kB / 1.355 GB, free: 6.695 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 4.952e-05/0.4169, allocations: 15.91 kB / 1.355 GB, free: 6.68 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003978/0.4173, allocations: 51.89 kB / 1.355 GB, free: 6.629 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 8.391e-05/0.4174, allocations: 31.91 kB / 1.355 GB, free: 6.598 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.4175, allocations: 8.281 kB / 1.355 GB, free: 6.59 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.764e-05/0.4175, allocations: 19.92 kB / 1.355 GB, free: 6.57 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.783e-05/0.4176, allocations: 19.92 kB / 1.355 GB, free: 6.551 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.881e-05/0.4176, allocations: 4 kB / 1.355 GB, free: 6.547 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001511/0.4178, allocations: 51.94 kB / 1.355 GB, free: 6.496 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.752e-05/0.4178, allocations: 7.984 kB / 1.355 GB, free: 6.488 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.114e-05/0.4178, allocations: 19.88 kB / 1.355 GB, free: 6.469 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001645/0.418, allocations: 67.77 kB / 1.355 GB, free: 6.402 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.418, allocations: 4 kB / 1.355 GB, free: 6.398 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.804e-06/0.418, allocations: 0 / 1.355 GB, free: 6.398 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.969e-06/0.418, allocations: 0 / 1.355 GB, free: 6.398 MB / 1.045 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.0005343/0.4185, allocations: 286.2 kB / 1.355 GB, free: 6.086 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.4186, allocations: 12.03 kB / 1.355 GB, free: 6.074 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.851e-05/0.4186, allocations: 34.73 kB / 1.355 GB, free: 6.031 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.255e-05/0.4186, allocations: 8.875 kB / 1.355 GB, free: 6.023 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.4187, allocations: 122.4 kB / 1.355 GB, free: 5.879 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.184e-05/0.4188, allocations: 8.375 kB / 1.355 GB, free: 5.871 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.293e-05/0.4188, allocations: 384 / 1.355 GB, free: 5.871 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002182/0.419, allocations: 62.22 kB / 1.355 GB, free: 5.805 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.419, allocations: 3.938 kB / 1.355 GB, free: 5.801 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.419, allocations: 4 kB / 1.355 GB, free: 5.797 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.419, allocations: 0 / 1.355 GB, free: 5.797 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002058/0.4192, allocations: 43.95 kB / 1.355 GB, free: 5.754 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000416/0.4197, allocations: 251.8 kB / 1.356 GB, free: 5.465 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003167/0.42, allocations: 58.53 kB / 1.356 GB, free: 5.398 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001118/0.4201, allocations: 24.91 kB / 1.356 GB, free: 5.371 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001519/0.4202, allocations: 11.98 kB / 1.356 GB, free: 5.359 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/0.4203, allocations: 38.56 kB / 1.356 GB, free: 5.312 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.4203, allocations: 0 / 1.356 GB, free: 5.312 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0003976/0.4207, allocations: 101.5 kB / 1.356 GB, free: 5.207 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.15e-05/0.4207, allocations: 55.41 kB / 1.356 GB, free: 5.141 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.948e-05/0.4208, allocations: 109.8 kB / 1.356 GB, free: 5.023 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.4208, allocations: 25.7 kB / 1.356 GB, free: 4.992 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.694e-05/0.4209, allocations: 92.2 kB / 1.356 GB, free: 4.898 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.666e-05/0.4209, allocations: 7.953 kB / 1.356 GB, free: 4.891 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.854e-05/0.421, allocations: 17.7 kB / 1.356 GB, free: 4.867 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002148/0.4212, allocations: 318.8 kB / 1.356 GB, free: 4.547 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.28e-05/0.4213, allocations: 19.97 kB / 1.357 GB, free: 4.527 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.491e-05/0.4214, allocations: 19.98 kB / 1.357 GB, free: 4.508 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000169/0.4215, allocations: 52.75 kB / 1.357 GB, free: 4.453 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.4215, allocations: 0 / 1.357 GB, free: 4.453 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002252/0.4217, allocations: 73.66 kB / 1.357 GB, free: 4.375 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.4218, allocations: 7.938 kB / 1.357 GB, free: 4.367 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.4218, allocations: 0 / 1.357 GB, free: 4.367 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.4218, allocations: 4 kB / 1.357 GB, free: 4.363 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.973e-05/0.4219, allocations: 7.984 kB / 1.357 GB, free: 4.355 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.4219, allocations: 4 kB / 1.357 GB, free: 4.352 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.906e-05/0.4219, allocations: 15.94 kB / 1.357 GB, free: 4.336 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.4219, allocations: 0 / 1.357 GB, free: 4.336 MB / 1.045 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.535e-05/0.422, allocations: 117.7 kB / 1.357 GB, free: 4.211 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.735e-05/0.4221, allocations: 4.328 kB / 1.357 GB, free: 4.207 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002826/0.4223, allocations: 85.56 kB / 1.357 GB, free: 4.113 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.4223, allocations: 4 kB / 1.357 GB, free: 4.109 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.4223, allocations: 4 kB / 1.357 GB, free: 4.105 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.4224, allocations: 0 / 1.357 GB, free: 4.105 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001919/0.4225, allocations: 148.6 kB / 1.357 GB, free: 3.918 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.4225, allocations: 0 / 1.357 GB, free: 3.918 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.674e-05/0.4226, allocations: 8 kB / 1.357 GB, free: 3.91 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.177e-06/0.4226, allocations: 3.984 kB / 1.357 GB, free: 3.906 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.4226, allocations: 0 / 1.357 GB, free: 3.906 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.4226, allocations: 4 kB / 1.357 GB, free: 3.902 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.4226, allocations: 0 / 1.357 GB, free: 3.902 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002994/0.4229, allocations: 179.3 kB / 1.357 GB, free: 3.711 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 8.596e-06/0.4229, allocations: 4 kB / 1.357 GB, free: 3.707 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.423, allocations: 7.984 kB / 1.357 GB, free: 3.699 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.464e-05/0.423, allocations: 4 kB / 1.357 GB, free: 3.695 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.244e-05/0.4231, allocations: 7.984 kB / 1.357 GB, free: 3.688 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.4231, allocations: 0 / 1.357 GB, free: 3.688 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.528e-05/0.4232, allocations: 87.27 kB / 1.357 GB, free: 3.602 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.4232, allocations: 8 kB / 1.357 GB, free: 3.594 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002521/0.4234, allocations: 12 kB / 1.357 GB, free: 3.582 MB / 1.045 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.000704/0.4241, allocations: 0.7239 MB / 1.358 GB, free: 2.832 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002538/0.4244, allocations: 55.89 kB / 1.358 GB, free: 2.777 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.4244, allocations: 0 / 1.358 GB, free: 2.777 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001097/0.4245, allocations: 23.97 kB / 1.358 GB, free: 2.754 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002996/0.4248, allocations: 4.547 kB / 1.358 GB, free: 2.75 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001631/0.4264, allocations: 1.292 MB / 1.359 GB, free: 1.379 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003925/0.4268, allocations: 0.6807 MB / 1.36 GB, free: 0.6719 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.211e-05/0.4268, allocations: 4 kB / 1.36 GB, free: 0.668 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.158e-05/0.4269, allocations: 15.42 kB / 1.36 GB, free: 0.6523 MB / 1.045 GB Notification: Performance of SimCode: time 3.51e-07/0.4269, allocations: 4 kB / 1.36 GB, free: 0.6484 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02892/0.4558, allocations: 2.048 MB / 1.362 GB, free: 14.72 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.49, allocations: 6.797 kB / 1.362 GB, free: 14.72 MB / 1.061 GB " [Timeout remaining time 288] (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/jenkins1/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: 18.746147201862186]