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.001349/0.001349, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001633/0.001633, allocations: 220.6 kB / 23.04 MB, free: 5.074 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.565/1.565, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.266/3.266, allocations: 0.5003 GB / 0.8061 GB, free: 26.76 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Bicubic,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_Bicubic",fmuType="cs",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.002034/0.002034, allocations: 66.09 kB / 1.171 GB, free: 19.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4685/0.4705, allocations: 179 MB / 1.345 GB, free: 428 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.002774/0.4733, allocations: 1.51 MB / 1.347 GB, free: 14.89 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0003353/0.4736, allocations: 119.6 kB / 1.347 GB, free: 14.78 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.205e-05/0.4736, allocations: 4 kB / 1.347 GB, free: 14.77 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.395e-05/0.4737, allocations: 7.984 kB / 1.347 GB, free: 14.77 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.939e-05/0.4737, allocations: 7.875 kB / 1.347 GB, free: 14.76 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002462/0.474, allocations: 23.97 kB / 1.347 GB, free: 14.73 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001039/0.4741, allocations: 47.78 kB / 1.347 GB, free: 14.69 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.658e-05/0.4742, allocations: 8 kB / 1.347 GB, free: 14.68 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 5.351e-05/0.4742, allocations: 19.92 kB / 1.347 GB, free: 14.66 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.669e-05/0.4743, allocations: 19.92 kB / 1.347 GB, free: 14.64 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.4743, allocations: 11.98 kB / 1.347 GB, free: 14.63 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001031/0.4744, allocations: 39.95 kB / 1.347 GB, free: 14.59 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.799e-05/0.4744, allocations: 15.92 kB / 1.347 GB, free: 14.57 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.703e-05/0.4745, allocations: 19.88 kB / 1.347 GB, free: 14.55 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.00017/0.4747, allocations: 95.8 kB / 1.347 GB, free: 14.46 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.4747, allocations: 0 / 1.347 GB, free: 14.46 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.162e-06/0.4747, allocations: 0 / 1.347 GB, free: 14.46 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.4747, allocations: 0 / 1.347 GB, free: 14.46 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.0005634/0.4752, allocations: 302.1 kB / 1.348 GB, free: 14.13 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.4753, allocations: 16.03 kB / 1.348 GB, free: 14.12 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.111e-05/0.4753, allocations: 192 / 1.348 GB, free: 14.12 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.296e-05/0.4753, allocations: 30.75 kB / 1.348 GB, free: 14.08 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002844/0.4756, allocations: 48.78 kB / 1.348 GB, free: 14.03 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.4757, allocations: 122.4 kB / 1.348 GB, free: 13.89 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.153e-06/0.4757, allocations: 384 / 1.348 GB, free: 13.89 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.951e-05/0.4757, allocations: 4.375 kB / 1.348 GB, free: 13.88 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003554/0.4761, allocations: 120.8 kB / 1.348 GB, free: 13.76 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.4761, allocations: 0 / 1.348 GB, free: 13.76 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.4761, allocations: 4 kB / 1.348 GB, free: 13.76 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.783e-05/0.4761, allocations: 11.98 kB / 1.348 GB, free: 13.75 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003926/0.4765, allocations: 119.9 kB / 1.348 GB, free: 13.63 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000602/0.4771, allocations: 354.6 kB / 1.348 GB, free: 13.24 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000227/0.4774, allocations: 62.53 kB / 1.348 GB, free: 13.17 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001641/0.4775, allocations: 40.92 kB / 1.348 GB, free: 13.12 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.335e-05/0.4775, allocations: 0 / 1.348 GB, free: 13.12 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/0.4776, allocations: 42.55 kB / 1.348 GB, free: 13.07 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 7.91e-07/0.4776, allocations: 0 / 1.348 GB, free: 13.07 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0005795/0.4782, allocations: 153.5 kB / 1.349 GB, free: 12.92 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/0.4782, allocations: 51.41 kB / 1.349 GB, free: 12.86 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.4783, allocations: 143.7 kB / 1.349 GB, free: 12.71 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.4784, allocations: 29.7 kB / 1.349 GB, free: 12.67 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.818e-05/0.4784, allocations: 124 kB / 1.349 GB, free: 12.55 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.646e-05/0.4785, allocations: 15.78 kB / 1.349 GB, free: 12.53 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.787e-05/0.4785, allocations: 29.7 kB / 1.349 GB, free: 12.5 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.4787, allocations: 318.8 kB / 1.349 GB, free: 12.18 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001842/0.4789, allocations: 51.94 kB / 1.349 GB, free: 12.12 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002322/0.4791, allocations: 119.5 kB / 1.349 GB, free: 11.98 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004071/0.4795, allocations: 185.2 kB / 1.35 GB, free: 11.76 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.4795, allocations: 0 / 1.35 GB, free: 11.76 MB / 1.045 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004993/0.48, allocations: 189.3 kB / 1.35 GB, free: 11.57 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.48, allocations: 8 kB / 1.35 GB, free: 11.56 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.48, allocations: 0 / 1.35 GB, free: 11.56 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.168e-05/0.48, allocations: 7.938 kB / 1.35 GB, free: 11.55 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001922/0.4802, allocations: 39.97 kB / 1.35 GB, free: 11.52 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.4802, allocations: 3.938 kB / 1.35 GB, free: 11.51 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001489/0.4804, allocations: 24.19 kB / 1.35 GB, free: 11.49 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.414e-05/0.4804, allocations: 12 kB / 1.35 GB, free: 11.48 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.0001032/0.4805, allocations: 121.8 kB / 1.35 GB, free: 11.35 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.198e-05/0.4805, allocations: 7.953 kB / 1.35 GB, free: 11.34 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.379e-05/0.4806, allocations: 16.28 kB / 1.35 GB, free: 11.32 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-06/0.4806, allocations: 0 / 1.35 GB, free: 11.32 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.4806, allocations: 0 / 1.35 GB, free: 11.32 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.4806, allocations: 0 / 1.35 GB, free: 11.32 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002081/0.4808, allocations: 160.6 kB / 1.35 GB, free: 11.12 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.4808, allocations: 3.938 kB / 1.35 GB, free: 11.11 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001207/0.4809, allocations: 19.92 kB / 1.35 GB, free: 11.09 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.4809, allocations: 0 / 1.35 GB, free: 11.09 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.4809, allocations: 11.94 kB / 1.35 GB, free: 11.08 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.4809, allocations: 0 / 1.35 GB, free: 11.08 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.4809, allocations: 0 / 1.35 GB, free: 11.08 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004169/0.4814, allocations: 207.4 kB / 1.35 GB, free: 10.86 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.344e-05/0.4814, allocations: 7.953 kB / 1.35 GB, free: 10.86 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.027e-05/0.4814, allocations: 7.938 kB / 1.35 GB, free: 10.85 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/0.4815, allocations: 11.98 kB / 1.35 GB, free: 10.84 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.538e-05/0.4816, allocations: 7.922 kB / 1.35 GB, free: 10.83 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.4816, allocations: 4 kB / 1.35 GB, free: 10.82 MB / 1.045 GB Notification: Performance of sorting global known variables: time 8.289e-05/0.4817, allocations: 104.5 kB / 1.351 GB, free: 10.72 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4817, allocations: 0 / 1.351 GB, free: 10.72 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002594/0.4819, allocations: 20 kB / 1.351 GB, free: 10.7 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.0007469/0.4827, allocations: 0.7319 MB / 1.351 GB, free: 9.945 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004937/0.4832, allocations: 119.7 kB / 1.351 GB, free: 9.828 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4832, allocations: 0 / 1.351 GB, free: 9.828 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001706/0.4833, allocations: 40.58 kB / 1.351 GB, free: 9.789 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002784/0.4836, allocations: 13.94 kB / 1.351 GB, free: 9.777 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006596/0.4843, allocations: 211.4 kB / 1.352 GB, free: 9.531 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003139/0.4846, allocations: 0.6885 MB / 1.352 GB, free: 8.816 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 9.348e-05/0.4847, allocations: 28.41 kB / 1.352 GB, free: 8.789 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.43e-05/0.4847, allocations: 23.42 kB / 1.352 GB, free: 8.766 MB / 1.045 GB Notification: Performance of SimCode: time 3.81e-07/0.4847, allocations: 0 / 1.352 GB, free: 8.766 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02359/0.5083, allocations: 2.381 MB / 1.355 GB, free: 6.527 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.65, allocations: 8.625 kB / 1.355 GB, free: 6.523 MB / 1.045 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_Bicubic_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.85078835702734]