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.171/2.171, allocations: 387.4 MB / 394.9 MB, free: 13.37 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.001065/0.001065, allocations: 188.8 kB / 487.4 MB, free: 5.023 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.506/1.506, allocations: 221.5 MB / 0.7824 GB, free: 0.9883 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 95.8 kB / 0.9219 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.366e-05/2.369e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2684/0.2684, allocations: 142.4 MB / 1.206 GB, free: 43.84 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8591/1.128, allocations: 149.5 MB / 1.352 GB, free: 18.07 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002401/1.128, allocations: 85.47 kB / 1.352 GB, free: 18.07 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01082/1.139, allocations: 3.519 MB / 1.356 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.443e-06/1.139, allocations: 3.938 kB / 1.356 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.721e-06/1.139, allocations: 0 / 1.356 GB, free: 33.61 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.0003167/1.139, allocations: 403 kB / 1.356 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/1.139, allocations: 12.45 kB / 1.356 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.057e-05/1.139, allocations: 3.844 kB / 1.356 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.455e-05/1.139, allocations: 172.2 kB / 1.356 GB, free: 33 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/1.139, allocations: 3.938 kB / 1.356 GB, free: 33 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.462e-05/1.139, allocations: 3.844 kB / 1.356 GB, free: 33 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.862e-05/1.139, allocations: 24.89 kB / 1.356 GB, free: 33 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.44e-05/1.14, allocations: 60.05 kB / 1.356 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/1.14, allocations: 0 / 1.356 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/1.14, allocations: 0.6562 kB / 1.356 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/1.14, allocations: 0 / 1.356 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.6e-05/1.14, allocations: 155 kB / 1.356 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.401e-05/1.14, allocations: 46.66 kB / 1.356 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.629e-05/1.14, allocations: 39.08 kB / 1.356 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.794e-06/1.14, allocations: 0 / 1.356 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.776e-05/1.14, allocations: 38.59 kB / 1.357 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 8.91e-07/1.14, allocations: 0 / 1.357 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0002972/1.14, allocations: 96.55 kB / 1.357 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.66e-05/1.14, allocations: 87.83 kB / 1.357 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.867e-05/1.14, allocations: 99.69 kB / 1.357 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.092e-05/1.14, allocations: 29.55 kB / 1.357 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.245e-05/1.14, allocations: 83.83 kB / 1.357 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.091e-05/1.14, allocations: 22.23 kB / 1.357 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.743e-06/1.14, allocations: 0 / 1.357 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001066/1.14, allocations: 318.6 kB / 1.357 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.747e-05/1.14, allocations: 24.3 kB / 1.357 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.973e-05/1.141, allocations: 24.75 kB / 1.357 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001152/1.141, allocations: 32.41 kB / 1.357 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/1.141, allocations: 0 / 1.357 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001873/1.141, allocations: 113.9 kB / 1.357 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.814e-05/1.141, allocations: 40.22 kB / 1.357 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/1.141, allocations: 0 / 1.357 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/1.141, allocations: 0 / 1.357 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.252e-06/1.141, allocations: 0 / 1.357 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.656e-06/1.141, allocations: 0 / 1.357 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.382e-05/1.141, allocations: 7.75 kB / 1.357 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.827e-05/1.141, allocations: 10.27 kB / 1.357 GB, free: 31.98 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 7.568e-05/1.141, allocations: 141.8 kB / 1.358 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002027/1.141, allocations: 123.1 kB / 1.358 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.349e-05/1.141, allocations: 10.89 kB / 1.358 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.483e-05/1.141, allocations: 12.44 kB / 1.358 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/1.141, allocations: 0 / 1.358 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/1.141, allocations: 0 / 1.358 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/1.141, allocations: 3.984 kB / 1.358 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.006e-05/1.141, allocations: 149 kB / 1.358 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/1.141, allocations: 3.953 kB / 1.358 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-07/1.141, allocations: 4.031 kB / 1.358 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/1.141, allocations: 0 / 1.358 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/1.141, allocations: 6.5 kB / 1.358 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/1.141, allocations: 3.688 kB / 1.358 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/1.141, allocations: 0 / 1.358 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002083/1.142, allocations: 131.5 kB / 1.358 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.239e-05/1.142, allocations: 92.22 kB / 1.358 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/1.142, allocations: 0 / 1.358 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.662e-05/1.142, allocations: 7.875 kB / 1.358 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.992e-05/1.142, allocations: 7.469 kB / 1.358 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.462e-05/1.142, allocations: 14.92 kB / 1.358 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.904e-05/1.142, allocations: 89.27 kB / 1.358 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.71e-07/1.142, allocations: 0 / 1.358 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003145/1.142, allocations: 80.81 kB / 1.358 GB, free: 31.35 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.000607/1.143, allocations: 0.7713 MB / 1.359 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001526/1.143, allocations: 165.3 kB / 1.359 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/1.143, allocations: 0 / 1.359 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.022e-05/1.143, allocations: 130.6 kB / 1.359 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001091/1.143, allocations: 3.875 kB / 1.359 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003511/1.144, allocations: 176.4 kB / 1.36 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002069/1.144, allocations: 0.6885 MB / 1.36 GB, free: 29.78 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.939e-06/1.144, allocations: 7.812 kB / 1.36 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.114e-05/1.144, allocations: 13.31 kB / 1.36 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of SimCode: time 2.6e-07/1.144, allocations: 0 / 1.36 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02124/1.165, allocations: 2.384 MB / 1.363 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001667/1.165, allocations: 155.1 kB / 1.363 GB, free: 29.4 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.559/2.724, allocations: 0 / 1.363 GB, free: 29.4 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