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.255/2.255, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.001121/0.001121, allocations: 182.7 kB / 0.4901 GB, free: 2.234 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.574/1.574, allocations: 223.1 MB / 0.7992 GB, free: 15.69 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.0009918/0.0009914, allocations: 103.1 kB / 0.9396 GB, free: 2.832 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003904/0.0003906, allocations: 15.36 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3142/0.3146, allocations: 143 MB / 1.229 GB, free: 85.37 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2082/0.5228, allocations: 151 MB / 1.377 GB, free: 14.13 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003132/0.5232, allocations: 87.94 kB / 1.377 GB, free: 14.04 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.01128/0.5345, allocations: 3.549 MB / 1.38 GB, free: 10.48 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.776e-06/0.5346, allocations: 0 / 1.38 GB, free: 10.48 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.089e-05/0.5346, allocations: 0 / 1.38 GB, free: 10.48 MB / 0.8855 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.0005564/0.5352, allocations: 412.8 kB / 1.381 GB, free: 10.03 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.159e-05/0.5352, allocations: 8.562 kB / 1.381 GB, free: 10.02 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.281e-05/0.5353, allocations: 42.5 kB / 1.381 GB, free: 9.969 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.484e-05/0.5353, allocations: 11.86 kB / 1.381 GB, free: 9.957 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001671/0.5355, allocations: 159.1 kB / 1.381 GB, free: 9.762 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.5355, allocations: 4 kB / 1.381 GB, free: 9.758 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.437e-05/0.5356, allocations: 0 / 1.381 GB, free: 9.758 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002022/0.5358, allocations: 65.89 kB / 1.381 GB, free: 9.688 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.5358, allocations: 0 / 1.381 GB, free: 9.688 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.627e-05/0.5358, allocations: 8 kB / 1.381 GB, free: 9.68 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.5358, allocations: 3.938 kB / 1.381 GB, free: 9.676 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.304e-05/0.5359, allocations: 27.97 kB / 1.381 GB, free: 9.648 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000212/0.5361, allocations: 157.6 kB / 1.381 GB, free: 9.445 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 9.73e-05/0.5362, allocations: 54.55 kB / 1.381 GB, free: 9.383 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 9.979e-06/0.5362, allocations: 0 / 1.381 GB, free: 9.383 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.857e-05/0.5363, allocations: 34.56 kB / 1.381 GB, free: 9.34 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.5363, allocations: 8.031 kB / 1.381 GB, free: 9.332 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7): time 0.0004301/0.5367, allocations: 248.4 kB / 1.382 GB, free: 9.059 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.884e-05/0.5368, allocations: 81.09 kB / 1.382 GB, free: 8.961 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.5369, allocations: 105 kB / 1.382 GB, free: 8.852 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.37e-05/0.537, allocations: 25.7 kB / 1.382 GB, free: 8.82 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 8.326e-05/0.5371, allocations: 88.14 kB / 1.382 GB, free: 8.73 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 5.826e-05/0.5371, allocations: 23.66 kB / 1.382 GB, free: 8.707 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.071e-06/0.5372, allocations: 0 / 1.382 GB, free: 8.707 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001861/0.5373, allocations: 322.8 kB / 1.382 GB, free: 8.383 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.625e-05/0.5374, allocations: 27.97 kB / 1.382 GB, free: 8.355 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.165e-05/0.5375, allocations: 23.98 kB / 1.382 GB, free: 8.332 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.17e-05/0.5376, allocations: 53.67 kB / 1.382 GB, free: 8.273 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.5376, allocations: 0 / 1.382 GB, free: 8.273 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002219/0.5378, allocations: 135.2 kB / 1.382 GB, free: 8.129 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 4.914e-05/0.5379, allocations: 37.69 kB / 1.382 GB, free: 8.086 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.545e-06/0.5379, allocations: 0 / 1.382 GB, free: 8.086 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.5379, allocations: 0 / 1.382 GB, free: 8.086 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.653e-06/0.5379, allocations: 0 / 1.382 GB, free: 8.086 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.5379, allocations: 8.062 kB / 1.382 GB, free: 8.078 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.531e-05/0.538, allocations: 0 / 1.382 GB, free: 8.078 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.438e-05/0.538, allocations: 11.98 kB / 1.382 GB, free: 8.066 MB / 0.8855 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 () * Number of clocked 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 0.0001531/0.5382, allocations: 155.5 kB / 1.383 GB, free: 7.898 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.025e-05/0.5382, allocations: 11.84 kB / 1.383 GB, free: 7.887 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.42e-05/0.5382, allocations: 8.312 kB / 1.383 GB, free: 7.879 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.5383, allocations: 0 / 1.383 GB, free: 7.879 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.5383, allocations: 0 / 1.383 GB, free: 7.879 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.5383, allocations: 0 / 1.383 GB, free: 7.879 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001708/0.5385, allocations: 177.5 kB / 1.383 GB, free: 7.656 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.5385, allocations: 4 kB / 1.383 GB, free: 7.652 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.31e-07/0.5385, allocations: 0 / 1.383 GB, free: 7.652 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.5385, allocations: 0 / 1.383 GB, free: 7.652 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/0.5385, allocations: 8 kB / 1.383 GB, free: 7.645 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.5385, allocations: 0 / 1.383 GB, free: 7.645 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.5385, allocations: 0 / 1.383 GB, free: 7.645 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002775/0.5388, allocations: 178.7 kB / 1.383 GB, free: 7.445 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.467e-05/0.5389, allocations: 88.97 kB / 1.383 GB, free: 7.34 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.179e-05/0.5389, allocations: 8.031 kB / 1.383 GB, free: 7.332 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.197e-05/0.5389, allocations: 7.984 kB / 1.383 GB, free: 7.324 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.489e-05/0.539, allocations: 0 / 1.383 GB, free: 7.324 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.761e-05/0.539, allocations: 8 kB / 1.383 GB, free: 7.316 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.525e-05/0.5391, allocations: 91.89 kB / 1.383 GB, free: 7.227 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.91e-07/0.5391, allocations: 0 / 1.383 GB, free: 7.227 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003732/0.5394, allocations: 83.92 kB / 1.383 GB, free: 7.145 MB / 0.8855 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 (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.0009283/0.5404, allocations: 0.7984 MB / 1.384 GB, free: 6.312 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002846/0.5407, allocations: 175.4 kB / 1.384 GB, free: 6.129 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.5407, allocations: 3.938 kB / 1.384 GB, free: 6.125 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001265/0.5408, allocations: 131.4 kB / 1.384 GB, free: 5.984 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001384/0.541, allocations: 7.984 kB / 1.384 GB, free: 5.977 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006463/0.5416, allocations: 239.4 kB / 1.385 GB, free: 5.703 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003343/0.542, allocations: 0.6887 MB / 1.385 GB, free: 4.988 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 9.898e-06/0.542, allocations: 4 kB / 1.385 GB, free: 4.984 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.371e-05/0.542, allocations: 11.44 kB / 1.385 GB, free: 4.973 MB / 0.8855 GB Notification: Performance of SimCode: time 1.021e-06/0.542, allocations: 0 / 1.385 GB, free: 4.973 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01576/0.5578, allocations: 2.687 MB / 1.388 GB, free: 2.457 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002126/0.5581, allocations: 200.8 kB / 1.388 GB, free: 2.215 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.574/2.133, allocations: 0 / 1.388 GB, free: 2.215 MB / 0.8855 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