Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.Bicubic.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.001269/0.001269, allocations: 107.6 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.001548/0.001548, 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.469/1.469, allocations: 230.6 MB / 252.8 MB, free: 8.949 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.376/3.376, allocations: 0.49 GB / 0.7916 GB, free: 33.41 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.Bicubic,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_Bicubic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Bicubic,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_Bicubic",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.002069/0.002069, allocations: 69.91 kB / 1.149 GB, free: 26.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4152/0.4173, allocations: 176.1 MB / 1.321 GB, free: 3.301 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.003146/0.4204, allocations: 1.509 MB / 1.322 GB, free: 1.785 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0003943/0.4208, allocations: 119.6 kB / 1.322 GB, free: 1.668 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.792e-05/0.4208, allocations: 0 / 1.322 GB, free: 1.668 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 5.877e-05/0.4209, allocations: 15.86 kB / 1.322 GB, free: 1.652 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.099e-05/0.421, allocations: 7.922 kB / 1.322 GB, free: 1.645 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002583/0.4212, allocations: 27.91 kB / 1.322 GB, free: 1.617 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001121/0.4213, allocations: 47.84 kB / 1.322 GB, free: 1.57 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.4214, allocations: 11.98 kB / 1.322 GB, free: 1.559 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.647e-05/0.4215, allocations: 15.94 kB / 1.323 GB, free: 1.543 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.099e-05/0.4216, allocations: 23.91 kB / 1.323 GB, free: 1.52 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.155e-05/0.4216, allocations: 4 kB / 1.323 GB, free: 1.516 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001094/0.4217, allocations: 35.97 kB / 1.323 GB, free: 1.48 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 5.401e-05/0.4217, allocations: 19.91 kB / 1.323 GB, free: 1.461 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 6.073e-05/0.4218, allocations: 23.86 kB / 1.323 GB, free: 1.438 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001959/0.422, allocations: 79.83 kB / 1.323 GB, free: 1.359 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.422, allocations: 0 / 1.323 GB, free: 1.359 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.935e-06/0.422, allocations: 4 kB / 1.323 GB, free: 1.355 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.695e-06/0.422, allocations: 0 / 1.323 GB, free: 1.355 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007752/0.4228, allocations: 383.2 kB / 1.323 GB, free: 0.9297 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.344e-05/0.4228, allocations: 11.98 kB / 1.323 GB, free: 0.918 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.91e-05/0.4229, allocations: 42.73 kB / 1.323 GB, free: 0.8672 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.746e-05/0.4229, allocations: 8.891 kB / 1.323 GB, free: 0.8594 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001785/0.4231, allocations: 172.3 kB / 1.323 GB, free: 0.6523 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.4231, allocations: 384 / 1.323 GB, free: 0.6523 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.05e-05/0.4231, allocations: 8.312 kB / 1.323 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003352/0.4235, allocations: 110.2 kB / 1.323 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.4235, allocations: 3.938 kB / 1.323 GB, free: 0.5273 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.4235, allocations: 3.984 kB / 1.323 GB, free: 0.5234 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.951e-05/0.4235, allocations: 8 kB / 1.323 GB, free: 0.5156 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004079/0.4239, allocations: 130.8 kB / 1.324 GB, free: 400 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005966/0.4245, allocations: 340.6 kB / 1.324 GB, free: 8 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002663/0.4248, allocations: 58.47 kB / 1.324 GB, free: 15.94 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001617/0.425, allocations: 32.92 kB / 1.324 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003415/0.4253, allocations: 133 kB / 1.324 GB, free: 15.76 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.595e-05/0.4253, allocations: 38.55 kB / 1.324 GB, free: 15.71 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.4253, allocations: 0 / 1.324 GB, free: 15.71 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0005989/0.4259, allocations: 133.5 kB / 1.324 GB, free: 15.57 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.531e-05/0.426, allocations: 55.34 kB / 1.324 GB, free: 15.51 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001497/0.4261, allocations: 156.4 kB / 1.324 GB, free: 15.35 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.4262, allocations: 25.7 kB / 1.324 GB, free: 15.32 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.902e-05/0.4263, allocations: 120 kB / 1.325 GB, free: 15.2 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.557e-05/0.4263, allocations: 11.89 kB / 1.325 GB, free: 15.18 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.696e-05/0.4263, allocations: 33.67 kB / 1.325 GB, free: 15.14 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001653/0.4265, allocations: 314.8 kB / 1.325 GB, free: 14.83 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001841/0.4267, allocations: 51.95 kB / 1.325 GB, free: 14.78 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003324/0.427, allocations: 125.3 kB / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004029/0.4274, allocations: 169.2 kB / 1.325 GB, free: 14.42 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.4274, allocations: 4 kB / 1.325 GB, free: 14.42 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004852/0.4279, allocations: 173.4 kB / 1.325 GB, free: 14.24 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.4279, allocations: 8 kB / 1.325 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.4279, allocations: 0 / 1.325 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/0.4279, allocations: 7.938 kB / 1.325 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001783/0.4281, allocations: 43.91 kB / 1.325 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.4281, allocations: 0 / 1.325 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001402/0.4283, allocations: 36.17 kB / 1.326 GB, free: 14.15 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.002e-05/0.4283, allocations: 8 kB / 1.326 GB, free: 14.14 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001099/0.4284, allocations: 121.8 kB / 1.326 GB, free: 14.01 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.306e-05/0.4284, allocations: 11.95 kB / 1.326 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004449/0.4289, allocations: 117.8 kB / 1.326 GB, free: 13.87 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.4289, allocations: 3.938 kB / 1.326 GB, free: 13.87 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.4289, allocations: 0 / 1.326 GB, free: 13.87 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.4289, allocations: 3.938 kB / 1.326 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002348/0.4291, allocations: 173.6 kB / 1.326 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.4291, allocations: 0 / 1.326 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001038/0.4292, allocations: 19.98 kB / 1.326 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.4292, allocations: 0 / 1.326 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.4292, allocations: 0 / 1.326 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.4292, allocations: 3.938 kB / 1.326 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.4292, allocations: 4 kB / 1.326 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004761/0.4297, allocations: 199.4 kB / 1.326 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.502e-05/0.4298, allocations: 85.06 kB / 1.326 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.743e-05/0.4298, allocations: 0 / 1.326 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.4299, allocations: 15.92 kB / 1.326 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.854e-05/0.43, allocations: 7.984 kB / 1.326 GB, free: 13.28 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.106e-06/0.43, allocations: 4 kB / 1.326 GB, free: 13.28 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.295e-05/0.4301, allocations: 109 kB / 1.326 GB, free: 13.17 MB / 1.029 GB Notification: Performance of sort global known variables: time 6.1e-08/0.4301, allocations: 0 / 1.326 GB, free: 13.17 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002911/0.4304, allocations: 23.92 kB / 1.326 GB, free: 13.15 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: 0 () * 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.0008388/0.4312, allocations: 0.74 MB / 1.327 GB, free: 12.38 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004319/0.4316, allocations: 111.8 kB / 1.327 GB, free: 12.27 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.4316, allocations: 0 / 1.327 GB, free: 12.27 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001647/0.4318, allocations: 35.97 kB / 1.327 GB, free: 12.24 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003448/0.4321, allocations: 16.5 kB / 1.327 GB, free: 12.22 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006512/0.4328, allocations: 203.4 kB / 1.327 GB, free: 11.98 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003805/0.4332, allocations: 0.6885 MB / 1.328 GB, free: 11.27 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.524e-05/0.4333, allocations: 24.41 kB / 1.328 GB, free: 11.25 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.773e-05/0.4333, allocations: 27.44 kB / 1.328 GB, free: 11.22 MB / 1.029 GB Notification: Performance of SimCode: time 2.8e-07/0.4333, allocations: 3.938 kB / 1.328 GB, free: 11.21 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0266/0.4599, allocations: 2.204 MB / 1.33 GB, free: 9.086 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.208/8.668, allocations: 7.938 kB / 1.33 GB, free: 9.078 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.Bicubic.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.Bicubic.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.Bicubic.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.Bicubic.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Math.Examples.Bicubic_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Utilities_Math_Examples_Bicubic.fmu > Buildings_12_Buildings.Utilities.Math.Examples.Bicubic.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Bicubic_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_Bicubic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Examples.Bicubic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable bicubic.y in file Buildings_12_Buildings.Utilities.Math.Examples.Bicubic_res.csv. Warning: Get data of variable bicubic.y from file Buildings_12_Buildings.Utilities.Math.Examples.Bicubic_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.72610495891422]