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.001291/0.001291, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001731/0.001731, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.615/2.615, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.539/4.539, allocations: 409.2 MB / 0.6838 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001019/0.001019, allocations: 12 kB / 0.8375 GB, free: 6.574 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.42/1.421, allocations: 146.8 MB / 0.9809 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.0009643/1.422, allocations: 337.6 kB / 0.9812 GB, free: 5.992 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003003/1.425, allocations: 1.384 MB / 0.9825 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.389e-05/1.426, allocations: 0 / 0.9825 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 9.567e-05/1.426, allocations: 0 / 0.9825 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.454e-05/1.426, allocations: 3.984 kB / 0.9826 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001087/1.427, allocations: 155.6 kB / 0.9827 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.32e-05/1.427, allocations: 19.97 kB / 0.9827 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.197e-05/1.427, allocations: 3.984 kB / 0.9827 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.312e-05/1.427, allocations: 12 kB / 0.9827 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 9.542e-05/1.427, allocations: 27.91 kB / 0.9828 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.574e-05/1.427, allocations: 0 / 0.9828 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005253/1.428, allocations: 211.7 kB / 0.983 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.798e-05/1.428, allocations: 4 kB / 0.983 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.991e-05/1.428, allocations: 33.64 kB / 0.983 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003468/1.428, allocations: 151.7 kB / 0.9831 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/1.428, allocations: 0 / 0.9831 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.955e-06/1.428, allocations: 0 / 0.9831 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.848e-06/1.428, allocations: 0 / 0.9831 GB, free: 3.973 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.00061/1.429, allocations: 392.7 kB / 0.9835 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 7.831e-05/1.429, allocations: 8.031 kB / 0.9835 GB, free: 3.531 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.918e-05/1.429, allocations: 38.55 kB / 0.9836 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.617e-05/1.429, allocations: 4 kB / 0.9836 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002133/1.429, allocations: 178.9 kB / 0.9837 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/1.429, allocations: 4 kB / 0.9837 GB, free: 3.262 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.064e-05/1.429, allocations: 4 kB / 0.9837 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003148/1.43, allocations: 77.59 kB / 0.9838 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/1.43, allocations: 0 / 0.9838 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/1.43, allocations: 0 / 0.9838 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/1.43, allocations: 0 / 0.9838 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/1.43, allocations: 43.91 kB / 0.9839 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002565/1.43, allocations: 153.7 kB / 0.984 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001551/1.43, allocations: 70.55 kB / 0.9841 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.059e-05/1.43, allocations: 3.938 kB / 0.9841 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.83e-05/1.43, allocations: 30.56 kB / 0.9841 GB, free: 2.812 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 2.044e-06/1.43, allocations: 0 / 0.9841 GB, free: 2.812 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.000591/1.431, allocations: 276.2 kB / 0.9844 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.866e-05/1.431, allocations: 77.11 kB / 0.9844 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001324/1.431, allocations: 117.8 kB / 0.9846 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.727e-05/1.431, allocations: 29.73 kB / 0.9846 GB, free: 2.258 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.429e-05/1.431, allocations: 80.14 kB / 0.9847 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.98e-05/1.431, allocations: 31.58 kB / 0.9847 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.093e-06/1.431, allocations: 0 / 0.9847 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001894/1.432, allocations: 318.8 kB / 0.985 GB, free: 1.824 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.108e-05/1.432, allocations: 31.97 kB / 0.985 GB, free: 1.793 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.746e-05/1.432, allocations: 35.97 kB / 0.9851 GB, free: 1.758 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001188/1.432, allocations: 73.67 kB / 0.9851 GB, free: 1.68 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/1.432, allocations: 0 / 0.9851 GB, free: 1.68 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003123/1.432, allocations: 151.5 kB / 0.9853 GB, free: 1.52 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.651e-05/1.432, allocations: 37.69 kB / 0.9853 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/1.432, allocations: 0 / 0.9853 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/1.432, allocations: 0 / 0.9853 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.068e-06/1.432, allocations: 7.953 kB / 0.9853 GB, free: 1.469 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/1.432, allocations: 0 / 0.9853 GB, free: 1.469 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001521/1.433, allocations: 11.91 kB / 0.9853 GB, free: 1.457 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.269e-05/1.433, allocations: 7.984 kB / 0.9853 GB, free: 1.449 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.0001639/1.433, allocations: 147.5 kB / 0.9855 GB, free: 1.289 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.068e-05/1.433, allocations: 8.031 kB / 0.9855 GB, free: 1.281 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.006e-05/1.433, allocations: 4.375 kB / 0.9855 GB, free: 1.273 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/1.433, allocations: 0 / 0.9855 GB, free: 1.273 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.819e-06/1.433, allocations: 3.953 kB / 0.9855 GB, free: 1.27 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/1.433, allocations: 0 / 0.9855 GB, free: 1.27 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001462/1.433, allocations: 177.6 kB / 0.9857 GB, free: 1.047 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/1.433, allocations: 0 / 0.9857 GB, free: 1.047 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.72e-07/1.433, allocations: 0 / 0.9857 GB, free: 1.047 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/1.433, allocations: 0 / 0.9857 GB, free: 1.047 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/1.433, allocations: 4 kB / 0.9857 GB, free: 1.043 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/1.433, allocations: 0 / 0.9857 GB, free: 1.043 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/1.433, allocations: 4 kB / 0.9857 GB, free: 1.039 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002775/1.433, allocations: 202.6 kB / 0.9859 GB, free: 0.8164 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.858e-05/1.434, allocations: 81.02 kB / 0.9859 GB, free: 0.7188 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.475e-05/1.434, allocations: 11.98 kB / 0.986 GB, free: 0.707 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.879e-05/1.434, allocations: 4 kB / 0.986 GB, free: 0.7031 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.181e-05/1.434, allocations: 4 kB / 0.986 GB, free: 0.6992 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.495e-05/1.434, allocations: 7.984 kB / 0.986 GB, free: 0.6914 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.27e-05/1.434, allocations: 99.86 kB / 0.9861 GB, free: 0.5938 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.402e-06/1.434, allocations: 0 / 0.9861 GB, free: 0.5938 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005394/1.434, allocations: 79.89 kB / 0.9861 GB, free: 0.5156 MB / 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.001015/1.435, allocations: 0.8109 MB / 0.9869 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002833/1.436, allocations: 211.3 kB / 0.9871 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/1.436, allocations: 4.094 kB / 0.9871 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001376/1.436, allocations: 151.4 kB / 0.9873 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001279/1.436, allocations: 4 kB / 0.9873 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005705/1.437, allocations: 231.3 kB / 0.9875 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003196/1.437, allocations: 0.6887 MB / 0.9882 GB, free: 14.31 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 6.803e-06/1.437, allocations: 0 / 0.9882 GB, free: 14.31 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.887e-05/1.437, allocations: 19.5 kB / 0.9882 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of SimCode: time 5.91e-07/1.437, allocations: 0 / 0.9882 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02609/1.463, allocations: 2.76 MB / 0.9909 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004039/1.463, allocations: 203.4 kB / 0.9911 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.075/4.539, allocations: 0 / 0.9911 GB, free: 11.45 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