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/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 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009722/0.0009722, allocations: 99.62 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.001105/0.001105, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.426/2.426, allocations: 390.3 MB / 0.6653 GB, free: 3.023 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004124/0.0004126, allocations: 12 kB / 0.8146 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9396/0.9401, allocations: 142.3 MB / 0.9536 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.002012/0.9421, allocations: 1.188 MB / 0.9548 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003985/0.9426, allocations: 119.1 kB / 0.9549 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.844e-05/0.9427, allocations: 0 / 0.9549 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.411e-05/0.9427, allocations: 0 / 0.9549 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.86e-05/0.9428, allocations: 15.92 kB / 0.9549 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002628/0.9431, allocations: 23.69 kB / 0.9549 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001153/0.9432, allocations: 25.41 kB / 0.9549 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.9433, allocations: 8.609 kB / 0.9549 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.359e-05/0.9434, allocations: 14.53 kB / 0.9549 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.485e-05/0.9435, allocations: 26.2 kB / 0.955 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.087e-05/0.9435, allocations: 3.156 kB / 0.955 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001084/0.9436, allocations: 32 kB / 0.955 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.223e-05/0.9437, allocations: 11.67 kB / 0.955 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.207e-05/0.9437, allocations: 36.33 kB / 0.9551 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000132/0.9438, allocations: 39.67 kB / 0.9551 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.9438, allocations: 0 / 0.9551 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.788e-06/0.9439, allocations: 5.25 kB / 0.9551 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.9439, allocations: 0 / 0.9551 GB, free: 6.895 MB / 0.7169 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.0005522/0.9444, allocations: 389 kB / 0.9555 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/0.9445, allocations: 8.312 kB / 0.9555 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.926e-05/0.9445, allocations: 40.84 kB / 0.9555 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.57e-05/0.9446, allocations: 10.55 kB / 0.9555 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.9447, allocations: 178.3 kB / 0.9557 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.9447, allocations: 1 kB / 0.9557 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.412e-05/0.9447, allocations: 2.219 kB / 0.9557 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003298/0.9451, allocations: 122.1 kB / 0.9558 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.9451, allocations: 1.312 kB / 0.9558 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.9451, allocations: 0 / 0.9558 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.248e-05/0.9451, allocations: 12.2 kB / 0.9558 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004184/0.9456, allocations: 144.8 kB / 0.956 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005219/0.9461, allocations: 354.1 kB / 0.9563 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002223/0.9463, allocations: 60.08 kB / 0.9564 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002891/0.9466, allocations: 125.2 kB / 0.9565 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/0.9467, allocations: 32 kB / 0.9565 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.483e-06/0.9467, allocations: 0 / 0.9565 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0006181/0.9473, allocations: 169.7 kB / 0.9567 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.971e-05/0.9473, allocations: 52.81 kB / 0.9567 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.9475, allocations: 146 kB / 0.9569 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.165e-05/0.9475, allocations: 29.7 kB / 0.9569 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.223e-05/0.9475, allocations: 120.8 kB / 0.957 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.45e-05/0.9476, allocations: 14.34 kB / 0.957 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.45e-06/0.9476, allocations: 0 / 0.957 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.842e-05/0.9476, allocations: 325.1 kB / 0.9573 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00018/0.9478, allocations: 55.33 kB / 0.9574 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001955/0.948, allocations: 116.8 kB / 0.9575 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002126/0.9482, allocations: 90.33 kB / 0.9576 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.9483, allocations: 1.438 kB / 0.9576 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004673/0.9487, allocations: 202.2 kB / 0.9578 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.9488, allocations: 5.375 kB / 0.9578 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.687e-06/0.9488, allocations: 1.812 kB / 0.9578 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.158e-05/0.9488, allocations: 3.75 kB / 0.9578 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001785/0.949, allocations: 44.06 kB / 0.9578 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.301e-05/0.949, allocations: 10.53 kB / 0.9578 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001337/0.9491, allocations: 28.39 kB / 0.9579 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.414e-05/0.9492, allocations: 10.88 kB / 0.9579 GB, free: 4.488 MB / 0.7169 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 8.715e-05/0.9493, allocations: 127.7 kB / 0.958 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.799e-05/0.9493, allocations: 4.281 kB / 0.958 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004436/0.9498, allocations: 141.2 kB / 0.9581 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.9498, allocations: 7.922 kB / 0.9581 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.9498, allocations: 1.406 kB / 0.9581 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.9498, allocations: 0 / 0.9581 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000151/0.9499, allocations: 181.6 kB / 0.9583 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.95, allocations: 9.016 kB / 0.9583 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001038/0.9501, allocations: 23.53 kB / 0.9583 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.9501, allocations: 1.219 kB / 0.9583 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.9501, allocations: 0 / 0.9583 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.9501, allocations: 1.375 kB / 0.9583 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.9501, allocations: 0 / 0.9583 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003822/0.9505, allocations: 230.4 kB / 0.9586 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.261e-05/0.9505, allocations: 82.47 kB / 0.9586 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.767e-05/0.9506, allocations: 1.562 kB / 0.9586 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/0.9507, allocations: 15.55 kB / 0.9587 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.846e-05/0.9507, allocations: 6.703 kB / 0.9587 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.697e-06/0.9507, allocations: 1.875 kB / 0.9587 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.14e-05/0.9508, allocations: 106.1 kB / 0.9588 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9508, allocations: 4 kB / 0.9588 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002893/0.9511, allocations: 27.19 kB / 0.9588 GB, free: 3.648 MB / 0.7169 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.0006041/0.9517, allocations: 0.7488 MB / 0.9595 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004087/0.9521, allocations: 127 kB / 0.9597 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.9521, allocations: 0.625 kB / 0.9597 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001616/0.9523, allocations: 50.48 kB / 0.9597 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002414/0.9526, allocations: 8.125 kB / 0.9597 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006203/0.9532, allocations: 222.6 kB / 0.9599 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001865/0.9534, allocations: 0.6943 MB / 0.9606 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001098/0.9535, allocations: 24.78 kB / 0.9606 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.094e-05/0.9536, allocations: 28.92 kB / 0.9607 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of SimCode: time 3.4e-07/0.9536, allocations: 0 / 0.9607 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01404/0.9677, allocations: 1.821 MB / 0.9624 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001471/0.9678, allocations: 167.1 kB / 0.9626 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.642/2.61, allocations: 0 / 0.9626 GB, free: 0.832 MB / 0.7169 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