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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.0009993/0.0009991, allocations: 98.27 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.006844/0.006844, allocations: 171.8 kB / 16.27 MB, free: 6.371 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.323/1.323, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.61/2.61, allocations: 462.6 MB / 0.7364 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003116/0.0003116, allocations: 15.19 kB / 0.9029 GB, free: 36.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.269/0.2693, allocations: 159.6 MB / 1.059 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.0007034/0.27, allocations: 358.7 kB / 1.059 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001922/0.272, allocations: 1.466 MB / 1.061 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.935e-05/0.272, allocations: 0 / 1.061 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.187e-05/0.2721, allocations: 0 / 1.061 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.644e-05/0.2721, allocations: 4 kB / 1.061 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005756/0.2727, allocations: 163.7 kB / 1.061 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.597e-05/0.2728, allocations: 31.97 kB / 1.061 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.601e-05/0.2728, allocations: 0 / 1.061 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.069e-05/0.2728, allocations: 19.92 kB / 1.061 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.198e-05/0.2729, allocations: 27.91 kB / 1.061 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.169e-05/0.2729, allocations: 3.938 kB / 1.061 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003602/0.2733, allocations: 239.6 kB / 1.061 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.697e-05/0.2733, allocations: 4 kB / 1.061 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.654e-05/0.2734, allocations: 45.56 kB / 1.061 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003058/0.2737, allocations: 207.6 kB / 1.061 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.2737, allocations: 0 / 1.061 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2737, allocations: 0 / 1.061 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.046e-06/0.2737, allocations: 4 kB / 1.061 GB, free: 2.27 MB / 0.8106 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.0004039/0.2741, allocations: 393.4 kB / 1.062 GB, free: 1.832 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.2742, allocations: 11.97 kB / 1.062 GB, free: 1.82 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.134e-05/0.2742, allocations: 34.75 kB / 1.062 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.148e-05/0.2743, allocations: 16.77 kB / 1.062 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000115/0.2744, allocations: 172.3 kB / 1.062 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.2744, allocations: 8.359 kB / 1.062 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.346e-05/0.2744, allocations: 384 / 1.062 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001579/0.2746, allocations: 81.78 kB / 1.062 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.2746, allocations: 0 / 1.062 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.2746, allocations: 0 / 1.062 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.2746, allocations: 0 / 1.062 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.055e-05/0.2747, allocations: 35.97 kB / 1.062 GB, free: 1.426 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001509/0.2749, allocations: 161.7 kB / 1.062 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.567e-05/0.2749, allocations: 62.5 kB / 1.062 GB, free: 1.148 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.63e-05/0.275, allocations: 52.86 kB / 1.062 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.536e-06/0.275, allocations: 8 kB / 1.062 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.2751, allocations: 34.5 kB / 1.062 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.2751, allocations: 0 / 1.062 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0003047/0.2754, allocations: 187.4 kB / 1.062 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/0.2754, allocations: 89.09 kB / 1.063 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.68e-05/0.2755, allocations: 109.8 kB / 1.063 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.2755, allocations: 33.64 kB / 1.063 GB, free: 0.5859 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.024e-05/0.2756, allocations: 80.14 kB / 1.063 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.608e-05/0.2756, allocations: 31.67 kB / 1.063 GB, free: 484 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.688e-05/0.2757, allocations: 13.72 kB / 1.063 GB, free: 464 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.453e-05/0.2758, allocations: 314.8 kB / 1.063 GB, free: 140 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.354e-05/0.2758, allocations: 35.97 kB / 1.063 GB, free: 104 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.622e-05/0.2759, allocations: 39.97 kB / 1.063 GB, free: 64 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001502/0.276, allocations: 136.8 kB / 1.063 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.276, allocations: 0 / 1.063 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001835/0.2762, allocations: 155.2 kB / 1.063 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.323e-05/0.2763, allocations: 37.69 kB / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.2763, allocations: 8.047 kB / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.2763, allocations: 0 / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.144e-06/0.2763, allocations: 7.875 kB / 1.064 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.2763, allocations: 0 / 1.064 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.514e-05/0.2764, allocations: 12 kB / 1.064 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.012e-05/0.2764, allocations: 4 kB / 1.064 GB, free: 15.68 MB / 0.8262 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.0001043/0.2766, allocations: 147.5 kB / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.835e-05/0.2766, allocations: 19.78 kB / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.376e-05/0.2766, allocations: 8.375 kB / 1.064 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.2766, allocations: 4 kB / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.2766, allocations: 0 / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.185e-06/0.2766, allocations: 0 / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00011/0.2767, allocations: 169.6 kB / 1.064 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.2767, allocations: 0 / 1.064 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.883e-06/0.2767, allocations: 3.938 kB / 1.064 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.2768, allocations: 4 kB / 1.064 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.976e-06/0.2768, allocations: 0 / 1.064 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.2768, allocations: 0 / 1.064 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.2768, allocations: 4 kB / 1.064 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002308/0.277, allocations: 202.7 kB / 1.064 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.331e-05/0.2771, allocations: 81.05 kB / 1.064 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/0.2771, allocations: 7.938 kB / 1.064 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.797e-05/0.2771, allocations: 7.984 kB / 1.064 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.906e-05/0.2771, allocations: 4 kB / 1.064 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.2772, allocations: 4 kB / 1.064 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.525e-05/0.2772, allocations: 91.27 kB / 1.064 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.31e-07/0.2772, allocations: 0 / 1.064 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002948/0.2775, allocations: 76.02 kB / 1.064 GB, free: 14.75 MB / 0.8262 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.0007266/0.2783, allocations: 0.7858 MB / 1.065 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002392/0.2785, allocations: 199.2 kB / 1.065 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2785, allocations: 4 kB / 1.065 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001361/0.2787, allocations: 151.4 kB / 1.065 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001511/0.2788, allocations: 8.062 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004769/0.2793, allocations: 232.3 kB / 1.066 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002519/0.2796, allocations: 0.6848 MB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.25e-06/0.2796, allocations: 0 / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.756e-05/0.2796, allocations: 15.44 kB / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.2796, allocations: 0 / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01248/0.2921, allocations: 2.857 MB / 1.069 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001806/0.2923, allocations: 221.7 kB / 1.069 GB, free: 9.617 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.857/2.149, allocations: 1 kB / 1.069 GB, free: 9.617 MB / 0.8262 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/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) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches