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/ModelicaServices 4.0.0+maint.om/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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00106/0.001061, allocations: 86.33 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 223.2 MB / 240 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.47/2.47, allocations: 409.4 MB / 0.684 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003564/0.0003565, allocations: 15.94 kB / 0.8378 GB, free: 6.492 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7277/0.7281, allocations: 146.8 MB / 0.9811 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.0007652/0.7289, allocations: 345.5 kB / 0.9815 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001795/0.7307, allocations: 1.38 MB / 0.9828 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.315e-05/0.7307, allocations: 0 / 0.9828 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.571e-05/0.7308, allocations: 0 / 0.9828 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.006e-05/0.7308, allocations: 0 / 0.9828 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005788/0.7314, allocations: 166 kB / 0.983 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.031e-05/0.7315, allocations: 35.97 kB / 0.983 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.602e-05/0.7315, allocations: 0 / 0.983 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.103e-05/0.7316, allocations: 15.92 kB / 0.983 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.57e-05/0.7316, allocations: 19.98 kB / 0.983 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.183e-05/0.7316, allocations: 0 / 0.983 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003459/0.732, allocations: 231.6 kB / 0.9833 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.801e-05/0.732, allocations: 4 kB / 0.9833 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.316e-05/0.7321, allocations: 33.58 kB / 0.9833 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001979/0.7323, allocations: 147.8 kB / 0.9834 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.7323, allocations: 0 / 0.9834 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.673e-06/0.7323, allocations: 0 / 0.9834 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.7323, allocations: 7.938 kB / 0.9835 GB, free: 3.859 MB / 0.7325 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.0003816/0.7327, allocations: 395.2 kB / 0.9838 GB, free: 3.422 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.7327, allocations: 8.031 kB / 0.9838 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.741e-05/0.7328, allocations: 34.55 kB / 0.9839 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.698e-05/0.7328, allocations: 4 kB / 0.9839 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.7329, allocations: 170.9 kB / 0.984 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.888e-06/0.733, allocations: 0 / 0.984 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.733, allocations: 4 kB / 0.984 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001506/0.7331, allocations: 81.59 kB / 0.9841 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.7332, allocations: 11.94 kB / 0.9841 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.7332, allocations: 0 / 0.9841 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.7332, allocations: 4 kB / 0.9841 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.844e-05/0.7332, allocations: 27.98 kB / 0.9842 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001461/0.7334, allocations: 165.7 kB / 0.9843 GB, free: 2.816 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.326e-05/0.7335, allocations: 58.55 kB / 0.9844 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.37e-05/0.7336, allocations: 53.02 kB / 0.9844 GB, free: 2.695 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.609e-06/0.7336, allocations: 0 / 0.9844 GB, free: 2.695 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/0.7336, allocations: 34.56 kB / 0.9845 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 9.52e-07/0.7336, allocations: 0 / 0.9845 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0003145/0.7339, allocations: 203.1 kB / 0.9847 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/0.734, allocations: 77.11 kB / 0.9847 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.648e-05/0.7341, allocations: 117.8 kB / 0.9848 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.7341, allocations: 29.64 kB / 0.9849 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.612e-05/0.7341, allocations: 84.12 kB / 0.9849 GB, free: 2.102 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.753e-05/0.7342, allocations: 23.69 kB / 0.985 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.029e-06/0.7342, allocations: 4 kB / 0.985 GB, free: 2.074 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.7343, allocations: 322.8 kB / 0.9853 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.992e-05/0.7344, allocations: 27.98 kB / 0.9853 GB, free: 1.723 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.901e-05/0.7344, allocations: 35.97 kB / 0.9853 GB, free: 1.688 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.221e-05/0.7345, allocations: 73.67 kB / 0.9854 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.7345, allocations: 0 / 0.9854 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001789/0.7347, allocations: 143.3 kB / 0.9855 GB, free: 1.457 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.679e-05/0.7348, allocations: 39.41 kB / 0.9856 GB, free: 1.414 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.7348, allocations: 0 / 0.9856 GB, free: 1.414 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.7348, allocations: 12.02 kB / 0.9856 GB, free: 1.402 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.11e-07/0.7348, allocations: 0 / 0.9856 GB, free: 1.402 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.7348, allocations: 0 / 0.9856 GB, free: 1.402 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.658e-05/0.7349, allocations: 15.89 kB / 0.9856 GB, free: 1.387 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.079e-05/0.7349, allocations: 4 kB / 0.9856 GB, free: 1.383 MB / 0.7325 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.0001035/0.735, allocations: 147.5 kB / 0.9858 GB, free: 1.223 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.265e-05/0.7351, allocations: 4 kB / 0.9858 GB, free: 1.219 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.326e-05/0.7351, allocations: 4.375 kB / 0.9858 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.7351, allocations: 3.938 kB / 0.9858 GB, free: 1.207 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.7351, allocations: 7.953 kB / 0.9858 GB, free: 1.199 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.7351, allocations: 7.984 kB / 0.9858 GB, free: 1.191 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001148/0.7352, allocations: 173.6 kB / 0.986 GB, free: 0.9727 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.7352, allocations: 0 / 0.986 GB, free: 0.9727 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-07/0.7352, allocations: 0 / 0.986 GB, free: 0.9727 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.7352, allocations: 0 / 0.986 GB, free: 0.9727 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.7353, allocations: 4 kB / 0.986 GB, free: 0.9688 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.7353, allocations: 0 / 0.986 GB, free: 0.9688 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.7353, allocations: 0 / 0.986 GB, free: 0.9688 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002271/0.7355, allocations: 206.6 kB / 0.9862 GB, free: 0.7422 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.312e-05/0.7355, allocations: 85 kB / 0.9862 GB, free: 0.6406 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.74e-05/0.7356, allocations: 4 kB / 0.9862 GB, free: 0.6367 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.312e-05/0.7356, allocations: 4 kB / 0.9862 GB, free: 0.6328 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.512e-05/0.7356, allocations: 4 kB / 0.9862 GB, free: 0.6289 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.7357, allocations: 7.984 kB / 0.9863 GB, free: 0.6211 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.855e-05/0.7357, allocations: 99.78 kB / 0.9863 GB, free: 0.5234 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7357, allocations: 0 / 0.9863 GB, free: 0.5234 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002958/0.736, allocations: 72 kB / 0.9864 GB, free: 464 kB / 0.7325 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.0007035/0.7367, allocations: 0.7874 MB / 0.9872 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002515/0.737, allocations: 195.3 kB / 0.9874 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.737, allocations: 0 / 0.9874 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000124/0.7371, allocations: 155.3 kB / 0.9875 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001504/0.7373, allocations: 8.156 kB / 0.9875 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000434/0.7377, allocations: 228.2 kB / 0.9877 GB, free: 15 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002549/0.738, allocations: 0.6848 MB / 0.9884 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.819e-06/0.738, allocations: 0 / 0.9884 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.406e-05/0.738, allocations: 15.42 kB / 0.9884 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of SimCode: time 3.8e-07/0.738, allocations: 0 / 0.9884 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01263/0.7507, allocations: 2.861 MB / 0.9912 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001674/0.7509, allocations: 210.1 kB / 0.9914 GB, free: 11.35 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.762/2.513, allocations: 3.5 kB / 0.9914 GB, free: 11.35 MB / 0.7481 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) Environment - environmentSimulation: 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