Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.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.Functions.Examples.SmoothInterpolation,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.776/2.776, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001157/0.001156, allocations: 173.1 kB / 498.1 MB, free: 5.75 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.663/1.663, allocations: 223.1 MB / 0.7948 GB, free: 17.89 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.0008565/0.0008564, allocations: 103.1 kB / 0.9346 GB, free: 6.207 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003269/0.0003269, allocations: 10.53 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2535/0.2538, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1892/0.4431, allocations: 150.2 MB / 1.37 GB, free: 11.77 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002732/0.4434, allocations: 91.92 kB / 1.37 GB, free: 11.68 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01125/0.4547, allocations: 3.546 MB / 1.373 GB, free: 8.133 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.426e-06/0.4548, allocations: 4 kB / 1.373 GB, free: 8.129 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.4548, allocations: 0 / 1.373 GB, free: 8.129 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004745/0.4553, allocations: 408.8 kB / 1.374 GB, free: 7.676 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.4553, allocations: 12.03 kB / 1.374 GB, free: 7.664 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.098e-05/0.4554, allocations: 38.55 kB / 1.374 GB, free: 7.617 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.321e-05/0.4554, allocations: 11.86 kB / 1.374 GB, free: 7.605 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.4556, allocations: 167 kB / 1.374 GB, free: 7.402 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.4556, allocations: 0 / 1.374 GB, free: 7.402 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.307e-05/0.4556, allocations: 4 kB / 1.374 GB, free: 7.398 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.4557, allocations: 65.64 kB / 1.374 GB, free: 7.328 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.4558, allocations: 4 kB / 1.374 GB, free: 7.324 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.4558, allocations: 0 / 1.374 GB, free: 7.324 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.4558, allocations: 0 / 1.374 GB, free: 7.324 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.083e-05/0.4559, allocations: 35.91 kB / 1.374 GB, free: 7.289 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001882/0.4561, allocations: 161.6 kB / 1.374 GB, free: 7.082 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.298e-05/0.4562, allocations: 50.55 kB / 1.374 GB, free: 7.023 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.709e-06/0.4562, allocations: 3.938 kB / 1.374 GB, free: 7.02 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/0.4562, allocations: 38.59 kB / 1.374 GB, free: 6.973 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.4562, allocations: 0 / 1.374 GB, free: 6.973 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7): time 0.0004048/0.4566, allocations: 236.3 kB / 1.374 GB, free: 6.711 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.239e-05/0.4567, allocations: 85.09 kB / 1.374 GB, free: 6.609 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.439e-05/0.4568, allocations: 101 kB / 1.375 GB, free: 6.504 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.4568, allocations: 29.7 kB / 1.375 GB, free: 6.469 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.998e-05/0.4569, allocations: 84.14 kB / 1.375 GB, free: 6.383 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.29e-05/0.4569, allocations: 27.8 kB / 1.375 GB, free: 6.355 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.23e-06/0.4569, allocations: 0 / 1.375 GB, free: 6.355 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.4571, allocations: 326.8 kB / 1.375 GB, free: 6.027 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.95e-05/0.4572, allocations: 23.97 kB / 1.375 GB, free: 6.004 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.88e-05/0.4572, allocations: 23.98 kB / 1.375 GB, free: 5.98 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.28e-05/0.4573, allocations: 57.67 kB / 1.375 GB, free: 5.918 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.4573, allocations: 0 / 1.375 GB, free: 5.918 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001949/0.4575, allocations: 135.2 kB / 1.375 GB, free: 5.773 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.235e-05/0.4575, allocations: 34.62 kB / 1.375 GB, free: 5.734 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.4576, allocations: 4 kB / 1.375 GB, free: 5.73 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.4576, allocations: 3.938 kB / 1.375 GB, free: 5.727 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-07/0.4576, allocations: 0 / 1.375 GB, free: 5.727 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.4576, allocations: 4.062 kB / 1.375 GB, free: 5.723 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.705e-05/0.4577, allocations: 4 kB / 1.375 GB, free: 5.719 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.576e-05/0.4577, allocations: 7.984 kB / 1.375 GB, free: 5.711 MB / 0.8698 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.0001266/0.4578, allocations: 155.5 kB / 1.375 GB, free: 5.543 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.786e-05/0.4579, allocations: 7.906 kB / 1.375 GB, free: 5.535 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.735e-05/0.4579, allocations: 4.375 kB / 1.375 GB, free: 5.527 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.4579, allocations: 0 / 1.375 GB, free: 5.527 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.4579, allocations: 4 kB / 1.375 GB, free: 5.523 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.4579, allocations: 0 / 1.375 GB, free: 5.523 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001477/0.4581, allocations: 177.5 kB / 1.376 GB, free: 5.301 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.4581, allocations: 0 / 1.376 GB, free: 5.301 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.512e-06/0.4581, allocations: 0 / 1.376 GB, free: 5.301 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.4581, allocations: 0 / 1.376 GB, free: 5.301 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.654e-05/0.4581, allocations: 8 kB / 1.376 GB, free: 5.293 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.4581, allocations: 0 / 1.376 GB, free: 5.293 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.4581, allocations: 0 / 1.376 GB, free: 5.293 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002318/0.4584, allocations: 175.3 kB / 1.376 GB, free: 5.098 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.985e-05/0.4584, allocations: 93 kB / 1.376 GB, free: 4.988 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.543e-05/0.4584, allocations: 0 / 1.376 GB, free: 4.988 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.996e-05/0.4585, allocations: 7.984 kB / 1.376 GB, free: 4.98 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.383e-05/0.4585, allocations: 4 kB / 1.376 GB, free: 4.977 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/0.4585, allocations: 4 kB / 1.376 GB, free: 4.973 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 6.194e-05/0.4586, allocations: 103.2 kB / 1.376 GB, free: 4.871 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.1e-07/0.4586, allocations: 0 / 1.376 GB, free: 4.871 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003441/0.459, allocations: 79.92 kB / 1.376 GB, free: 4.793 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 (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.0007897/0.4598, allocations: 0.8097 MB / 1.377 GB, free: 3.949 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002106/0.46, allocations: 171.4 kB / 1.377 GB, free: 3.77 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.46, allocations: 0 / 1.377 GB, free: 3.77 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001042/0.4601, allocations: 131.4 kB / 1.377 GB, free: 3.629 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001089/0.4602, allocations: 13.98 kB / 1.377 GB, free: 3.617 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000484/0.4607, allocations: 240.4 kB / 1.377 GB, free: 3.34 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002836/0.461, allocations: 0.6887 MB / 1.378 GB, free: 2.625 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 7.444e-06/0.461, allocations: 4 kB / 1.378 GB, free: 2.621 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.36e-05/0.461, allocations: 11.44 kB / 1.378 GB, free: 2.609 MB / 0.8698 GB Notification: Performance of SimCode: time 3.2e-07/0.4611, allocations: 0 / 1.378 GB, free: 2.609 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01493/0.476, allocations: 2.673 MB / 1.381 GB, free: 80 kB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002271/0.4763, allocations: 199.2 kB / 1.381 GB, free: 15.84 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.555/2.032, allocations: 0 / 1.381 GB, free: 15.84 MB / 0.8855 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.mat does not exist to compare? outputFormat=mat