Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001743/0.001743, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002217/0.002217, allocations: 215.5 kB / 22.25 MB, free: 5.242 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.504/1.504, allocations: 230.6 MB / 256 MB, free: 7.797 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.289/3.289, allocations: 0.4892 GB / 0.7943 GB, free: 35.63 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.Examples.Binomial,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Binomial,fileNamePrefix="Buildings_12_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.002717/0.002717, allocations: 79.67 kB / 1.153 GB, free: 25.97 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4453/0.448, allocations: 176.1 MB / 1.325 GB, free: 2.508 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.004188/0.4522, allocations: 1.571 MB / 1.327 GB, free: 0.9297 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0007718/0.453, allocations: 175.4 kB / 1.327 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.205e-05/0.4531, allocations: 0 / 1.327 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.865e-05/0.4531, allocations: 3.938 kB / 1.327 GB, free: 0.7539 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.041e-05/0.4532, allocations: 7.984 kB / 1.327 GB, free: 0.7461 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005745/0.4538, allocations: 51.83 kB / 1.327 GB, free: 0.6953 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001302/0.4539, allocations: 39.91 kB / 1.327 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.454, allocations: 7.984 kB / 1.327 GB, free: 0.6484 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.109e-05/0.4541, allocations: 15.94 kB / 1.327 GB, free: 0.6328 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.898e-05/0.4542, allocations: 15.92 kB / 1.327 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.042e-05/0.4542, allocations: 4 kB / 1.327 GB, free: 0.6133 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001876/0.4544, allocations: 55.92 kB / 1.327 GB, free: 0.5586 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.201e-05/0.4544, allocations: 4 kB / 1.327 GB, free: 0.5547 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.619e-05/0.4544, allocations: 11.94 kB / 1.327 GB, free: 0.543 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002356/0.4547, allocations: 79.98 kB / 1.327 GB, free: 476 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.4547, allocations: 0 / 1.327 GB, free: 476 kB / 1.014 GB Notification: Performance of FrontEnd: time 2.695e-06/0.4547, allocations: 0 / 1.327 GB, free: 476 kB / 1.014 GB Notification: Performance of Transformations before backend: time 1.008e-05/0.4547, allocations: 0 / 1.327 GB, free: 476 kB / 1.014 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.0006723/0.4553, allocations: 282.2 kB / 1.327 GB, free: 160 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.39e-05/0.4554, allocations: 8.031 kB / 1.327 GB, free: 152 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.818e-05/0.4555, allocations: 38.75 kB / 1.327 GB, free: 104 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.046e-05/0.4555, allocations: 4.891 kB / 1.327 GB, free: 100 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001679/0.4557, allocations: 106.5 kB / 1.327 GB, free: 15.97 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.843e-05/0.4557, allocations: 4.375 kB / 1.327 GB, free: 15.96 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.052e-05/0.4557, allocations: 16.25 kB / 1.327 GB, free: 15.95 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002578/0.456, allocations: 62.22 kB / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.456, allocations: 3.938 kB / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.456, allocations: 4 kB / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.456, allocations: 4 kB / 1.328 GB, free: 15.87 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001951/0.4562, allocations: 39.95 kB / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005158/0.4567, allocations: 243.8 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003773/0.4571, allocations: 66.47 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.4572, allocations: 24.91 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002071/0.4574, allocations: 11.98 kB / 1.328 GB, free: 15.44 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.639e-05/0.4575, allocations: 34.56 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.433e-06/0.4575, allocations: 0 / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.000459/0.4579, allocations: 97.56 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.713e-05/0.458, allocations: 55.41 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.4581, allocations: 117.7 kB / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.4581, allocations: 25.7 kB / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.358e-05/0.4582, allocations: 84.14 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.665e-05/0.4582, allocations: 11.94 kB / 1.328 GB, free: 14.97 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.431e-05/0.4583, allocations: 13.72 kB / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.00022/0.4585, allocations: 322.8 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.149e-05/0.4586, allocations: 15.97 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.588e-05/0.4587, allocations: 20.17 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001802/0.4589, allocations: 56.89 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.4589, allocations: 0 / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002323/0.4591, allocations: 77.59 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.4591, allocations: 4 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.4591, allocations: 0 / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.4591, allocations: 0 / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.384e-05/0.4592, allocations: 11.98 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.4592, allocations: 4 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.816e-05/0.4593, allocations: 7.984 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.4593, allocations: 0 / 1.329 GB, free: 14.43 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: 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.0001079/0.4594, allocations: 118.3 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.192e-05/0.4594, allocations: 7.953 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002889/0.4597, allocations: 81.58 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.4597, allocations: 0 / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.4597, allocations: 3.984 kB / 1.329 GB, free: 14.19 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.4597, allocations: 8 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002179/0.4599, allocations: 140.7 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.4599, allocations: 0 / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.866e-05/0.46, allocations: 15.98 kB / 1.329 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.46, allocations: 0 / 1.329 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.46, allocations: 3.938 kB / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/0.46, allocations: 4 kB / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.46, allocations: 0 / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003166/0.4604, allocations: 175.4 kB / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.384e-05/0.4604, allocations: 8 kB / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/0.4604, allocations: 0 / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.305e-05/0.4605, allocations: 7.938 kB / 1.329 GB, free: 13.78 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.811e-05/0.4605, allocations: 15.92 kB / 1.329 GB, free: 13.76 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.4605, allocations: 0 / 1.329 GB, free: 13.76 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.35e-05/0.4606, allocations: 87.27 kB / 1.329 GB, free: 13.68 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4606, allocations: 4 kB / 1.329 GB, free: 13.67 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002561/0.4609, allocations: 12 kB / 1.33 GB, free: 13.66 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: 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.0007509/0.4616, allocations: 0.7241 MB / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002444/0.4619, allocations: 48.08 kB / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4619, allocations: 0 / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001036/0.462, allocations: 23.98 kB / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003288/0.4623, allocations: 10.59 kB / 1.33 GB, free: 12.83 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001672/0.464, allocations: 1.296 MB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.245e-05/0.464, allocations: 63.34 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.525e-05/0.4641, allocations: 4 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.802e-05/0.4641, allocations: 15.42 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of SimCode: time 8.21e-07/0.4641, allocations: 4 kB / 1.332 GB, free: 11.35 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03348/0.4976, allocations: 2.484 MB / 1.334 GB, free: 9 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.74, allocations: 0.7031 kB / 1.334 GB, free: 9 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.Binomial.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Math.Examples.Binomial_res.csv --start-time 0 --stop-time 11 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0044 Buildings_12_Buildings_Utilities_Math_Examples_Binomial.fmu > Buildings_12_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Binomial_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_Binomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Utilities.Math.Examples.Binomial_res.csv. Warning: Get data of variable bin.y from file Buildings_12_Buildings.Utilities.Math.Examples.Binomial_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.971017342060804]