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/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 1.996/1.996, allocations: 387.1 MB / 399.7 MB, free: 9.539 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.0009803/0.0009804, allocations: 172.9 kB / 492.3 MB, free: 0.6211 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.255/1.255, allocations: 221.3 MB / 0.7872 GB, free: 12.91 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.0008071/0.0008072, allocations: 84.02 kB / 0.9267 GB, free: 13.99 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.746e-05/3.748e-05, allocations: 6.75 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1936/0.1937, allocations: 142.3 MB / 1.212 GB, free: 38.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.712/0.9058, allocations: 149.2 MB / 1.358 GB, free: 19.1 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001847/0.906, allocations: 73.92 kB / 1.358 GB, free: 19.09 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003817/0.9098, allocations: 1.269 MB / 1.36 GB, free: 34.72 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.122e-06/0.9099, allocations: 0 / 1.36 GB, free: 34.72 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.9099, allocations: 0 / 1.36 GB, free: 34.72 MB / 0.8386 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.0003583/0.9102, allocations: 384.4 kB / 1.36 GB, free: 34.36 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.9103, allocations: 7.719 kB / 1.36 GB, free: 34.36 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.081e-05/0.9103, allocations: 36.09 kB / 1.36 GB, free: 34.32 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.367e-05/0.9103, allocations: 8.391 kB / 1.36 GB, free: 34.31 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.27e-05/0.9104, allocations: 177.6 kB / 1.36 GB, free: 34.11 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.247e-06/0.9104, allocations: 4.672 kB / 1.36 GB, free: 34.11 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.266e-05/0.9105, allocations: 3.984 kB / 1.36 GB, free: 34.1 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001412/0.9106, allocations: 88.75 kB / 1.36 GB, free: 34.07 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.9106, allocations: 0 / 1.36 GB, free: 34.07 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.9106, allocations: 0 / 1.36 GB, free: 34.07 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.494e-05/0.9107, allocations: 10.08 kB / 1.36 GB, free: 34.07 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001065/0.9108, allocations: 69.64 kB / 1.36 GB, free: 34.06 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005403/0.9113, allocations: 374.9 kB / 1.361 GB, free: 33.79 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.589e-05/0.9114, allocations: 34.69 kB / 1.361 GB, free: 33.76 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.122e-05/0.9114, allocations: 19.45 kB / 1.361 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002043/0.9117, allocations: 118.8 kB / 1.361 GB, free: 33.65 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.309e-05/0.9117, allocations: 36.14 kB / 1.361 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.9117, allocations: 0 / 1.361 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001321/0.9118, allocations: 57.84 kB / 1.361 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.813e-05/0.9118, allocations: 51.41 kB / 1.361 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.997e-05/0.9119, allocations: 140.8 kB / 1.361 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.005e-06/0.9119, allocations: 25.7 kB / 1.361 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.504e-05/0.912, allocations: 119.5 kB / 1.361 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.917e-06/0.912, allocations: 13.88 kB / 1.361 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.65e-06/0.912, allocations: 3.312 kB / 1.361 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 6.806e-05/0.9121, allocations: 317.2 kB / 1.362 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.688e-05/0.9121, allocations: 22.84 kB / 1.362 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.603e-05/0.9122, allocations: 93.17 kB / 1.362 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.99e-05/0.9123, allocations: 36.22 kB / 1.362 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.9123, allocations: 0 / 1.362 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001524/0.9124, allocations: 139.5 kB / 1.362 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.9124, allocations: 9.25 kB / 1.362 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.9124, allocations: 7.844 kB / 1.362 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.9125, allocations: 3.844 kB / 1.362 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001489/0.9126, allocations: 44.97 kB / 1.362 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.9126, allocations: 0 / 1.362 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000104/0.9127, allocations: 33.98 kB / 1.362 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.9128, allocations: 11.47 kB / 1.362 GB, free: 32.79 MB / 0.8386 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 4.88e-05/0.9128, allocations: 115 kB / 1.362 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.419e-05/0.9128, allocations: 11.73 kB / 1.362 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001243/0.913, allocations: 70.08 kB / 1.362 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.913, allocations: 0 / 1.362 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.105e-06/0.913, allocations: 4 kB / 1.362 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.913, allocations: 3.844 kB / 1.362 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001105/0.9131, allocations: 175.4 kB / 1.362 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.9131, allocations: 0 / 1.362 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.416e-05/0.9132, allocations: 21.33 kB / 1.362 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.9132, allocations: 3.938 kB / 1.362 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.9132, allocations: 4.766 kB / 1.362 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.9132, allocations: 6.75 kB / 1.362 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.9133, allocations: 4.141 kB / 1.362 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.567e-05/0.9134, allocations: 159 kB / 1.362 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.955e-05/0.9134, allocations: 81.02 kB / 1.363 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.286e-05/0.9134, allocations: 0 / 1.363 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/0.9135, allocations: 24.78 kB / 1.363 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.332e-05/0.9136, allocations: 10.81 kB / 1.363 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.9136, allocations: 3.812 kB / 1.363 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.8e-05/0.9136, allocations: 107.9 kB / 1.363 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9136, allocations: 0 / 1.363 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002188/0.9138, allocations: 15.34 kB / 1.363 GB, free: 32.09 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.0003299/0.9142, allocations: 0.7002 MB / 1.363 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001074/0.9143, allocations: 54.06 kB / 1.363 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.9143, allocations: 0 / 1.363 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.873e-05/0.9143, allocations: 17.34 kB / 1.363 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001349/0.9145, allocations: 11.39 kB / 1.363 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003476/0.9148, allocations: 143.3 kB / 1.364 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001969/0.915, allocations: 0.7042 MB / 1.364 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 8.426e-05/0.9151, allocations: 21.72 kB / 1.364 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.473e-05/0.9152, allocations: 21.34 kB / 1.364 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/0.9152, allocations: 0 / 1.364 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01169/0.9269, allocations: 1.847 MB / 1.366 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001304/0.927, allocations: 138.1 kB / 1.366 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.468/2.395, allocations: 3.938 kB / 1.366 GB, free: 30.16 MB / 0.8386 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/linux/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) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Math.Examples.Bicubic_res.mat does not exist to compare? outputFormat=mat