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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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.001689/0.001689, allocations: 98.53 kB / 15.05 MB, free: 1.105 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.002142/0.002142, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.626/2.626, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.655/4.655, allocations: 409.2 MB / 0.6838 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005989/0.0005988, allocations: 8 kB / 0.8375 GB, free: 6.598 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.424/1.424, allocations: 146.8 MB / 0.9809 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.002667/1.427, allocations: 1.194 MB / 0.982 GB, free: 5.125 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0004196/1.427, allocations: 116.6 kB / 0.9821 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.415e-05/1.427, allocations: 0 / 0.9821 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.599e-05/1.428, allocations: 0 / 0.9821 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.635e-05/1.428, allocations: 15.92 kB / 0.9822 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002575/1.428, allocations: 19.97 kB / 0.9822 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001105/1.428, allocations: 27.97 kB / 0.9822 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/1.428, allocations: 7.984 kB / 0.9822 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.393e-05/1.428, allocations: 19.92 kB / 0.9822 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002103/1.428, allocations: 23.91 kB / 0.9822 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.838e-05/1.428, allocations: 0 / 0.9822 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000125/1.429, allocations: 27.97 kB / 0.9823 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.032e-05/1.429, allocations: 19.86 kB / 0.9823 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.528e-05/1.429, allocations: 33.7 kB / 0.9823 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001498/1.429, allocations: 47.91 kB / 0.9824 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/1.429, allocations: 4 kB / 0.9824 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.375e-06/1.429, allocations: 0 / 0.9824 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.004e-05/1.429, allocations: 0 / 0.9824 GB, free: 4.758 MB / 0.7325 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.0008609/1.43, allocations: 381.4 kB / 0.9827 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.696e-05/1.43, allocations: 8.031 kB / 0.9827 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.475e-05/1.43, allocations: 46.56 kB / 0.9828 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.606e-05/1.43, allocations: 3.906 kB / 0.9828 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002035/1.43, allocations: 174.9 kB / 0.983 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/1.43, allocations: 7.938 kB / 0.983 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.786e-05/1.43, allocations: 0 / 0.983 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004718/1.431, allocations: 129.6 kB / 0.9831 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/1.431, allocations: 0 / 0.9831 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/1.431, allocations: 0 / 0.9831 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.062e-05/1.431, allocations: 8 kB / 0.9831 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006013/1.431, allocations: 155.8 kB / 0.9832 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000706/1.432, allocations: 348.5 kB / 0.9836 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003619/1.433, allocations: 62.55 kB / 0.9836 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000435/1.433, allocations: 125.2 kB / 0.9838 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.003e-05/1.433, allocations: 34.56 kB / 0.9838 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.653e-06/1.433, allocations: 0 / 0.9838 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0009451/1.434, allocations: 169.4 kB / 0.984 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.041e-05/1.434, allocations: 55.41 kB / 0.984 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002203/1.434, allocations: 143.3 kB / 0.9841 GB, free: 2.723 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.214e-05/1.434, allocations: 25.7 kB / 0.9842 GB, free: 2.691 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/1.435, allocations: 115.7 kB / 0.9843 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.039e-05/1.435, allocations: 19.83 kB / 0.9843 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.536e-06/1.435, allocations: 0 / 0.9843 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000165/1.435, allocations: 322.8 kB / 0.9846 GB, free: 2.23 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002942/1.435, allocations: 63.94 kB / 0.9847 GB, free: 2.168 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003747/1.435, allocations: 125.3 kB / 0.9848 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000326/1.436, allocations: 75.95 kB / 0.9849 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/1.436, allocations: 0 / 0.9849 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000773/1.437, allocations: 209.2 kB / 0.9851 GB, free: 1.727 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.786e-05/1.437, allocations: 8 kB / 0.9851 GB, free: 1.719 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/1.437, allocations: 0 / 0.9851 GB, free: 1.719 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.849e-05/1.437, allocations: 4 kB / 0.9851 GB, free: 1.715 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002718/1.437, allocations: 39.97 kB / 0.9851 GB, free: 1.676 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.803e-05/1.437, allocations: 7.938 kB / 0.9851 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000242/1.437, allocations: 32.14 kB / 0.9851 GB, free: 1.637 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.216e-05/1.437, allocations: 8 kB / 0.9852 GB, free: 1.629 MB / 0.7325 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.0001496/1.437, allocations: 125.8 kB / 0.9853 GB, free: 1.496 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.064e-05/1.438, allocations: 7.906 kB / 0.9853 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006745/1.438, allocations: 141.8 kB / 0.9854 GB, free: 1.344 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/1.438, allocations: 0 / 0.9854 GB, free: 1.344 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/1.438, allocations: 0 / 0.9854 GB, free: 1.344 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/1.438, allocations: 0 / 0.9854 GB, free: 1.344 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003699/1.439, allocations: 181.6 kB / 0.9856 GB, free: 1.117 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/1.439, allocations: 0 / 0.9856 GB, free: 1.117 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001531/1.439, allocations: 23.97 kB / 0.9856 GB, free: 1.094 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/1.439, allocations: 8 kB / 0.9856 GB, free: 1.086 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/1.439, allocations: 3.938 kB / 0.9856 GB, free: 1.082 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/1.439, allocations: 0 / 0.9856 GB, free: 1.082 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/1.439, allocations: 4 kB / 0.9856 GB, free: 1.078 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007532/1.44, allocations: 227.3 kB / 0.9858 GB, free: 0.8398 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.294e-05/1.44, allocations: 85 kB / 0.9859 GB, free: 0.7383 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.943e-05/1.44, allocations: 4.328 kB / 0.9859 GB, free: 0.7344 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001995/1.44, allocations: 15.98 kB / 0.9859 GB, free: 0.7188 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.5e-05/1.44, allocations: 4 kB / 0.9859 GB, free: 0.7148 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.587e-05/1.44, allocations: 7.984 kB / 0.986 GB, free: 0.707 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001205/1.44, allocations: 105.9 kB / 0.9861 GB, free: 0.6055 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2e-07/1.44, allocations: 0 / 0.9861 GB, free: 0.6055 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000547/1.441, allocations: 20 kB / 0.9861 GB, free: 0.5859 MB / 0.7325 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.001159/1.442, allocations: 0.763 MB / 0.9868 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0006655/1.443, allocations: 128.4 kB / 0.9869 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/1.443, allocations: 0 / 0.9869 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002527/1.443, allocations: 51.89 kB / 0.987 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003488/1.443, allocations: 8 kB / 0.987 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009779/1.444, allocations: 214.7 kB / 0.9872 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004504/1.445, allocations: 0.7004 MB / 0.9879 GB, free: 14.63 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001689/1.445, allocations: 24.41 kB / 0.9879 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.703e-05/1.445, allocations: 19.44 kB / 0.9879 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of SimCode: time 6.72e-07/1.445, allocations: 0 / 0.9879 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02088/1.466, allocations: 1.814 MB / 0.9897 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003818/1.466, allocations: 183.7 kB / 0.9899 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.964/4.43, allocations: 0 / 0.9899 GB, free: 12.64 MB / 0.7481 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) Environment - environmentSimulation: 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