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 2.404/2.404, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001068/0.001068, allocations: 171.4 kB / 498.1 MB, free: 5.758 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.545/1.545, allocations: 223.2 MB / 0.7948 GB, free: 17.98 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.0009185/0.0009187, allocations: 96.34 kB / 0.9346 GB, free: 6.285 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003729/0.0003728, allocations: 13.16 kB / 1.084 GB, free: 221 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3329/0.3333, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2033/0.5367, allocations: 149.3 MB / 1.369 GB, free: 12.73 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003014/0.5371, allocations: 75.94 kB / 1.369 GB, free: 12.66 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.00422/0.5413, allocations: 1.271 MB / 1.37 GB, free: 11.38 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.885e-06/0.5413, allocations: 0 / 1.37 GB, free: 11.38 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.147e-05/0.5414, allocations: 0 / 1.37 GB, free: 11.38 MB / 0.8698 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.0006223/0.542, allocations: 391.1 kB / 1.37 GB, free: 10.95 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.715e-05/0.5421, allocations: 12.02 kB / 1.37 GB, free: 10.94 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.085e-05/0.5421, allocations: 30.56 kB / 1.37 GB, free: 10.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.373e-05/0.5422, allocations: 7.906 kB / 1.37 GB, free: 10.89 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001748/0.5424, allocations: 175 kB / 1.371 GB, free: 10.68 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.5424, allocations: 4 kB / 1.371 GB, free: 10.68 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.069e-05/0.5424, allocations: 7.938 kB / 1.371 GB, free: 10.67 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003564/0.5428, allocations: 113.6 kB / 1.371 GB, free: 10.55 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.5428, allocations: 0 / 1.371 GB, free: 10.55 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.5428, allocations: 8 kB / 1.371 GB, free: 10.55 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.823e-05/0.5429, allocations: 15.98 kB / 1.371 GB, free: 10.53 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004512/0.5433, allocations: 135.8 kB / 1.371 GB, free: 10.4 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007312/0.5441, allocations: 376.5 kB / 1.371 GB, free: 9.98 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000219/0.5443, allocations: 66.55 kB / 1.371 GB, free: 9.906 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002864/0.5446, allocations: 125.2 kB / 1.371 GB, free: 9.766 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.736e-05/0.5446, allocations: 34.56 kB / 1.371 GB, free: 9.723 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=3): time 1.833e-06/0.5446, allocations: 0 / 1.371 GB, free: 9.723 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3): time 0.0005982/0.5452, allocations: 173.5 kB / 1.372 GB, free: 9.547 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.261e-05/0.5453, allocations: 51.41 kB / 1.372 GB, free: 9.484 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.5454, allocations: 138.7 kB / 1.372 GB, free: 9.34 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.5455, allocations: 25.7 kB / 1.372 GB, free: 9.309 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 8.83e-05/0.5456, allocations: 115.6 kB / 1.372 GB, free: 9.191 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.621e-05/0.5456, allocations: 15.89 kB / 1.372 GB, free: 9.176 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.991e-06/0.5456, allocations: 0 / 1.372 GB, free: 9.176 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.5457, allocations: 314.8 kB / 1.372 GB, free: 8.859 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001785/0.5459, allocations: 59.95 kB / 1.372 GB, free: 8.801 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000224/0.5462, allocations: 121.4 kB / 1.372 GB, free: 8.648 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000188/0.5464, allocations: 76.08 kB / 1.373 GB, free: 8.574 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.5464, allocations: 0 / 1.373 GB, free: 8.574 MB / 0.8698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004723/0.5469, allocations: 217.2 kB / 1.373 GB, free: 8.355 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.5469, allocations: 8 kB / 1.373 GB, free: 8.348 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.5469, allocations: 0 / 1.373 GB, free: 8.348 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/0.5469, allocations: 4 kB / 1.373 GB, free: 8.344 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001989/0.5471, allocations: 48.28 kB / 1.373 GB, free: 8.297 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.201e-05/0.5472, allocations: 7.938 kB / 1.373 GB, free: 8.289 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001345/0.5473, allocations: 31.83 kB / 1.373 GB, free: 8.258 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.152e-05/0.5473, allocations: 4 kB / 1.373 GB, free: 8.254 MB / 0.8698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001015/0.5474, allocations: 125.8 kB / 1.373 GB, free: 8.121 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.645e-05/0.5475, allocations: 11.86 kB / 1.373 GB, free: 8.109 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004113/0.5479, allocations: 141.8 kB / 1.373 GB, free: 7.957 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.5479, allocations: 0 / 1.373 GB, free: 7.957 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.5479, allocations: 0 / 1.373 GB, free: 7.957 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.5479, allocations: 3.938 kB / 1.373 GB, free: 7.953 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001904/0.5481, allocations: 177.6 kB / 1.373 GB, free: 7.73 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.5481, allocations: 0 / 1.373 GB, free: 7.73 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001093/0.5482, allocations: 27.97 kB / 1.373 GB, free: 7.703 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.5483, allocations: 4 kB / 1.373 GB, free: 7.699 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.5483, allocations: 3.953 kB / 1.373 GB, free: 7.695 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.5483, allocations: 3.938 kB / 1.373 GB, free: 7.691 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.5483, allocations: 0 / 1.373 GB, free: 7.691 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003906/0.5487, allocations: 223.3 kB / 1.374 GB, free: 7.457 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.292e-05/0.5487, allocations: 77.11 kB / 1.374 GB, free: 7.363 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.197e-05/0.5488, allocations: 7.984 kB / 1.374 GB, free: 7.355 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/0.5489, allocations: 19.94 kB / 1.374 GB, free: 7.336 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.695e-05/0.5489, allocations: 4 kB / 1.374 GB, free: 7.332 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.549, allocations: 4 kB / 1.374 GB, free: 7.328 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 7.814e-05/0.549, allocations: 112.7 kB / 1.374 GB, free: 7.219 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3.3e-07/0.549, allocations: 0 / 1.374 GB, free: 7.219 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002761/0.5493, allocations: 24 kB / 1.374 GB, free: 7.195 MB / 0.8698 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 (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.0007325/0.5501, allocations: 0.7513 MB / 1.374 GB, free: 6.418 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003918/0.5505, allocations: 127.8 kB / 1.375 GB, free: 6.293 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.5505, allocations: 0 / 1.375 GB, free: 6.293 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000155/0.5506, allocations: 60.52 kB / 1.375 GB, free: 6.234 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001824/0.5508, allocations: 3.953 kB / 1.375 GB, free: 6.23 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006203/0.5515, allocations: 222.6 kB / 1.375 GB, free: 5.973 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002652/0.5517, allocations: 0.6965 MB / 1.376 GB, free: 5.25 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001054/0.5519, allocations: 24.41 kB / 1.376 GB, free: 5.227 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.908e-05/0.5519, allocations: 19.44 kB / 1.376 GB, free: 5.207 MB / 0.8698 GB Notification: Performance of SimCode: time 4.71e-07/0.5519, allocations: 0 / 1.376 GB, free: 5.207 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01444/0.5664, allocations: 1.841 MB / 1.377 GB, free: 3.48 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001919/0.5666, allocations: 162.9 kB / 1.378 GB, free: 3.242 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.539/2.105, allocations: 4 kB / 1.378 GB, free: 3.238 MB / 0.8698 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