Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.Bicubic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Bicubic,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_Bicubic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Bicubic,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_Bicubic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004589/0.004589, allocations: 100.9 kB / 15.73 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 189.4 kB / 16.67 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.241/1.241, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.156/2.156, allocations: 390.2 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 59.91 kB / 0.9504 GB, free: 8.164 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6921/0.6935, allocations: 140.4 MB / 1.087 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.002303/0.6958, allocations: 1.484 MB / 1.089 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0002757/0.6961, allocations: 120.6 kB / 1.089 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.159e-05/0.6961, allocations: 0 / 1.089 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.645e-05/0.6962, allocations: 0.5625 kB / 1.089 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.295e-05/0.6962, allocations: 20.41 kB / 1.089 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002011/0.6964, allocations: 29.34 kB / 1.089 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.631e-05/0.6965, allocations: 44.27 kB / 1.089 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 7.964e-05/0.6966, allocations: 7.359 kB / 1.089 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.251e-05/0.6967, allocations: 20.14 kB / 1.089 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.521e-05/0.6967, allocations: 19.69 kB / 1.089 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.413e-05/0.6967, allocations: 3.906 kB / 1.089 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.894e-05/0.6968, allocations: 40.48 kB / 1.089 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.543e-05/0.6969, allocations: 19.62 kB / 1.089 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.13e-05/0.6969, allocations: 22.62 kB / 1.089 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001322/0.697, allocations: 79.42 kB / 1.089 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.697, allocations: 0 / 1.089 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.713e-06/0.697, allocations: 1.156 kB / 1.089 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.6971, allocations: 0 / 1.089 GB, free: 4.027 MB / 0.8575 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.0004338/0.6975, allocations: 382.2 kB / 1.09 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.6975, allocations: 17.75 kB / 1.09 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.662e-05/0.6976, allocations: 38.75 kB / 1.09 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.49e-05/0.6976, allocations: 3.312 kB / 1.09 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.773e-05/0.6977, allocations: 172.9 kB / 1.09 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.935e-06/0.6977, allocations: 1.438 kB / 1.09 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/0.6977, allocations: 2.562 kB / 1.09 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002747/0.698, allocations: 115.5 kB / 1.09 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.405e-06/0.698, allocations: 3.938 kB / 1.09 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.377e-06/0.698, allocations: 5.172 kB / 1.09 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.569e-05/0.6981, allocations: 13.44 kB / 1.09 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003521/0.6984, allocations: 119.4 kB / 1.09 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003761/0.6988, allocations: 350.1 kB / 1.09 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001953/0.699, allocations: 63.47 kB / 1.091 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001469/0.6992, allocations: 37.48 kB / 1.091 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002651/0.6994, allocations: 123.8 kB / 1.091 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.375e-05/0.6994, allocations: 32.3 kB / 1.091 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.552e-06/0.6995, allocations: 0 / 1.091 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005391/0.7, allocations: 139.6 kB / 1.091 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.983e-05/0.7, allocations: 60.5 kB / 1.091 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.585e-05/0.7001, allocations: 150.4 kB / 1.091 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.015e-06/0.7001, allocations: 25.7 kB / 1.091 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.508e-05/0.7002, allocations: 124.7 kB / 1.091 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.127e-05/0.7002, allocations: 7.875 kB / 1.091 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.234e-05/0.7003, allocations: 33.03 kB / 1.091 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.997e-05/0.7003, allocations: 319.6 kB / 1.092 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001678/0.7005, allocations: 45.55 kB / 1.092 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000185/0.7007, allocations: 112 kB / 1.092 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003426/0.701, allocations: 163.4 kB / 1.092 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.701, allocations: 4.875 kB / 1.092 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000434/0.7015, allocations: 182.1 kB / 1.092 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.7015, allocations: 6.594 kB / 1.092 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.7015, allocations: 6.375 kB / 1.092 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.7015, allocations: 7.094 kB / 1.092 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001594/0.7017, allocations: 36.88 kB / 1.092 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.7017, allocations: 4.297 kB / 1.092 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/0.7018, allocations: 23.78 kB / 1.092 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.7018, allocations: 11 kB / 1.092 GB, free: 1.738 MB / 0.8575 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 6.189e-05/0.7019, allocations: 123.8 kB / 1.092 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.724e-05/0.7019, allocations: 11.03 kB / 1.092 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003732/0.7023, allocations: 115.9 kB / 1.092 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.7023, allocations: 4.75 kB / 1.092 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.7023, allocations: 4.781 kB / 1.092 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.7023, allocations: 4.688 kB / 1.092 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001257/0.7025, allocations: 177 kB / 1.093 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.7025, allocations: 0.6875 kB / 1.093 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.867e-05/0.7026, allocations: 16.11 kB / 1.093 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.7026, allocations: 4.625 kB / 1.093 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.7026, allocations: 1.578 kB / 1.093 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.7026, allocations: 4.75 kB / 1.093 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.7026, allocations: 0 / 1.093 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003495/0.703, allocations: 210 kB / 1.093 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.033e-05/0.703, allocations: 84.27 kB / 1.093 GB, free: 1.078 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.434e-05/0.703, allocations: 0.75 kB / 1.093 GB, free: 1.078 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.7031, allocations: 15.39 kB / 1.093 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.829e-05/0.7032, allocations: 8.328 kB / 1.093 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-06/0.7032, allocations: 2.547 kB / 1.093 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.134e-05/0.7032, allocations: 109.2 kB / 1.093 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7032, allocations: 0.7812 kB / 1.093 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002549/0.7035, allocations: 18.53 kB / 1.093 GB, free: 0.9844 MB / 0.8575 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.000593/0.7041, allocations: 0.7363 MB / 1.094 GB, free: 16.31 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003892/0.7045, allocations: 103.7 kB / 1.094 GB, free: 16.29 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.7045, allocations: 4 kB / 1.094 GB, free: 16.29 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001528/0.7047, allocations: 35.55 kB / 1.094 GB, free: 16.28 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002741/0.7049, allocations: 11.58 kB / 1.094 GB, free: 16.27 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004717/0.7054, allocations: 206.6 kB / 1.094 GB, free: 16.09 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002118/0.7057, allocations: 0.6941 MB / 1.095 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 7.998e-05/0.7057, allocations: 29.23 kB / 1.095 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.865e-05/0.7058, allocations: 22.89 kB / 1.095 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of SimCode: time 2.7e-07/0.7058, allocations: 0 / 1.095 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.385/2.091, allocations: 2.188 MB / 1.097 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.439/9.53, allocations: 9.797 kB / 1.097 GB, free: 14.93 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.Bicubic.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.Bicubic.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.Bicubic.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.Bicubic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.Bicubic_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_Bicubic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_Bicubic.fmu > Buildings_9_Buildings.Utilities.Math.Examples.Bicubic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.Bicubic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_Bicubic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.Bicubic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches