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.001299/0.001299, allocations: 105.4 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.001543/0.001543, allocations: 213.7 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.531/1.531, allocations: 230.6 MB / 252.8 MB, free: 8.941 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.417/3.417, allocations: 0.505 GB / 0.8066 GB, free: 23.04 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.002113/0.002113, allocations: 82.86 kB / 1.172 GB, free: 17.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4356/0.4377, allocations: 180.2 MB / 1.348 GB, free: 9.965 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.003319/0.4411, allocations: 1.568 MB / 1.349 GB, free: 8.387 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0005057/0.4416, allocations: 179.4 kB / 1.349 GB, free: 8.211 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.358e-05/0.4416, allocations: 4 kB / 1.349 GB, free: 8.207 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.691e-05/0.4416, allocations: 7.922 kB / 1.349 GB, free: 8.199 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 4.067e-05/0.4417, allocations: 3.938 kB / 1.349 GB, free: 8.195 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003792/0.4421, allocations: 51.88 kB / 1.35 GB, free: 8.145 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 8.108e-05/0.4421, allocations: 31.92 kB / 1.35 GB, free: 8.113 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.763e-05/0.4422, allocations: 8 kB / 1.35 GB, free: 8.105 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.232e-05/0.4423, allocations: 23.92 kB / 1.35 GB, free: 8.082 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.14e-05/0.4423, allocations: 19.91 kB / 1.35 GB, free: 8.062 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.701e-05/0.4423, allocations: 4 kB / 1.35 GB, free: 8.059 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001296/0.4425, allocations: 47.95 kB / 1.35 GB, free: 8.012 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.407e-05/0.4425, allocations: 4 kB / 1.35 GB, free: 8.008 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.325e-05/0.4425, allocations: 23.84 kB / 1.35 GB, free: 7.984 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001655/0.4427, allocations: 68.06 kB / 1.35 GB, free: 7.918 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.4427, allocations: 0 / 1.35 GB, free: 7.918 MB / 1.045 GB Notification: Performance of FrontEnd: time 9.82e-07/0.4427, allocations: 0 / 1.35 GB, free: 7.918 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.4427, allocations: 0 / 1.35 GB, free: 7.918 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.0006194/0.4433, allocations: 359.3 kB / 1.35 GB, free: 7.516 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.303e-05/0.4434, allocations: 11.98 kB / 1.35 GB, free: 7.504 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.762e-05/0.4434, allocations: 42.73 kB / 1.35 GB, free: 7.453 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.058e-05/0.4435, allocations: 4.891 kB / 1.35 GB, free: 7.449 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001862/0.4436, allocations: 168.3 kB / 1.35 GB, free: 7.246 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.726e-05/0.4437, allocations: 384 / 1.35 GB, free: 7.246 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.908e-05/0.4437, allocations: 8.375 kB / 1.35 GB, free: 7.238 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002286/0.4439, allocations: 58.22 kB / 1.35 GB, free: 7.176 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.4439, allocations: 7.938 kB / 1.35 GB, free: 7.168 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/0.4439, allocations: 4 kB / 1.35 GB, free: 7.164 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.4439, allocations: 0 / 1.35 GB, free: 7.164 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000213/0.4442, allocations: 43.95 kB / 1.35 GB, free: 7.121 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005277/0.4447, allocations: 288.7 kB / 1.351 GB, free: 6.789 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003413/0.445, allocations: 58.53 kB / 1.351 GB, free: 6.723 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.4451, allocations: 20.91 kB / 1.351 GB, free: 6.699 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002665/0.4454, allocations: 178.1 kB / 1.351 GB, free: 6.488 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.4454, allocations: 30.56 kB / 1.351 GB, free: 6.449 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.4454, allocations: 0 / 1.351 GB, free: 6.449 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.000445/0.4459, allocations: 101.5 kB / 1.351 GB, free: 6.344 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.204e-05/0.4459, allocations: 51.41 kB / 1.351 GB, free: 6.281 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.465e-05/0.446, allocations: 109.8 kB / 1.351 GB, free: 6.164 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.415e-05/0.446, allocations: 25.7 kB / 1.351 GB, free: 6.133 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.035e-05/0.4461, allocations: 92.12 kB / 1.351 GB, free: 6.039 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.416e-05/0.4461, allocations: 3.953 kB / 1.351 GB, free: 6.035 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.669e-05/0.4462, allocations: 13.72 kB / 1.351 GB, free: 6.016 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.4463, allocations: 326.8 kB / 1.352 GB, free: 5.688 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/0.4464, allocations: 19.98 kB / 1.352 GB, free: 5.668 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.499e-05/0.4465, allocations: 15.98 kB / 1.352 GB, free: 5.652 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001822/0.4467, allocations: 52.75 kB / 1.352 GB, free: 5.598 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.4467, allocations: 0 / 1.352 GB, free: 5.598 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002285/0.4469, allocations: 77.98 kB / 1.352 GB, free: 5.516 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.4469, allocations: 15.92 kB / 1.352 GB, free: 5.5 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.4469, allocations: 3.984 kB / 1.352 GB, free: 5.496 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.447, allocations: 0 / 1.352 GB, free: 5.496 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.225e-05/0.447, allocations: 11.98 kB / 1.352 GB, free: 5.484 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.447, allocations: 0 / 1.352 GB, free: 5.484 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.817e-05/0.4471, allocations: 7.953 kB / 1.352 GB, free: 5.477 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.77e-06/0.4471, allocations: 0 / 1.352 GB, free: 5.477 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 0.000109/0.4472, allocations: 121.8 kB / 1.352 GB, free: 5.348 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.699e-05/0.4472, allocations: 3.984 kB / 1.352 GB, free: 5.344 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002818/0.4475, allocations: 85.48 kB / 1.352 GB, free: 5.246 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.4475, allocations: 0 / 1.352 GB, free: 5.246 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.4475, allocations: 0 / 1.352 GB, free: 5.246 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.4475, allocations: 0 / 1.352 GB, free: 5.246 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001929/0.4477, allocations: 173.5 kB / 1.352 GB, free: 5.027 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.4477, allocations: 0 / 1.352 GB, free: 5.027 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.424e-05/0.4478, allocations: 15.98 kB / 1.352 GB, free: 5.012 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.4478, allocations: 0 / 1.352 GB, free: 5.012 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.4478, allocations: 0 / 1.352 GB, free: 5.012 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.4478, allocations: 0 / 1.352 GB, free: 5.012 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.4478, allocations: 4 kB / 1.352 GB, free: 5.008 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002977/0.4481, allocations: 183.3 kB / 1.352 GB, free: 4.812 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.41e-05/0.4482, allocations: 81.11 kB / 1.352 GB, free: 4.715 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.4482, allocations: 0 / 1.352 GB, free: 4.715 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.721e-05/0.4483, allocations: 7.984 kB / 1.353 GB, free: 4.707 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.496e-05/0.4483, allocations: 4 kB / 1.353 GB, free: 4.703 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.818e-06/0.4483, allocations: 0 / 1.353 GB, free: 4.703 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.067e-05/0.4484, allocations: 99.5 kB / 1.353 GB, free: 4.605 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.4484, allocations: 0 / 1.353 GB, free: 4.605 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002475/0.4486, allocations: 16 kB / 1.353 GB, free: 4.59 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.0008401/0.4495, allocations: 0.7317 MB / 1.353 GB, free: 3.832 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002531/0.4497, allocations: 43.95 kB / 1.353 GB, free: 3.789 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.4497, allocations: 4 kB / 1.353 GB, free: 3.785 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001097/0.4498, allocations: 23.98 kB / 1.353 GB, free: 3.762 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003089/0.4501, allocations: 7.984 kB / 1.353 GB, free: 3.754 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001629/0.4518, allocations: 1.296 MB / 1.355 GB, free: 2.379 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003221/0.4521, allocations: 0.6768 MB / 1.355 GB, free: 1.676 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.535e-05/0.4521, allocations: 16.11 kB / 1.355 GB, free: 1.66 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.399e-05/0.4522, allocations: 19.42 kB / 1.355 GB, free: 1.641 MB / 1.045 GB Notification: Performance of SimCode: time 3.01e-07/0.4522, allocations: 0 / 1.355 GB, free: 1.641 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02528/0.4775, allocations: 1.919 MB / 1.357 GB, free: 15.8 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.98/8.458, allocations: 18.8 kB / 1.357 GB, free: 15.78 MB / 1.061 GB " [Timeout remaining time 291] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Examples.Binomial_res.csv --start-time 0 --stop-time 11 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0044 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.csv","/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] "Error: Could not read variable bin.y in file Buildings_latest_Buildings.Utilities.Math.Examples.Binomial_res.csv. Warning: Get data of variable bin.y from file Buildings_latest_Buildings.Utilities.Math.Examples.Binomial_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.797762338072062]