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.001611/0.001611, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.002429/0.002429, allocations: 220.4 kB / 22.25 MB, free: 5.105 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.473/1.473, allocations: 230.6 MB / 256 MB, free: 7.801 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.287/3.287, allocations: 0.49 GB / 0.7951 GB, free: 35.39 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.002122/0.002122, allocations: 66.78 kB / 1.154 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4085/0.4106, allocations: 176.1 MB / 1.326 GB, free: 1.508 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.003776/0.4144, allocations: 1.57 MB / 1.327 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0006191/0.415, allocations: 175.4 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.403e-05/0.4151, allocations: 0 / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.348e-05/0.4151, allocations: 3.938 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.34e-05/0.4152, allocations: 3.984 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004648/0.4157, allocations: 51.83 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.671e-05/0.4157, allocations: 39.97 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.4159, allocations: 16.2 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.536e-05/0.4159, allocations: 15.94 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.191e-05/0.416, allocations: 23.91 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.012e-05/0.416, allocations: 4 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001615/0.4162, allocations: 51.94 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.842e-05/0.4162, allocations: 4 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.719e-05/0.4162, allocations: 11.94 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002167/0.4164, allocations: 75.7 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.4164, allocations: 0 / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.543e-06/0.4164, allocations: 0 / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.4164, allocations: 4 kB / 1.328 GB, free: 15.46 MB / 1.029 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.0005571/0.417, allocations: 282.2 kB / 1.328 GB, free: 15.15 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.417, allocations: 12.03 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.472e-05/0.4171, allocations: 34.75 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.253e-05/0.4171, allocations: 4.891 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.4172, allocations: 110.5 kB / 1.328 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.334e-05/0.4173, allocations: 384 / 1.328 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.66e-05/0.4173, allocations: 8.375 kB / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002184/0.4175, allocations: 66.16 kB / 1.328 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.4175, allocations: 7.938 kB / 1.328 GB, free: 14.87 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.347e-06/0.4175, allocations: 4 kB / 1.328 GB, free: 14.87 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.4175, allocations: 0 / 1.328 GB, free: 14.87 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001902/0.4177, allocations: 43.95 kB / 1.328 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004515/0.4182, allocations: 235.9 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003591/0.4185, allocations: 66.45 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.4186, allocations: 32.84 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001681/0.4188, allocations: 19.97 kB / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/0.4188, allocations: 30.56 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.4188, allocations: 4 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0003985/0.4192, allocations: 89.58 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.867e-05/0.4193, allocations: 51.41 kB / 1.329 GB, free: 14.22 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.4194, allocations: 117.7 kB / 1.329 GB, free: 14.1 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.812e-05/0.4194, allocations: 29.7 kB / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.633e-05/0.4194, allocations: 88.12 kB / 1.329 GB, free: 13.97 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.105e-05/0.4195, allocations: 7.953 kB / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.979e-05/0.4195, allocations: 13.72 kB / 1.329 GB, free: 13.95 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001671/0.4197, allocations: 326.8 kB / 1.329 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001037/0.4198, allocations: 15.98 kB / 1.329 GB, free: 13.6 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.917e-05/0.4199, allocations: 15.98 kB / 1.329 GB, free: 13.59 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001731/0.42, allocations: 48.81 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.42, allocations: 4 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002277/0.4203, allocations: 77.59 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.4203, allocations: 9.391 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.4203, allocations: 0 / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.4203, allocations: 0 / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.002e-05/0.4204, allocations: 8 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.4204, allocations: 3.984 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.92e-05/0.4204, allocations: 4 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.73e-06/0.4205, allocations: 4 kB / 1.33 GB, free: 13.42 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.0001089/0.4206, allocations: 118.3 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.18e-05/0.4206, allocations: 11.94 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002852/0.4209, allocations: 85.58 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.4209, allocations: 0 / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.517e-06/0.4209, allocations: 4 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.4209, allocations: 0 / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001879/0.4211, allocations: 144.7 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.4211, allocations: 4 kB / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.326e-05/0.4212, allocations: 11.98 kB / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.4212, allocations: 0 / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.4212, allocations: 0 / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.4212, allocations: 0 / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.4212, allocations: 0 / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002876/0.4215, allocations: 175.8 kB / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.104e-05/0.4215, allocations: 7.953 kB / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.4215, allocations: 0 / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.488e-05/0.4216, allocations: 19.92 kB / 1.33 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.772e-05/0.4216, allocations: 4 kB / 1.33 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.573e-06/0.4217, allocations: 11.86 kB / 1.33 GB, free: 12.75 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.24e-05/0.4217, allocations: 87.28 kB / 1.33 GB, free: 12.66 MB / 1.029 GB Notification: Performance of sort global known variables: time 6.1e-08/0.4217, allocations: 0 / 1.33 GB, free: 12.66 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002493/0.422, allocations: 12 kB / 1.33 GB, free: 12.65 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.0007318/0.4227, allocations: 0.7202 MB / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002403/0.4229, allocations: 51.89 kB / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.423, allocations: 4 kB / 1.331 GB, free: 11.85 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000105/0.4231, allocations: 23.97 kB / 1.331 GB, free: 11.83 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000318/0.4234, allocations: 4 kB / 1.331 GB, free: 11.82 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001723/0.4251, allocations: 1.292 MB / 1.332 GB, free: 10.45 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.599e-05/0.4252, allocations: 63.34 kB / 1.332 GB, free: 10.37 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.551e-05/0.4252, allocations: 7.984 kB / 1.332 GB, free: 10.36 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.428e-05/0.4252, allocations: 11.44 kB / 1.332 GB, free: 10.35 MB / 1.029 GB Notification: Performance of SimCode: time 3.61e-07/0.4252, allocations: 0 / 1.332 GB, free: 10.35 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03097/0.4562, allocations: 2.509 MB / 1.335 GB, free: 7.977 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.48, allocations: 13.77 kB / 1.335 GB, free: 7.969 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.68491785999504]