Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.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.Functions.Examples.SmoothInterpolation,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation",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.073/2.073, allocations: 390.3 MB / 402.8 MB, free: 6.711 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.001071/0.001071, allocations: 184.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.323/1.323, allocations: 221.3 MB / 0.7915 GB, free: 5.383 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.0008343/0.0008343, allocations: 88.03 kB / 0.9317 GB, free: 5.695 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.763e-05/3.78e-05, allocations: 8 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2341/0.2341, allocations: 143 MB / 1.219 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6947/0.9289, allocations: 151 MB / 1.366 GB, free: 3.027 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002083/0.9291, allocations: 80.95 kB / 1.366 GB, free: 2.984 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.009926/0.939, allocations: 3.534 MB / 1.37 GB, free: 15.85 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.173e-06/0.9391, allocations: 0 / 1.37 GB, free: 15.85 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.9391, allocations: 4 kB / 1.37 GB, free: 15.85 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003424/0.9394, allocations: 395.5 kB / 1.37 GB, free: 15.42 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.9395, allocations: 8.031 kB / 1.37 GB, free: 15.41 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.491e-05/0.9395, allocations: 38.5 kB / 1.37 GB, free: 15.36 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.124e-05/0.9396, allocations: 11.86 kB / 1.37 GB, free: 15.35 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.9397, allocations: 171 kB / 1.37 GB, free: 15.14 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.657e-06/0.9397, allocations: 4 kB / 1.37 GB, free: 15.14 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.434e-05/0.9397, allocations: 0 / 1.37 GB, free: 15.14 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.9399, allocations: 68.66 kB / 1.37 GB, free: 15.07 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.9399, allocations: 0 / 1.37 GB, free: 15.07 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.9399, allocations: 0 / 1.37 GB, free: 15.07 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.9399, allocations: 0 / 1.37 GB, free: 15.07 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.759e-05/0.94, allocations: 23.3 kB / 1.371 GB, free: 15.05 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001448/0.9401, allocations: 176.8 kB / 1.371 GB, free: 14.84 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.486e-05/0.9402, allocations: 52.75 kB / 1.371 GB, free: 14.79 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.414e-05/0.9402, allocations: 42.73 kB / 1.371 GB, free: 14.75 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.313e-06/0.9403, allocations: 0 / 1.371 GB, free: 14.75 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.89e-05/0.9403, allocations: 34.5 kB / 1.371 GB, free: 14.71 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.9403, allocations: 0 / 1.371 GB, free: 14.71 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0002068/0.9405, allocations: 126.1 kB / 1.371 GB, free: 14.58 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.012e-05/0.9406, allocations: 81.05 kB / 1.371 GB, free: 14.48 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.179e-05/0.9406, allocations: 112.2 kB / 1.371 GB, free: 14.37 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.9407, allocations: 29.7 kB / 1.371 GB, free: 14.34 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.282e-05/0.9407, allocations: 83.39 kB / 1.371 GB, free: 14.25 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.994e-05/0.9407, allocations: 27.14 kB / 1.371 GB, free: 14.23 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.639e-06/0.9407, allocations: 0 / 1.371 GB, free: 14.23 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.651e-05/0.9408, allocations: 318.8 kB / 1.372 GB, free: 13.91 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.304e-05/0.9409, allocations: 27.78 kB / 1.372 GB, free: 13.89 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.456e-05/0.9409, allocations: 23.36 kB / 1.372 GB, free: 13.87 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.638e-05/0.941, allocations: 61.66 kB / 1.372 GB, free: 13.8 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.941, allocations: 0 / 1.372 GB, free: 13.8 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001562/0.9412, allocations: 129.8 kB / 1.372 GB, free: 13.68 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.06e-05/0.9412, allocations: 37.69 kB / 1.372 GB, free: 13.63 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.9412, allocations: 0 / 1.372 GB, free: 13.63 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.9412, allocations: 0 / 1.372 GB, free: 13.63 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.246e-06/0.9412, allocations: 3.938 kB / 1.372 GB, free: 13.63 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.9413, allocations: 4 kB / 1.372 GB, free: 13.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.127e-05/0.9413, allocations: 3.938 kB / 1.372 GB, free: 13.62 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.877e-05/0.9413, allocations: 11.98 kB / 1.372 GB, free: 13.61 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.889e-05/0.9414, allocations: 150.5 kB / 1.372 GB, free: 13.45 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.562e-05/0.9414, allocations: 8.781 kB / 1.372 GB, free: 13.45 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.349e-05/0.9415, allocations: 4.625 kB / 1.372 GB, free: 13.44 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.9415, allocations: 4 kB / 1.372 GB, free: 13.44 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.9415, allocations: 0 / 1.372 GB, free: 13.44 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.683e-06/0.9415, allocations: 0 / 1.372 GB, free: 13.44 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001057/0.9416, allocations: 169.2 kB / 1.372 GB, free: 13.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.9416, allocations: 0 / 1.372 GB, free: 13.23 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.174e-06/0.9416, allocations: 4 kB / 1.372 GB, free: 13.22 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.9416, allocations: 0 / 1.372 GB, free: 13.22 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.9416, allocations: 8 kB / 1.372 GB, free: 13.21 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.9416, allocations: 0 / 1.372 GB, free: 13.21 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.9416, allocations: 3.984 kB / 1.372 GB, free: 13.21 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002111/0.9419, allocations: 180.3 kB / 1.372 GB, free: 13.03 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.333e-05/0.9419, allocations: 81.05 kB / 1.372 GB, free: 12.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.716e-05/0.9419, allocations: 7.938 kB / 1.372 GB, free: 12.92 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.426e-05/0.942, allocations: 0 / 1.372 GB, free: 12.92 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.384e-05/0.942, allocations: 11.48 kB / 1.372 GB, free: 12.91 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.555e-05/0.942, allocations: 12.03 kB / 1.372 GB, free: 12.9 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.948e-05/0.9421, allocations: 90.89 kB / 1.373 GB, free: 12.82 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9421, allocations: 0 / 1.373 GB, free: 12.82 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002731/0.9423, allocations: 79.94 kB / 1.373 GB, free: 12.74 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0006624/0.943, allocations: 0.7928 MB / 1.373 GB, free: 11.93 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001808/0.9432, allocations: 184.6 kB / 1.374 GB, free: 11.78 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.9432, allocations: 0 / 1.374 GB, free: 11.78 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.341e-05/0.9433, allocations: 130 kB / 1.374 GB, free: 11.67 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.672e-05/0.9434, allocations: 5.891 kB / 1.374 GB, free: 11.66 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003557/0.9438, allocations: 182.2 kB / 1.374 GB, free: 11.46 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002081/0.944, allocations: 0.6887 MB / 1.375 GB, free: 10.75 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.468e-06/0.944, allocations: 0 / 1.375 GB, free: 10.75 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.841e-05/0.944, allocations: 10.25 kB / 1.375 GB, free: 10.74 MB / 0.8386 GB Notification: Performance of SimCode: time 2.9e-07/0.944, allocations: 8.125 kB / 1.375 GB, free: 10.73 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01255/0.9566, allocations: 2.722 MB / 1.377 GB, free: 8.188 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002234/0.9569, allocations: 166.5 kB / 1.377 GB, free: 7.969 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.335/2.292, allocations: 0 / 1.377 GB, free: 7.969 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.mat does not exist to compare? outputFormat=mat