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.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007277/0.007277, allocations: 98.52 kB / 15.73 MB, free: 5.527 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.001948/0.001948, allocations: 191.2 kB / 16.67 MB, free: 5.465 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.392/1.392, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.82/2.82, allocations: 482.6 MB / 0.755 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002091/0.002091, allocations: 76.06 kB / 1.083 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.349/0.3511, allocations: 162.3 MB / 1.242 GB, free: 9.844 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.00318/0.3543, allocations: 1.49 MB / 1.243 GB, free: 8.34 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0003875/0.3547, allocations: 119.6 kB / 1.243 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.617e-05/0.3548, allocations: 4 kB / 1.243 GB, free: 8.219 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 5.224e-05/0.3548, allocations: 3.938 kB / 1.243 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.044e-05/0.3549, allocations: 7.938 kB / 1.243 GB, free: 8.207 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002572/0.3552, allocations: 31.95 kB / 1.243 GB, free: 8.176 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001232/0.3553, allocations: 55.77 kB / 1.244 GB, free: 8.121 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.3555, allocations: 4 kB / 1.244 GB, free: 8.117 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.045e-05/0.3555, allocations: 19.92 kB / 1.244 GB, free: 8.098 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.97e-05/0.3556, allocations: 19.92 kB / 1.244 GB, free: 8.078 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.421e-05/0.3556, allocations: 4 kB / 1.244 GB, free: 8.074 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001149/0.3557, allocations: 43.95 kB / 1.244 GB, free: 8.031 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.036e-05/0.3558, allocations: 15.92 kB / 1.244 GB, free: 8.016 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.489e-05/0.3558, allocations: 19.88 kB / 1.244 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001874/0.356, allocations: 75.64 kB / 1.244 GB, free: 7.922 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.356, allocations: 3.938 kB / 1.244 GB, free: 7.918 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3561, allocations: 0 / 1.244 GB, free: 7.918 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.3561, allocations: 3.938 kB / 1.244 GB, free: 7.914 MB / 0.9981 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.0006598/0.3567, allocations: 383.2 kB / 1.244 GB, free: 7.488 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.3568, allocations: 12.03 kB / 1.244 GB, free: 7.477 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.382e-05/0.3568, allocations: 34.75 kB / 1.244 GB, free: 7.434 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.282e-05/0.3569, allocations: 8.891 kB / 1.244 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001707/0.3571, allocations: 180.2 kB / 1.244 GB, free: 7.211 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.3571, allocations: 384 / 1.244 GB, free: 7.211 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.511e-05/0.3571, allocations: 4.375 kB / 1.244 GB, free: 7.207 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003362/0.3574, allocations: 118.1 kB / 1.244 GB, free: 7.086 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.3575, allocations: 3.938 kB / 1.244 GB, free: 7.082 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.3575, allocations: 4 kB / 1.244 GB, free: 7.078 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.06e-05/0.3575, allocations: 11.98 kB / 1.244 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003697/0.3579, allocations: 119.8 kB / 1.245 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005258/0.3584, allocations: 344.7 kB / 1.245 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002218/0.3587, allocations: 62.47 kB / 1.245 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001613/0.3588, allocations: 40.91 kB / 1.245 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003178/0.3591, allocations: 125.1 kB / 1.245 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.3592, allocations: 30.56 kB / 1.245 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.3592, allocations: 0 / 1.245 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.000585/0.3598, allocations: 137.5 kB / 1.245 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.003e-05/0.3598, allocations: 63.28 kB / 1.245 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/0.36, allocations: 143.5 kB / 1.245 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.36, allocations: 25.7 kB / 1.245 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.875e-05/0.3601, allocations: 123.8 kB / 1.246 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.351e-05/0.3601, allocations: 7.938 kB / 1.246 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.635e-05/0.3602, allocations: 37.67 kB / 1.246 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.3604, allocations: 318.8 kB / 1.246 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001774/0.3606, allocations: 43.95 kB / 1.246 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000235/0.3608, allocations: 113.2 kB / 1.246 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004152/0.3612, allocations: 177.1 kB / 1.246 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.3612, allocations: 4 kB / 1.246 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004627/0.3617, allocations: 181.3 kB / 1.246 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.3617, allocations: 5.875 kB / 1.246 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.708e-05/0.3618, allocations: 12 kB / 1.246 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.3618, allocations: 7.938 kB / 1.246 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001634/0.362, allocations: 35.91 kB / 1.247 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.362, allocations: 4 kB / 1.247 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00012/0.3621, allocations: 23.88 kB / 1.247 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.39e-05/0.3621, allocations: 12 kB / 1.247 GB, free: 4.703 MB / 0.9981 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.0001085/0.3622, allocations: 121.8 kB / 1.247 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.126e-05/0.3623, allocations: 11.95 kB / 1.247 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00041/0.3627, allocations: 109.9 kB / 1.247 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.134e-06/0.3627, allocations: 15.88 kB / 1.247 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.3627, allocations: 0 / 1.247 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.3627, allocations: 0 / 1.247 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002232/0.363, allocations: 185.6 kB / 1.247 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.363, allocations: 0 / 1.247 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001051/0.3631, allocations: 23.91 kB / 1.247 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.3631, allocations: 0 / 1.247 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.3631, allocations: 0 / 1.247 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.3631, allocations: 3.938 kB / 1.247 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3631, allocations: 0 / 1.247 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000419/0.3635, allocations: 199.4 kB / 1.247 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.91e-05/0.3636, allocations: 89.38 kB / 1.247 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/0.3637, allocations: 0 / 1.247 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.3638, allocations: 15.92 kB / 1.247 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.865e-05/0.3638, allocations: 4 kB / 1.247 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.261e-05/0.3638, allocations: 7.984 kB / 1.247 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001032/0.364, allocations: 107.2 kB / 1.247 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.364, allocations: 0 / 1.247 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002729/0.3642, allocations: 20 kB / 1.247 GB, free: 3.699 MB / 0.9981 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.0008019/0.3651, allocations: 0.7363 MB / 1.248 GB, free: 2.938 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004207/0.3655, allocations: 104.4 kB / 1.248 GB, free: 2.836 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.3655, allocations: 4 kB / 1.248 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001487/0.3657, allocations: 39.89 kB / 1.248 GB, free: 2.793 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003116/0.366, allocations: 13.81 kB / 1.248 GB, free: 2.781 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005544/0.3665, allocations: 199.4 kB / 1.248 GB, free: 2.547 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003535/0.3669, allocations: 0.6924 MB / 1.249 GB, free: 1.828 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.84e-05/0.367, allocations: 32.41 kB / 1.249 GB, free: 1.797 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.596e-05/0.3671, allocations: 27.42 kB / 1.249 GB, free: 1.77 MB / 0.9981 GB Notification: Performance of SimCode: time 3.91e-07/0.3671, allocations: 0 / 1.249 GB, free: 1.77 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.087/1.454, allocations: 2.183 MB / 1.251 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.239/9.693, allocations: 7.344 kB / 1.251 GB, free: 14.24 MB / 0.9981 GB (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 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_Bicubic.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic.pipe 2>&1) 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) Reference file matches