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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001064/0.001064, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 196.8 kB / 16.53 MB, free: 6.672 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.256/1.256, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.39/2.39, allocations: 437 MB / 0.7104 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 63.91 kB / 0.8694 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5935/0.5948, allocations: 151.6 MB / 1.017 GB, free: 2.48 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001736/0.5966, allocations: 0.6098 MB / 1.018 GB, free: 1.867 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001716/0.5984, allocations: 1.431 MB / 1.019 GB, free: 428 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.341e-05/0.5984, allocations: 3.938 kB / 1.019 GB, free: 424 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.44e-05/0.5984, allocations: 3.938 kB / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.319e-05/0.5985, allocations: 3.984 kB / 1.019 GB, free: 416 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006625/0.5992, allocations: 218.7 kB / 1.02 GB, free: 200 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.624e-05/0.5992, allocations: 39.97 kB / 1.02 GB, free: 160 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.682e-05/0.5993, allocations: 0 / 1.02 GB, free: 160 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.192e-05/0.5993, allocations: 15.92 kB / 1.02 GB, free: 144 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.697e-05/0.5994, allocations: 15.98 kB / 1.02 GB, free: 128 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.5994, allocations: 7.938 kB / 1.02 GB, free: 120 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003986/0.5998, allocations: 255.7 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.239e-05/0.5998, allocations: 0 / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.314e-05/0.5999, allocations: 15.88 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003083/0.6002, allocations: 219.5 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.6002, allocations: 0 / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.182e-06/0.6002, allocations: 4 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.6002, allocations: 0 / 1.02 GB, free: 15.63 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.0004403/0.6007, allocations: 403.4 kB / 1.021 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.6007, allocations: 8.031 kB / 1.021 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.766e-05/0.6008, allocations: 38.73 kB / 1.021 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.004e-05/0.6008, allocations: 4.844 kB / 1.021 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.6009, allocations: 164.4 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.6009, allocations: 4.375 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.739e-06/0.6009, allocations: 4.312 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.6011, allocations: 85.77 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.6011, allocations: 4 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.6011, allocations: 0 / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.6011, allocations: 0 / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.774e-05/0.6012, allocations: 35.91 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001467/0.6013, allocations: 169.6 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.934e-05/0.6014, allocations: 58.55 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.047e-05/0.6015, allocations: 48.88 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 6.602e-06/0.6015, allocations: 4 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/0.6016, allocations: 38.5 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 9.82e-07/0.6016, allocations: 0 / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0003026/0.6019, allocations: 187.4 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.706e-05/0.6019, allocations: 85.09 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.77e-05/0.602, allocations: 114.3 kB / 1.022 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.602, allocations: 29.7 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.629e-05/0.6021, allocations: 84.17 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.601e-05/0.6021, allocations: 27.64 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.644e-05/0.6022, allocations: 17.72 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.6023, allocations: 318.8 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.267e-05/0.6023, allocations: 35.92 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.767e-05/0.6024, allocations: 39.97 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001414/0.6025, allocations: 148.3 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.6025, allocations: 0 / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001842/0.6027, allocations: 151.2 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.835e-05/0.6028, allocations: 45.75 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.6028, allocations: 0 / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.6028, allocations: 0 / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.91e-07/0.6028, allocations: 0 / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.6028, allocations: 0 / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.264e-05/0.6029, allocations: 11.98 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.124e-05/0.6029, allocations: 4 kB / 1.022 GB, free: 13.04 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 0.0001008/0.603, allocations: 143.5 kB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.794e-05/0.6031, allocations: 15.84 kB / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.214e-05/0.6031, allocations: 12.38 kB / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/0.6031, allocations: 0 / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.6031, allocations: 3.938 kB / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.6031, allocations: 0 / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001141/0.6032, allocations: 173.6 kB / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.6032, allocations: 0 / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.783e-06/0.6032, allocations: 7.938 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.6032, allocations: 0 / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.6033, allocations: 0 / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.6033, allocations: 4 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.6033, allocations: 3.938 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002281/0.6035, allocations: 202.7 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.261e-05/0.6036, allocations: 81.05 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.955e-05/0.6036, allocations: 7.984 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.359e-05/0.6036, allocations: 4 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.869e-05/0.6036, allocations: 4 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.6037, allocations: 7.984 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.492e-05/0.6037, allocations: 87.28 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6037, allocations: 4.031 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003002/0.604, allocations: 75.98 kB / 1.023 GB, free: 12.11 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.0007167/0.6048, allocations: 0.7935 MB / 1.024 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002554/0.605, allocations: 195.3 kB / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.605, allocations: 4.094 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001362/0.6052, allocations: 151.3 kB / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001484/0.6053, allocations: 9.312 kB / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004804/0.6058, allocations: 222.6 kB / 1.025 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002602/0.6061, allocations: 0.6846 MB / 1.025 GB, free: 9.938 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.5e-06/0.6061, allocations: 7.875 kB / 1.025 GB, free: 9.93 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.512e-05/0.6061, allocations: 15.5 kB / 1.025 GB, free: 9.914 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.6061, allocations: 0 / 1.025 GB, free: 9.914 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.022/0.6281, allocations: 3.075 MB / 1.028 GB, free: 6.934 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.176/7.804, allocations: 4.266 kB / 1.028 GB, free: 6.934 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