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.001893/0.001893, allocations: 113 kB / 16.46 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.002288/0.002288, 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.487/1.487, allocations: 230.6 MB / 252.8 MB, free: 8.984 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.334/3.334, allocations: 0.49 GB / 0.7916 GB, free: 33.37 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.002073/0.002073, allocations: 67.86 kB / 1.149 GB, free: 26.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3927/0.3948, allocations: 176.1 MB / 1.321 GB, free: 3.281 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.0034/0.3982, allocations: 1.51 MB / 1.322 GB, free: 1.766 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.000408/0.3986, allocations: 119.7 kB / 1.322 GB, free: 1.648 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.084e-05/0.3987, allocations: 0 / 1.322 GB, free: 1.648 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 6.901e-05/0.3987, allocations: 7.922 kB / 1.322 GB, free: 1.641 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.606e-05/0.3988, allocations: 11.92 kB / 1.322 GB, free: 1.629 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002644/0.3991, allocations: 35.84 kB / 1.322 GB, free: 1.594 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000108/0.3992, allocations: 43.91 kB / 1.322 GB, free: 1.551 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.3993, allocations: 4 kB / 1.322 GB, free: 1.547 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.685e-05/0.3993, allocations: 19.92 kB / 1.323 GB, free: 1.527 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.341e-05/0.3994, allocations: 23.91 kB / 1.323 GB, free: 1.504 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.991e-05/0.3994, allocations: 4 kB / 1.323 GB, free: 1.5 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 9.455e-05/0.3995, allocations: 35.97 kB / 1.323 GB, free: 1.465 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.564e-05/0.3995, allocations: 19.91 kB / 1.323 GB, free: 1.445 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.521e-05/0.3996, allocations: 23.86 kB / 1.323 GB, free: 1.422 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000164/0.3997, allocations: 79.81 kB / 1.323 GB, free: 1.344 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.3997, allocations: 0 / 1.323 GB, free: 1.344 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.402e-06/0.3997, allocations: 0 / 1.323 GB, free: 1.344 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.3997, allocations: 4 kB / 1.323 GB, free: 1.34 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.000609/0.4004, allocations: 384.9 kB / 1.323 GB, free: 0.9141 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.4004, allocations: 11.98 kB / 1.323 GB, free: 0.9023 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.538e-05/0.4005, allocations: 42.73 kB / 1.323 GB, free: 0.8516 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.868e-05/0.4005, allocations: 4.891 kB / 1.323 GB, free: 0.8477 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/0.4006, allocations: 176.2 kB / 1.323 GB, free: 0.6367 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.779e-06/0.4006, allocations: 4.312 kB / 1.323 GB, free: 0.6328 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.412e-05/0.4007, allocations: 8.375 kB / 1.323 GB, free: 0.625 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003148/0.401, allocations: 110.2 kB / 1.323 GB, free: 0.5117 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.401, allocations: 7.922 kB / 1.323 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-06/0.401, allocations: 0 / 1.323 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.453e-05/0.401, allocations: 15.98 kB / 1.323 GB, free: 500 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003775/0.4014, allocations: 115.9 kB / 1.324 GB, free: 384 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005163/0.4019, allocations: 356.5 kB / 1.324 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002237/0.4022, allocations: 54.53 kB / 1.324 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001672/0.4023, allocations: 36.92 kB / 1.324 GB, free: 15.88 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003399/0.4027, allocations: 125.1 kB / 1.324 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/0.4027, allocations: 34.56 kB / 1.324 GB, free: 15.69 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.4027, allocations: 0 / 1.324 GB, free: 15.69 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0006002/0.4033, allocations: 133.5 kB / 1.324 GB, free: 15.55 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/0.4033, allocations: 55.34 kB / 1.324 GB, free: 15.49 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000146/0.4035, allocations: 156.1 kB / 1.324 GB, free: 15.33 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.4035, allocations: 25.7 kB / 1.324 GB, free: 15.3 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.906e-05/0.4036, allocations: 120 kB / 1.325 GB, free: 15.18 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.558e-05/0.4036, allocations: 11.89 kB / 1.325 GB, free: 15.16 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.275e-05/0.4037, allocations: 33.61 kB / 1.325 GB, free: 15.12 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.4038, allocations: 322.8 kB / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001823/0.404, allocations: 43.95 kB / 1.325 GB, free: 14.76 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000229/0.4042, allocations: 117.4 kB / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003984/0.4046, allocations: 173.2 kB / 1.325 GB, free: 14.41 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.4046, allocations: 0 / 1.325 GB, free: 14.41 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004669/0.4051, allocations: 177.4 kB / 1.325 GB, free: 14.23 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.4051, allocations: 4 kB / 1.325 GB, free: 14.22 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.4051, allocations: 7.938 kB / 1.325 GB, free: 14.21 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.4051, allocations: 7.938 kB / 1.325 GB, free: 14.21 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001696/0.4053, allocations: 35.97 kB / 1.325 GB, free: 14.17 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.4053, allocations: 4 kB / 1.325 GB, free: 14.17 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001256/0.4054, allocations: 32.19 kB / 1.326 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.007e-05/0.4054, allocations: 7.984 kB / 1.326 GB, free: 14.13 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.0001069/0.4056, allocations: 127.3 kB / 1.326 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.115e-05/0.4056, allocations: 7.953 kB / 1.326 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004156/0.406, allocations: 121.8 kB / 1.326 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.188e-05/0.406, allocations: 3.938 kB / 1.326 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.406, allocations: 0 / 1.326 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.406, allocations: 4 kB / 1.326 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002086/0.4062, allocations: 173.6 kB / 1.326 GB, free: 13.63 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.4062, allocations: 0 / 1.326 GB, free: 13.63 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001235/0.4064, allocations: 15.98 kB / 1.326 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.4064, allocations: 11.94 kB / 1.326 GB, free: 13.6 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.4064, allocations: 288 / 1.326 GB, free: 13.6 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.4064, allocations: 3.938 kB / 1.326 GB, free: 13.6 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.4064, allocations: 0 / 1.326 GB, free: 13.6 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004088/0.4068, allocations: 203.4 kB / 1.326 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.736e-05/0.4068, allocations: 81.06 kB / 1.326 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.021e-05/0.4068, allocations: 8 kB / 1.326 GB, free: 13.28 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/0.407, allocations: 11.92 kB / 1.326 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.849e-05/0.407, allocations: 11.92 kB / 1.326 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.766e-06/0.407, allocations: 4 kB / 1.326 GB, free: 13.25 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.747e-05/0.4071, allocations: 113 kB / 1.326 GB, free: 13.14 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4071, allocations: 0 / 1.326 GB, free: 13.14 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002818/0.4074, allocations: 20 kB / 1.326 GB, free: 13.12 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.0007914/0.4082, allocations: 0.7358 MB / 1.327 GB, free: 12.36 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004223/0.4086, allocations: 107.8 kB / 1.327 GB, free: 12.25 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4086, allocations: 0 / 1.327 GB, free: 12.25 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001605/0.4088, allocations: 31.97 kB / 1.327 GB, free: 12.22 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003115/0.4091, allocations: 12.56 kB / 1.327 GB, free: 12.21 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006159/0.4097, allocations: 207.3 kB / 1.327 GB, free: 11.97 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003512/0.41, allocations: 0.6924 MB / 1.328 GB, free: 11.25 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001175/0.4102, allocations: 24.41 kB / 1.328 GB, free: 11.23 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.533e-05/0.4102, allocations: 27.44 kB / 1.328 GB, free: 11.2 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.4102, allocations: 0 / 1.328 GB, free: 11.2 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02836/0.4386, allocations: 2.204 MB / 1.33 GB, free: 9.07 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.033/8.472, allocations: 8.062 kB / 1.33 GB, free: 9.062 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Examples.Bicubic_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Examples_Bicubic_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.328897054074332]