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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.106/2.106, allocations: 390.3 MB / 402.8 MB, free: 6.695 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 180.9 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 221.3 MB / 0.7915 GB, free: 5.379 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009675/0.0009675, allocations: 88.02 kB / 0.9317 GB, free: 5.691 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.095e-05/4.109e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3148/0.3149, allocations: 143 MB / 1.219 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8719/1.187, allocations: 150 MB / 1.365 GB, free: 3.957 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002091/1.187, allocations: 76.69 kB / 1.365 GB, free: 3.914 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003478/1.191, allocations: 1.27 MB / 1.367 GB, free: 2.742 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.423e-06/1.191, allocations: 0 / 1.367 GB, free: 2.742 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.442e-06/1.191, allocations: 4 kB / 1.367 GB, free: 2.738 MB / 0.823 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.0004252/1.191, allocations: 378.3 kB / 1.367 GB, free: 2.328 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/1.191, allocations: 8.031 kB / 1.367 GB, free: 2.32 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.911e-05/1.191, allocations: 37.75 kB / 1.367 GB, free: 2.277 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.794e-05/1.191, allocations: 7.906 kB / 1.367 GB, free: 2.27 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/1.191, allocations: 174.9 kB / 1.367 GB, free: 2.059 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/1.191, allocations: 4 kB / 1.367 GB, free: 2.055 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.382e-05/1.191, allocations: 3.938 kB / 1.367 GB, free: 2.055 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001554/1.191, allocations: 86.09 kB / 1.367 GB, free: 1.98 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/1.192, allocations: 0 / 1.367 GB, free: 1.98 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/1.192, allocations: 0 / 1.367 GB, free: 1.98 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.487e-05/1.192, allocations: 8 kB / 1.367 GB, free: 1.973 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001055/1.192, allocations: 63.67 kB / 1.367 GB, free: 1.934 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005697/1.192, allocations: 385.9 kB / 1.368 GB, free: 1.539 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.282e-05/1.192, allocations: 28.77 kB / 1.368 GB, free: 1.508 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.304e-05/1.192, allocations: 19.55 kB / 1.368 GB, free: 1.492 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002399/1.193, allocations: 122 kB / 1.368 GB, free: 1.355 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.883e-05/1.193, allocations: 30.56 kB / 1.368 GB, free: 1.316 MB / 0.823 GB Notification: Performance of pre-optimization done (n=3): time 1.463e-06/1.193, allocations: 4 kB / 1.368 GB, free: 1.312 MB / 0.823 GB Notification: Performance of matching and sorting (n=3): time 0.0001637/1.193, allocations: 66.92 kB / 1.368 GB, free: 1.25 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/1.193, allocations: 51.41 kB / 1.368 GB, free: 1.188 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/1.193, allocations: 133.9 kB / 1.368 GB, free: 1.059 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/1.193, allocations: 25.7 kB / 1.368 GB, free: 1.027 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 6.831e-05/1.193, allocations: 122 kB / 1.368 GB, free: 0.9102 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.183e-05/1.193, allocations: 12.98 kB / 1.368 GB, free: 0.9023 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.718e-06/1.193, allocations: 0 / 1.368 GB, free: 0.9023 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.667e-05/1.193, allocations: 319.2 kB / 1.369 GB, free: 0.5859 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.155e-05/1.193, allocations: 30.92 kB / 1.369 GB, free: 0.5625 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.648e-05/1.193, allocations: 84.52 kB / 1.369 GB, free: 468 kB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.808e-05/1.193, allocations: 42.78 kB / 1.369 GB, free: 432 kB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/1.193, allocations: 0 / 1.369 GB, free: 432 kB / 0.823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001823/1.194, allocations: 143.5 kB / 1.369 GB, free: 300 kB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/1.194, allocations: 4 kB / 1.369 GB, free: 296 kB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/1.194, allocations: 7.984 kB / 1.369 GB, free: 288 kB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/1.194, allocations: 4 kB / 1.369 GB, free: 284 kB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001627/1.194, allocations: 39.53 kB / 1.369 GB, free: 248 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/1.194, allocations: 9.125 kB / 1.369 GB, free: 240 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001155/1.194, allocations: 31.83 kB / 1.369 GB, free: 208 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.838e-05/1.194, allocations: 8 kB / 1.369 GB, free: 200 kB / 0.823 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.006e-05/1.194, allocations: 116.6 kB / 1.369 GB, free: 80 kB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.725e-05/1.194, allocations: 7.859 kB / 1.369 GB, free: 72 kB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001487/1.194, allocations: 76.7 kB / 1.369 GB, free: 0 / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.247e-05/1.194, allocations: 4.047 kB / 1.369 GB, free: 15.99 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/1.194, allocations: 3.188 kB / 1.369 GB, free: 15.99 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/1.194, allocations: 3.938 kB / 1.369 GB, free: 15.99 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001414/1.194, allocations: 172.3 kB / 1.369 GB, free: 15.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/1.194, allocations: 0 / 1.369 GB, free: 15.79 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001099/1.195, allocations: 27.97 kB / 1.369 GB, free: 15.76 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/1.195, allocations: 3.953 kB / 1.369 GB, free: 15.75 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/1.195, allocations: 0 / 1.369 GB, free: 15.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/1.195, allocations: 0 / 1.369 GB, free: 15.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/1.195, allocations: 4 kB / 1.369 GB, free: 15.75 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001226/1.195, allocations: 150.8 kB / 1.37 GB, free: 15.6 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.782e-05/1.195, allocations: 81.11 kB / 1.37 GB, free: 15.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.523e-05/1.195, allocations: 7.891 kB / 1.37 GB, free: 15.49 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/1.195, allocations: 19.98 kB / 1.37 GB, free: 15.47 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.021e-05/1.195, allocations: 3.984 kB / 1.37 GB, free: 15.47 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.676e-06/1.195, allocations: 4 kB / 1.37 GB, free: 15.46 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.138e-05/1.195, allocations: 115.5 kB / 1.37 GB, free: 15.36 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3.21e-07/1.195, allocations: 0 / 1.37 GB, free: 15.36 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002228/1.195, allocations: 12 kB / 1.37 GB, free: 15.35 MB / 0.8386 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003952/1.196, allocations: 0.6904 MB / 1.371 GB, free: 14.64 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001269/1.196, allocations: 63.61 kB / 1.371 GB, free: 14.6 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/1.196, allocations: 0 / 1.371 GB, free: 14.6 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.171e-05/1.196, allocations: 11.77 kB / 1.371 GB, free: 14.59 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000152/1.196, allocations: 15.95 kB / 1.371 GB, free: 14.58 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003959/1.196, allocations: 156.2 kB / 1.371 GB, free: 14.39 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002422/1.197, allocations: 0.6926 MB / 1.371 GB, free: 13.68 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 9.309e-05/1.197, allocations: 28.5 kB / 1.371 GB, free: 13.65 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.317e-05/1.197, allocations: 26.25 kB / 1.371 GB, free: 13.63 MB / 0.8386 GB Notification: Performance of SimCode: time 4.41e-07/1.197, allocations: 0 / 1.371 GB, free: 13.63 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01285/1.21, allocations: 1.848 MB / 1.373 GB, free: 11.91 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001716/1.21, allocations: 149.2 kB / 1.373 GB, free: 11.68 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.499/2.709, allocations: 3.938 kB / 1.373 GB, free: 11.68 MB / 0.8386 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/linux/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=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_Bicubic.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic_res.mat does not exist to compare? outputFormat=mat