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.001887/0.001887, 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.002515/0.002515, allocations: 219.5 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.492/1.492, allocations: 230.6 MB / 256 MB, free: 7.789 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.278/3.278, allocations: 0.49 GB / 0.7951 GB, free: 35.61 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.002063/0.002063, allocations: 71.28 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3983/0.4003, allocations: 176.1 MB / 1.326 GB, free: 1.5 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.002831/0.4032, allocations: 1.506 MB / 1.327 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0003316/0.4035, allocations: 111.6 kB / 1.327 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.475e-05/0.4035, allocations: 0 / 1.327 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.872e-05/0.4036, allocations: 7.922 kB / 1.327 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.129e-05/0.4036, allocations: 15.92 kB / 1.327 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000205/0.4038, allocations: 31.91 kB / 1.327 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.743e-05/0.4039, allocations: 39.91 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 8.487e-05/0.404, allocations: 11.98 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.089e-05/0.4041, allocations: 15.94 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.049e-05/0.4041, allocations: 23.91 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.838e-05/0.4041, allocations: 7.938 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.388e-05/0.4042, allocations: 31.97 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.815e-05/0.4043, allocations: 15.98 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.981e-05/0.4043, allocations: 23.86 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001486/0.4044, allocations: 83.81 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.4044, allocations: 0 / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.152e-06/0.4044, allocations: 0 / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.4044, allocations: 0 / 1.328 GB, free: 15.57 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005083/0.405, allocations: 302.1 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.405, allocations: 12.03 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.581e-05/0.405, allocations: 34.75 kB / 1.328 GB, free: 15.19 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.99e-05/0.4051, allocations: 8.891 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.4052, allocations: 126.4 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.4052, allocations: 384 / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.502e-05/0.4052, allocations: 16.25 kB / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002981/0.4055, allocations: 106.2 kB / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.4055, allocations: 3.938 kB / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.4055, allocations: 0 / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.94e-05/0.4056, allocations: 15.98 kB / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003446/0.4059, allocations: 115.9 kB / 1.328 GB, free: 14.78 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004597/0.4064, allocations: 303.8 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002128/0.4066, allocations: 58.47 kB / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001456/0.4067, allocations: 36.91 kB / 1.329 GB, free: 14.33 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002517/0.407, allocations: 51.97 kB / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.407, allocations: 30.56 kB / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.407, allocations: 4 kB / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0005489/0.4076, allocations: 137.5 kB / 1.329 GB, free: 14.1 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.77e-05/0.4076, allocations: 59.34 kB / 1.329 GB, free: 14.03 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001477/0.4078, allocations: 151.4 kB / 1.329 GB, free: 13.87 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.4078, allocations: 29.7 kB / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.183e-05/0.4079, allocations: 123.7 kB / 1.329 GB, free: 13.71 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.982e-05/0.4079, allocations: 15.91 kB / 1.329 GB, free: 13.7 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.857e-05/0.4079, allocations: 33.7 kB / 1.329 GB, free: 13.66 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.4081, allocations: 318.8 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001652/0.4083, allocations: 43.95 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002331/0.4085, allocations: 122.7 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003839/0.4089, allocations: 169.2 kB / 1.33 GB, free: 12.94 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.4089, allocations: 0 / 1.33 GB, free: 12.94 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004358/0.4093, allocations: 181.5 kB / 1.33 GB, free: 12.76 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.4093, allocations: 4 kB / 1.33 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.4093, allocations: 4.047 kB / 1.33 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.271e-05/0.4094, allocations: 16.23 kB / 1.33 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001555/0.4095, allocations: 35.91 kB / 1.33 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.248e-06/0.4095, allocations: 4 kB / 1.33 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.4096, allocations: 31.86 kB / 1.33 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.033e-05/0.4097, allocations: 8 kB / 1.33 GB, free: 12.66 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 9.96e-05/0.4098, allocations: 118.3 kB / 1.33 GB, free: 12.53 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.815e-05/0.4098, allocations: 7.953 kB / 1.33 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003782/0.4102, allocations: 125.9 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.4102, allocations: 7.938 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.4102, allocations: 4 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.4102, allocations: 0 / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001759/0.4104, allocations: 144.7 kB / 1.331 GB, free: 12.19 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.4104, allocations: 4 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.416e-05/0.4105, allocations: 15.98 kB / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.4105, allocations: 0 / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.293e-06/0.4105, allocations: 3.938 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.4105, allocations: 3.938 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4105, allocations: 0 / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003767/0.4109, allocations: 207.4 kB / 1.331 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.157e-05/0.4109, allocations: 3.953 kB / 1.331 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/0.4109, allocations: 0 / 1.331 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.411, allocations: 15.92 kB / 1.331 GB, free: 11.92 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.843e-05/0.4111, allocations: 7.984 kB / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.4111, allocations: 4 kB / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.404e-05/0.4112, allocations: 109 kB / 1.331 GB, free: 11.8 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4112, allocations: 0 / 1.331 GB, free: 11.8 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002532/0.4114, allocations: 12 kB / 1.331 GB, free: 11.79 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.0007797/0.4122, allocations: 0.7396 MB / 1.332 GB, free: 11.03 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003878/0.4126, allocations: 104.4 kB / 1.332 GB, free: 10.93 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.4126, allocations: 4 kB / 1.332 GB, free: 10.92 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001486/0.4127, allocations: 39.97 kB / 1.332 GB, free: 10.88 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003115/0.413, allocations: 7.938 kB / 1.332 GB, free: 10.88 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005144/0.4136, allocations: 199.4 kB / 1.332 GB, free: 10.64 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.209e-05/0.4136, allocations: 79.33 kB / 1.332 GB, free: 10.54 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.218e-05/0.4137, allocations: 28.41 kB / 1.332 GB, free: 10.52 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.512e-05/0.4138, allocations: 19.44 kB / 1.332 GB, free: 10.5 MB / 1.029 GB Notification: Performance of SimCode: time 2.81e-07/0.4138, allocations: 0 / 1.332 GB, free: 10.5 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03473/0.4485, allocations: 2.803 MB / 1.335 GB, free: 7.836 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.44, allocations: 10.58 kB / 1.335 GB, free: 7.832 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.445657762989867]