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.001652/0.001652, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002249/0.002249, allocations: 212.4 kB / 22.24 MB, free: 5.262 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.58/1.58, allocations: 230.6 MB / 256 MB, free: 7.754 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.338/3.338, allocations: 0.4892 GB / 0.7943 GB, free: 35.67 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.002045/0.002045, allocations: 64.42 kB / 1.153 GB, free: 25.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4255/0.4275, allocations: 176.1 MB / 1.325 GB, free: 2.398 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.003939/0.4315, allocations: 1.501 MB / 1.327 GB, free: 0.8906 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0004405/0.4319, allocations: 111.7 kB / 1.327 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.712e-05/0.432, allocations: 0 / 1.327 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 6.145e-05/0.432, allocations: 3.938 kB / 1.327 GB, free: 0.7773 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.627e-05/0.4321, allocations: 15.86 kB / 1.327 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002729/0.4324, allocations: 27.95 kB / 1.327 GB, free: 0.7344 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001174/0.4325, allocations: 43.86 kB / 1.327 GB, free: 0.6914 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.4326, allocations: 11.98 kB / 1.327 GB, free: 0.6797 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.261e-05/0.4327, allocations: 19.92 kB / 1.327 GB, free: 0.6602 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.413e-05/0.4327, allocations: 15.92 kB / 1.327 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.914e-05/0.4327, allocations: 4 kB / 1.327 GB, free: 0.6406 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001108/0.4328, allocations: 39.95 kB / 1.327 GB, free: 0.6016 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.697e-05/0.4329, allocations: 15.92 kB / 1.327 GB, free: 0.5859 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.525e-05/0.4329, allocations: 19.86 kB / 1.327 GB, free: 0.5664 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001949/0.4331, allocations: 75.95 kB / 1.327 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.4331, allocations: 3.938 kB / 1.327 GB, free: 500 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.774e-06/0.4331, allocations: 0 / 1.327 GB, free: 500 kB / 1.014 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.4332, allocations: 4 kB / 1.327 GB, free: 496 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006106/0.4338, allocations: 311.3 kB / 1.327 GB, free: 152 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.4338, allocations: 8.031 kB / 1.327 GB, free: 144 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.394e-05/0.4339, allocations: 38.73 kB / 1.327 GB, free: 96 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.464e-05/0.4339, allocations: 4.891 kB / 1.327 GB, free: 92 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001487/0.434, allocations: 122.4 kB / 1.327 GB, free: 15.95 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.4341, allocations: 4.375 kB / 1.327 GB, free: 15.94 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.09e-05/0.4341, allocations: 384 / 1.327 GB, free: 15.94 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003421/0.4344, allocations: 114.2 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.4344, allocations: 3.938 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.4344, allocations: 0 / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.348e-05/0.4345, allocations: 15.97 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003818/0.4349, allocations: 123.8 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005706/0.4354, allocations: 299.8 kB / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002338/0.4357, allocations: 62.53 kB / 1.328 GB, free: 15.28 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001501/0.4358, allocations: 32.92 kB / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002952/0.4361, allocations: 55.94 kB / 1.328 GB, free: 15.19 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.043e-05/0.4361, allocations: 38.5 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.173e-06/0.4361, allocations: 3.938 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0005957/0.4367, allocations: 133.5 kB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.289e-05/0.4368, allocations: 59.33 kB / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001681/0.437, allocations: 151.7 kB / 1.328 GB, free: 14.77 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.437, allocations: 25.7 kB / 1.328 GB, free: 14.74 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.4371, allocations: 123.7 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.599e-05/0.4371, allocations: 11.91 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.831e-05/0.4372, allocations: 33.7 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.4373, allocations: 322.8 kB / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001706/0.4375, allocations: 47.95 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002225/0.4377, allocations: 113.3 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003937/0.4381, allocations: 173.2 kB / 1.329 GB, free: 13.85 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.4381, allocations: 0 / 1.329 GB, free: 13.85 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004673/0.4386, allocations: 189.3 kB / 1.329 GB, free: 13.66 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.4386, allocations: 8 kB / 1.329 GB, free: 13.65 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.4386, allocations: 0 / 1.329 GB, free: 13.65 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.764e-05/0.4386, allocations: 7.938 kB / 1.329 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001628/0.4388, allocations: 31.97 kB / 1.329 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.4388, allocations: 7.938 kB / 1.329 GB, free: 13.6 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001204/0.4389, allocations: 28.19 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.091e-05/0.4389, allocations: 8 kB / 1.33 GB, free: 13.57 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.0001165/0.4391, allocations: 126.4 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.933e-05/0.4391, allocations: 3.953 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004208/0.4395, allocations: 129.8 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.4395, allocations: 3.938 kB / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.4395, allocations: 0 / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.4395, allocations: 0 / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002002/0.4397, allocations: 140.7 kB / 1.33 GB, free: 13.1 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.4397, allocations: 0 / 1.33 GB, free: 13.1 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.663e-05/0.4398, allocations: 15.98 kB / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.4398, allocations: 0 / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.4398, allocations: 4 kB / 1.33 GB, free: 13.08 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.853e-06/0.4398, allocations: 7.938 kB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/0.4399, allocations: 3.984 kB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00041/0.4403, allocations: 203.6 kB / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.49e-05/0.4403, allocations: 3.953 kB / 1.33 GB, free: 12.85 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.841e-05/0.4403, allocations: 4 kB / 1.33 GB, free: 12.85 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.4404, allocations: 15.92 kB / 1.33 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.388e-05/0.4405, allocations: 11.98 kB / 1.33 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.4405, allocations: 4 kB / 1.33 GB, free: 12.82 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.438e-05/0.4406, allocations: 109 kB / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4406, allocations: 0 / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000273/0.4408, allocations: 19.94 kB / 1.33 GB, free: 12.69 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.000791/0.4416, allocations: 0.7358 MB / 1.331 GB, free: 11.93 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004174/0.442, allocations: 99.84 kB / 1.331 GB, free: 11.83 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.442, allocations: 0 / 1.331 GB, free: 11.83 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001468/0.4422, allocations: 40.47 kB / 1.331 GB, free: 11.79 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003384/0.4425, allocations: 22.59 kB / 1.331 GB, free: 11.77 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006102/0.4431, allocations: 199.5 kB / 1.331 GB, free: 11.54 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.529e-05/0.4432, allocations: 71.33 kB / 1.331 GB, free: 11.45 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.352e-05/0.4433, allocations: 24.41 kB / 1.331 GB, free: 11.43 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.781e-05/0.4434, allocations: 31.42 kB / 1.331 GB, free: 11.39 MB / 1.029 GB Notification: Performance of SimCode: time 5.42e-07/0.4434, allocations: 0 / 1.331 GB, free: 11.39 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03405/0.4774, allocations: 2.74 MB / 1.334 GB, free: 8.797 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.7, allocations: 8 kB / 1.334 GB, free: 8.789 MB / 1.029 GB " [Timeout remaining time 288] (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: 18.994337600190192]