Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="Buildings_10_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.000797/0.0007971, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.005027/0.005027, allocations: 169.8 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.487/2.487, allocations: 437.8 MB / 0.7121 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003251/0.0003251, allocations: 16.22 kB / 0.873 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5648/0.5651, allocations: 153.8 MB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.0007169/0.5659, allocations: 353.4 kB / 1.023 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001788/0.5677, allocations: 1.451 MB / 1.025 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.842e-05/0.5677, allocations: 0 / 1.025 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 4.163e-05/0.5678, allocations: 0 / 1.025 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 3.964e-05/0.5678, allocations: 7.938 kB / 1.025 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004967/0.5683, allocations: 155.7 kB / 1.025 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.251e-05/0.5684, allocations: 31.97 kB / 1.025 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.591e-05/0.5684, allocations: 0 / 1.025 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.268e-05/0.5685, allocations: 19.92 kB / 1.025 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.638e-05/0.5685, allocations: 19.97 kB / 1.025 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.185e-05/0.5685, allocations: 7.938 kB / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003493/0.5689, allocations: 243.6 kB / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.019e-05/0.5689, allocations: 8 kB / 1.025 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.492e-05/0.569, allocations: 45.56 kB / 1.025 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002809/0.5693, allocations: 207.6 kB / 1.026 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.5693, allocations: 7.922 kB / 1.026 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.402e-06/0.5693, allocations: 0 / 1.026 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.915e-06/0.5693, allocations: 3.938 kB / 1.026 GB, free: 13.31 MB / 0.7794 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.000349/0.5697, allocations: 391.5 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.5697, allocations: 8.031 kB / 1.026 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.359e-05/0.5697, allocations: 38.73 kB / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.295e-05/0.5698, allocations: 4.938 kB / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.5699, allocations: 172.2 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.556e-06/0.5699, allocations: 384 / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.411e-05/0.5699, allocations: 8.312 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001366/0.5701, allocations: 73.78 kB / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.024e-06/0.5701, allocations: 3.984 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.5701, allocations: 4 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.5701, allocations: 0 / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.262e-05/0.5702, allocations: 39.91 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00014/0.5703, allocations: 165.7 kB / 1.026 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.051e-05/0.5704, allocations: 58.56 kB / 1.027 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.435e-05/0.5705, allocations: 52.86 kB / 1.027 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 5.721e-06/0.5705, allocations: 0 / 1.027 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.5705, allocations: 38.5 kB / 1.027 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 8.32e-07/0.5705, allocations: 0 / 1.027 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.000291/0.5708, allocations: 191.3 kB / 1.027 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/0.5709, allocations: 89.12 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.965e-05/0.571, allocations: 113.8 kB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.571, allocations: 25.7 kB / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.633e-05/0.571, allocations: 88.14 kB / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.478e-05/0.5711, allocations: 23.64 kB / 1.027 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.624e-05/0.5711, allocations: 13.72 kB / 1.027 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.5712, allocations: 314.8 kB / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.535e-05/0.5713, allocations: 35.97 kB / 1.027 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.801e-05/0.5713, allocations: 36.53 kB / 1.028 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/0.5715, allocations: 152.3 kB / 1.028 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.5715, allocations: 3.938 kB / 1.028 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001828/0.5717, allocations: 151.2 kB / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.552e-05/0.5717, allocations: 41.69 kB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-06/0.5717, allocations: 0 / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.166e-06/0.5717, allocations: 0 / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.32e-07/0.5718, allocations: 0 / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.406e-06/0.5718, allocations: 0 / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.38e-05/0.5719, allocations: 4 kB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.089e-05/0.5719, allocations: 8 kB / 1.028 GB, free: 10.74 MB / 0.7794 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.662e-05/0.572, allocations: 156.1 kB / 1.028 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.652e-05/0.572, allocations: 7.938 kB / 1.028 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.77e-05/0.572, allocations: 4.375 kB / 1.028 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.572, allocations: 7.938 kB / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.572, allocations: 3.938 kB / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.5721, allocations: 0 / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001061/0.5722, allocations: 173.5 kB / 1.028 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.5722, allocations: 0 / 1.028 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.008e-05/0.5722, allocations: 3.938 kB / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.5722, allocations: 4 kB / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.5722, allocations: 4 kB / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.5722, allocations: 0 / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.5722, allocations: 3.938 kB / 1.028 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002311/0.5725, allocations: 198.8 kB / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.563e-05/0.5725, allocations: 88.95 kB / 1.028 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.5725, allocations: 0 / 1.028 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.759e-05/0.5726, allocations: 11.98 kB / 1.029 GB, free: 9.977 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.846e-05/0.5726, allocations: 8.031 kB / 1.029 GB, free: 9.969 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.5726, allocations: 4 kB / 1.029 GB, free: 9.965 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.575e-05/0.5727, allocations: 95.27 kB / 1.029 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5727, allocations: 0 / 1.029 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002856/0.573, allocations: 67.98 kB / 1.029 GB, free: 9.805 MB / 0.7794 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006568/0.5736, allocations: 0.7975 MB / 1.029 GB, free: 8.973 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002337/0.5739, allocations: 191.3 kB / 1.03 GB, free: 8.773 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.5739, allocations: 0 / 1.03 GB, free: 8.773 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001346/0.574, allocations: 155.3 kB / 1.03 GB, free: 8.609 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001441/0.5742, allocations: 4 kB / 1.03 GB, free: 8.605 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000418/0.5746, allocations: 232.4 kB / 1.03 GB, free: 8.34 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002408/0.5748, allocations: 0.6887 MB / 1.031 GB, free: 7.625 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.939e-06/0.5749, allocations: 0 / 1.031 GB, free: 7.625 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.462e-05/0.5749, allocations: 15.44 kB / 1.031 GB, free: 7.609 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.5749, allocations: 3.938 kB / 1.031 GB, free: 7.605 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01299/0.5879, allocations: 2.849 MB / 1.033 GB, free: 4.902 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001875/0.5881, allocations: 220.5 kB / 1.034 GB, free: 4.645 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.759/2.347, allocations: 4 kB / 1.034 GB, free: 4.641 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches