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 1.968/1.968, allocations: 387.1 MB / 399.7 MB, free: 9.488 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.0009984/0.0009984, allocations: 186.5 kB / 492.3 MB, free: 0.625 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.262/1.262, allocations: 221.3 MB / 0.7871 GB, free: 12.93 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.0007773/0.0007772, allocations: 93.89 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.216e-05/3.225e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1936/0.1936, allocations: 142.4 MB / 1.213 GB, free: 38.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6965/0.8902, allocations: 150.2 MB / 1.359 GB, free: 19.09 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001942/0.8904, allocations: 81.58 kB / 1.359 GB, free: 19.09 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.009502/0.8999, allocations: 3.529 MB / 1.363 GB, free: 34.64 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.122e-06/0.9, allocations: 4 kB / 1.363 GB, free: 34.64 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.9, allocations: 3.906 kB / 1.363 GB, free: 34.64 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.0003031/0.9003, allocations: 399.4 kB / 1.363 GB, free: 34.23 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.9003, allocations: 11.5 kB / 1.363 GB, free: 34.23 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.29e-05/0.9004, allocations: 35.2 kB / 1.363 GB, free: 34.19 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.837e-05/0.9004, allocations: 3.969 kB / 1.363 GB, free: 34.19 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.863e-05/0.9005, allocations: 168.2 kB / 1.363 GB, free: 33.99 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.488e-06/0.9005, allocations: 0 / 1.363 GB, free: 33.99 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.23e-05/0.9005, allocations: 3.781 kB / 1.363 GB, free: 33.99 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001167/0.9006, allocations: 64.48 kB / 1.363 GB, free: 33.96 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.9006, allocations: 0 / 1.363 GB, free: 33.96 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.9007, allocations: 3.938 kB / 1.363 GB, free: 33.95 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.9007, allocations: 3.719 kB / 1.363 GB, free: 33.95 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.767e-05/0.9007, allocations: 29.48 kB / 1.363 GB, free: 33.95 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001161/0.9009, allocations: 174.8 kB / 1.364 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.128e-05/0.9009, allocations: 54.03 kB / 1.364 GB, free: 33.73 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.853e-05/0.901, allocations: 38.55 kB / 1.364 GB, free: 33.72 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.898e-06/0.901, allocations: 4 kB / 1.364 GB, free: 33.71 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.48e-05/0.901, allocations: 30.56 kB / 1.364 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.901, allocations: 0 / 1.364 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0002341/0.9013, allocations: 129.5 kB / 1.364 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.891e-05/0.9013, allocations: 82.56 kB / 1.364 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.825e-05/0.9014, allocations: 105.4 kB / 1.364 GB, free: 33.42 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.046e-05/0.9014, allocations: 26.73 kB / 1.364 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.968e-05/0.9014, allocations: 92.02 kB / 1.364 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.038e-05/0.9015, allocations: 18.2 kB / 1.364 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.342e-06/0.9015, allocations: 0 / 1.364 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.022e-05/0.9016, allocations: 324.8 kB / 1.364 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.197e-05/0.9016, allocations: 25.16 kB / 1.364 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.406e-05/0.9017, allocations: 26.58 kB / 1.364 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.168e-05/0.9017, allocations: 52.72 kB / 1.365 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.9017, allocations: 0 / 1.365 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001399/0.9019, allocations: 140 kB / 1.365 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.9019, allocations: 40.06 kB / 1.365 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.9019, allocations: 0 / 1.365 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.9019, allocations: 0 / 1.365 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.373e-06/0.9019, allocations: 2.953 kB / 1.365 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.9019, allocations: 0 / 1.365 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.295e-05/0.902, allocations: 10.5 kB / 1.365 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.623e-05/0.902, allocations: 7.688 kB / 1.365 GB, free: 32.83 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 6.29e-05/0.9021, allocations: 146.1 kB / 1.365 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.399e-05/0.9021, allocations: 10.62 kB / 1.365 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.406e-05/0.9021, allocations: 8.609 kB / 1.365 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.9021, allocations: 4 kB / 1.365 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.9021, allocations: 3.875 kB / 1.365 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.9021, allocations: 0 / 1.365 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.505e-05/0.9022, allocations: 171.1 kB / 1.365 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.9022, allocations: 0 / 1.365 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.71e-07/0.9022, allocations: 0 / 1.365 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.9022, allocations: 0 / 1.365 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.9022, allocations: 3.906 kB / 1.365 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.9022, allocations: 0 / 1.365 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.9022, allocations: 0 / 1.365 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000167/0.9024, allocations: 183.5 kB / 1.365 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.989e-05/0.9024, allocations: 87.83 kB / 1.365 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.9025, allocations: 0 / 1.365 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.599e-05/0.9025, allocations: 3.812 kB / 1.365 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.871e-05/0.9025, allocations: 7.281 kB / 1.365 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.385e-05/0.9025, allocations: 10.47 kB / 1.365 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.763e-05/0.9026, allocations: 89.02 kB / 1.365 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9026, allocations: 0 / 1.365 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002648/0.9029, allocations: 88.84 kB / 1.365 GB, free: 32.18 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.0005335/0.9034, allocations: 0.7948 MB / 1.366 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001457/0.9036, allocations: 174.2 kB / 1.366 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.9036, allocations: 0 / 1.366 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.892e-05/0.9036, allocations: 136.9 kB / 1.367 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.99e-05/0.9037, allocations: 3.875 kB / 1.367 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003145/0.9041, allocations: 179.5 kB / 1.367 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002359/0.9043, allocations: 0.6897 MB / 1.367 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.03e-06/0.9043, allocations: 0 / 1.367 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.161e-05/0.9043, allocations: 16.67 kB / 1.367 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of SimCode: time 4.81e-07/0.9044, allocations: 3.938 kB / 1.367 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01229/0.9166, allocations: 2.713 MB / 1.37 GB, free: 30.31 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001467/0.9168, allocations: 159.7 kB / 1.37 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.354/2.271, allocations: 0 / 1.37 GB, free: 30.09 MB / 0.8386 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