Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001331/0.001331, allocations: 108 kB / 16.45 MB, free: 6.391 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.001426/0.001426, allocations: 209.7 kB / 19.43 MB, free: 3.73 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.555/1.555, allocations: 230.6 MB / 252.8 MB, free: 8.973 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.349/3.349, allocations: 0.505 GB / 0.8066 GB, free: 23.16 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.Bicubic,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_Bicubic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Bicubic,fileNamePrefix="Buildings_latest_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.002113/0.002113, allocations: 79.69 kB / 1.172 GB, free: 17.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4461/0.4482, allocations: 180.2 MB / 1.348 GB, free: 10 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.003061/0.4513, allocations: 1.506 MB / 1.349 GB, free: 8.488 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0003685/0.4517, allocations: 127.6 kB / 1.349 GB, free: 8.363 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.878e-05/0.4517, allocations: 0 / 1.349 GB, free: 8.363 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.885e-05/0.4518, allocations: 0 / 1.349 GB, free: 8.363 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.529e-05/0.4518, allocations: 11.88 kB / 1.349 GB, free: 8.352 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002605/0.4521, allocations: 35.94 kB / 1.349 GB, free: 8.316 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001113/0.4522, allocations: 51.78 kB / 1.349 GB, free: 8.266 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.4523, allocations: 4 kB / 1.349 GB, free: 8.262 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 5.345e-05/0.4523, allocations: 15.92 kB / 1.349 GB, free: 8.246 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.577e-05/0.4524, allocations: 23.92 kB / 1.349 GB, free: 8.223 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.604e-05/0.4524, allocations: 4 kB / 1.349 GB, free: 8.219 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001116/0.4525, allocations: 39.95 kB / 1.35 GB, free: 8.18 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.263e-05/0.4526, allocations: 15.98 kB / 1.35 GB, free: 8.164 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.082e-05/0.4526, allocations: 31.73 kB / 1.35 GB, free: 8.133 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001668/0.4528, allocations: 71.94 kB / 1.35 GB, free: 8.062 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.4528, allocations: 4 kB / 1.35 GB, free: 8.059 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.433e-06/0.4528, allocations: 3.938 kB / 1.35 GB, free: 8.055 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.4528, allocations: 3.938 kB / 1.35 GB, free: 8.051 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006531/0.4534, allocations: 383.2 kB / 1.35 GB, free: 7.625 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/0.4535, allocations: 11.98 kB / 1.35 GB, free: 7.613 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.157e-05/0.4535, allocations: 38.75 kB / 1.35 GB, free: 7.566 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002977/0.4538, allocations: 44.84 kB / 1.35 GB, free: 7.523 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001636/0.454, allocations: 180.2 kB / 1.35 GB, free: 7.309 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.454, allocations: 384 / 1.35 GB, free: 7.309 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.018e-05/0.454, allocations: 8.375 kB / 1.35 GB, free: 7.301 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003372/0.4544, allocations: 106.2 kB / 1.35 GB, free: 7.191 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.4544, allocations: 11.94 kB / 1.35 GB, free: 7.18 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.4544, allocations: 3.984 kB / 1.35 GB, free: 7.176 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.513e-05/0.4544, allocations: 8 kB / 1.35 GB, free: 7.168 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004052/0.4548, allocations: 122 kB / 1.351 GB, free: 7.051 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006164/0.4554, allocations: 372.1 kB / 1.351 GB, free: 6.637 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002403/0.4557, allocations: 58.53 kB / 1.351 GB, free: 6.57 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001736/0.4559, allocations: 48.91 kB / 1.351 GB, free: 6.52 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.667e-05/0.4559, allocations: 0 / 1.351 GB, free: 6.52 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/0.4559, allocations: 34.56 kB / 1.351 GB, free: 6.477 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.4559, allocations: 0 / 1.351 GB, free: 6.477 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0005987/0.4565, allocations: 153.5 kB / 1.351 GB, free: 6.32 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/0.4566, allocations: 55.34 kB / 1.351 GB, free: 6.254 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/0.4567, allocations: 147.5 kB / 1.351 GB, free: 6.102 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.4567, allocations: 25.7 kB / 1.351 GB, free: 6.07 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 9.204e-05/0.4568, allocations: 120 kB / 1.351 GB, free: 5.949 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.299e-05/0.4568, allocations: 19.84 kB / 1.352 GB, free: 5.93 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.478e-05/0.4569, allocations: 25.72 kB / 1.352 GB, free: 5.898 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.457, allocations: 322.8 kB / 1.352 GB, free: 5.574 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001796/0.4572, allocations: 47.95 kB / 1.352 GB, free: 5.527 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002428/0.4575, allocations: 129.3 kB / 1.352 GB, free: 5.367 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004105/0.4579, allocations: 169.2 kB / 1.352 GB, free: 5.168 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.4579, allocations: 4 kB / 1.352 GB, free: 5.164 MB / 1.045 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004779/0.4584, allocations: 189.5 kB / 1.352 GB, free: 4.973 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.4584, allocations: 4 kB / 1.352 GB, free: 4.969 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.4584, allocations: 4 kB / 1.352 GB, free: 4.965 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.348e-05/0.4584, allocations: 12.28 kB / 1.352 GB, free: 4.953 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001942/0.4586, allocations: 35.97 kB / 1.352 GB, free: 4.918 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.4586, allocations: 7.938 kB / 1.352 GB, free: 4.91 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001518/0.4588, allocations: 27.88 kB / 1.352 GB, free: 4.883 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.949e-05/0.4588, allocations: 7.984 kB / 1.352 GB, free: 4.875 MB / 1.045 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.0001004/0.4589, allocations: 117.8 kB / 1.353 GB, free: 4.75 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.105e-05/0.4589, allocations: 7.953 kB / 1.353 GB, free: 4.742 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.359e-05/0.459, allocations: 12.25 kB / 1.353 GB, free: 4.723 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.926e-06/0.459, allocations: 19.86 kB / 1.353 GB, free: 4.703 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.459, allocations: 0 / 1.353 GB, free: 4.703 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.459, allocations: 0 / 1.353 GB, free: 4.703 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002088/0.4592, allocations: 181.5 kB / 1.353 GB, free: 4.477 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.4592, allocations: 0 / 1.353 GB, free: 4.477 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001247/0.4593, allocations: 19.92 kB / 1.353 GB, free: 4.457 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.4593, allocations: 0 / 1.353 GB, free: 4.457 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.4593, allocations: 4 kB / 1.353 GB, free: 4.453 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.4593, allocations: 7.922 kB / 1.353 GB, free: 4.445 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4593, allocations: 0 / 1.353 GB, free: 4.445 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004251/0.4598, allocations: 207.4 kB / 1.353 GB, free: 4.227 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 4.863e-05/0.4598, allocations: 81.06 kB / 1.353 GB, free: 4.129 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.844e-05/0.4598, allocations: 4 kB / 1.353 GB, free: 4.125 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/0.46, allocations: 15.91 kB / 1.353 GB, free: 4.109 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.415e-05/0.46, allocations: 12 kB / 1.353 GB, free: 4.098 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.46, allocations: 0 / 1.353 GB, free: 4.098 MB / 1.045 GB Notification: Performance of sorting global known variables: time 8.507e-05/0.4601, allocations: 108.8 kB / 1.353 GB, free: 3.992 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/0.4601, allocations: 0 / 1.353 GB, free: 3.992 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002489/0.4603, allocations: 12 kB / 1.353 GB, free: 3.98 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: 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.0007752/0.4611, allocations: 0.7436 MB / 1.354 GB, free: 3.211 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004233/0.4615, allocations: 108.4 kB / 1.354 GB, free: 3.105 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.4615, allocations: 7.938 kB / 1.354 GB, free: 3.098 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001744/0.4617, allocations: 43.95 kB / 1.354 GB, free: 3.055 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002662/0.462, allocations: 7.938 kB / 1.354 GB, free: 3.047 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006248/0.4626, allocations: 211.4 kB / 1.354 GB, free: 2.801 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003638/0.463, allocations: 0.6885 MB / 1.355 GB, free: 2.086 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 8.697e-05/0.4631, allocations: 24.41 kB / 1.355 GB, free: 2.062 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.805e-05/0.4631, allocations: 23.44 kB / 1.355 GB, free: 2.039 MB / 1.045 GB Notification: Performance of SimCode: time 2.81e-07/0.4631, allocations: 0 / 1.355 GB, free: 2.039 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03009/0.4932, allocations: 2.17 MB / 1.357 GB, free: 15.95 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.043/8.536, allocations: 13.72 kB / 1.357 GB, free: 15.94 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Utilities_Math_Examples_Bicubic.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Bicubic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Utilities.Math.Examples.Bicubic_res.csv. Warning: Get data of variable bicubic.y from file Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.821960733970627]