Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="Buildings_9_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.001207/0.001206, allocations: 108 kB / 15.61 MB, free: 152 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.001193/0.001193, allocations: 196.8 kB / 16.53 MB, free: 6.664 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.231/1.231, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.131/2.131, allocations: 390.3 MB / 0.6647 GB, free: 280 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001306, allocations: 67.89 kB / 0.8127 GB, free: 14.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5785/0.5798, allocations: 140.4 MB / 0.9497 GB, free: 9.168 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001612/0.5814, allocations: 0.6102 MB / 0.9503 GB, free: 8.695 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001764/0.5832, allocations: 1.432 MB / 0.9517 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.908e-05/0.5833, allocations: 0 / 0.9517 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.732e-05/0.5833, allocations: 1.125 kB / 0.9517 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.21e-05/0.5834, allocations: 5.062 kB / 0.9517 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007521/0.5841, allocations: 216.8 kB / 0.9519 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001108/0.5843, allocations: 36.06 kB / 0.952 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.967e-05/0.5843, allocations: 6.125 kB / 0.952 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.391e-05/0.5844, allocations: 16.08 kB / 0.952 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.541e-05/0.5844, allocations: 20.02 kB / 0.952 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.5844, allocations: 2.031 kB / 0.952 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003949/0.5848, allocations: 252.1 kB / 0.9523 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.586e-05/0.5849, allocations: 6.531 kB / 0.9523 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.051e-05/0.5849, allocations: 16.89 kB / 0.9523 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003091/0.5853, allocations: 223.9 kB / 0.9525 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.5853, allocations: 0 / 0.9525 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.412e-06/0.5853, allocations: 0 / 0.9525 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.5853, allocations: 0 / 0.9525 GB, free: 7.094 MB / 0.7169 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.0003751/0.5857, allocations: 400.2 kB / 0.9529 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.5857, allocations: 9.375 kB / 0.9529 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.079e-05/0.5857, allocations: 37.53 kB / 0.9529 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.952e-05/0.5858, allocations: 7.594 kB / 0.9529 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.103e-05/0.5859, allocations: 167 kB / 0.9531 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.5859, allocations: 5.938 kB / 0.9531 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.086e-05/0.5859, allocations: 1.812 kB / 0.9531 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.586, allocations: 79.33 kB / 0.9532 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.586, allocations: 0 / 0.9532 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.5861, allocations: 1.344 kB / 0.9532 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.5861, allocations: 0 / 0.9532 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.641e-05/0.5861, allocations: 33.92 kB / 0.9532 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001076/0.5862, allocations: 159.8 kB / 0.9533 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.044e-05/0.5863, allocations: 72.95 kB / 0.9534 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.94e-05/0.5864, allocations: 48.83 kB / 0.9535 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.007e-06/0.5864, allocations: 0 / 0.9535 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.959e-05/0.5864, allocations: 36 kB / 0.9535 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.943e-06/0.5864, allocations: 0 / 0.9535 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.000285/0.5867, allocations: 197.6 kB / 0.9537 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.042e-05/0.5868, allocations: 79.83 kB / 0.9538 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.044e-05/0.5868, allocations: 114.5 kB / 0.9539 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.055e-05/0.5869, allocations: 31.05 kB / 0.9539 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.218e-05/0.5869, allocations: 89.47 kB / 0.954 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.953e-05/0.5869, allocations: 19.97 kB / 0.954 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.691e-05/0.587, allocations: 25.48 kB / 0.954 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.78e-05/0.587, allocations: 312.2 kB / 0.9543 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.157e-05/0.5871, allocations: 36.41 kB / 0.9544 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.384e-05/0.5871, allocations: 37.22 kB / 0.9544 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001166/0.5872, allocations: 139.7 kB / 0.9545 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.5872, allocations: 4.031 kB / 0.9545 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001798/0.5874, allocations: 166.7 kB / 0.9547 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.785e-05/0.5875, allocations: 37.67 kB / 0.9547 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.5875, allocations: 0 / 0.9547 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.5875, allocations: 7.922 kB / 0.9547 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.01e-07/0.5875, allocations: 0 / 0.9547 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.5875, allocations: 5.078 kB / 0.9547 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.041e-05/0.5876, allocations: 5.031 kB / 0.9547 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.22e-05/0.5876, allocations: 4.938 kB / 0.9548 GB, free: 4.977 MB / 0.7169 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 7.124e-05/0.5877, allocations: 153.2 kB / 0.9549 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.702e-05/0.5877, allocations: 12.72 kB / 0.9549 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.124e-05/0.5877, allocations: 9.609 kB / 0.9549 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.51e-07/0.5877, allocations: 0 / 0.9549 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.5877, allocations: 1.281 kB / 0.9549 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.5877, allocations: 0 / 0.9549 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.022e-05/0.5878, allocations: 165.9 kB / 0.9551 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.5878, allocations: 0 / 0.9551 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.312e-06/0.5878, allocations: 7.5 kB / 0.9551 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.5878, allocations: 0 / 0.9551 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.5879, allocations: 11.48 kB / 0.9551 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.5879, allocations: 0 / 0.9551 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.5879, allocations: 0 / 0.9551 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002043/0.5881, allocations: 202.3 kB / 0.9553 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.341e-05/0.5881, allocations: 82.45 kB / 0.9554 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.086e-05/0.5881, allocations: 2.562 kB / 0.9554 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.435e-05/0.5882, allocations: 12.11 kB / 0.9554 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.028e-05/0.5882, allocations: 6.188 kB / 0.9554 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/0.5882, allocations: 9.688 kB / 0.9554 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.844e-05/0.5883, allocations: 91.08 kB / 0.9555 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5883, allocations: 0 / 0.9555 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002998/0.5886, allocations: 74.95 kB / 0.9556 GB, free: 4.238 MB / 0.7169 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.000596/0.5892, allocations: 0.7849 MB / 0.9563 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002423/0.5894, allocations: 200.3 kB / 0.9565 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.5894, allocations: 4 kB / 0.9565 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001054/0.5895, allocations: 148.3 kB / 0.9567 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001398/0.5897, allocations: 11.31 kB / 0.9567 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003781/0.5901, allocations: 216.9 kB / 0.9569 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.712e-05/0.5902, allocations: 0.6945 MB / 0.9576 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.859e-06/0.5902, allocations: 1.625 kB / 0.9576 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.768e-05/0.5902, allocations: 11.44 kB / 0.9576 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.5902, allocations: 0 / 0.9576 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02934/0.6196, allocations: 3.07 MB / 0.9606 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.176/7.795, allocations: 15.12 kB / 0.9606 GB, free: 0.7812 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches