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.001186/0.001186, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001179/0.001179, allocations: 190.8 kB / 16.25 MB, free: 6.633 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 / 239.9 MB, free: 4.48 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.117/2.117, allocations: 390.2 MB / 0.6644 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 67.89 kB / 0.8122 GB, free: 14.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5358/0.5371, allocations: 140.4 MB / 0.9492 GB, free: 9.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001559/0.5387, allocations: 0.6759 MB / 0.9499 GB, free: 8.609 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001236/0.5399, allocations: 1.43 MB / 0.9513 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.814e-05/0.5399, allocations: 3.938 kB / 0.9513 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.244e-05/0.54, allocations: 0 / 0.9513 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.866e-05/0.54, allocations: 1.375 kB / 0.9513 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005179/0.5406, allocations: 195.9 kB / 0.9515 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.878e-05/0.5406, allocations: 40.44 kB / 0.9515 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 2.997e-05/0.5407, allocations: 6.25 kB / 0.9515 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.272e-05/0.5407, allocations: 11.7 kB / 0.9515 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.458e-05/0.5407, allocations: 21.23 kB / 0.9516 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.051e-05/0.5408, allocations: 1.594 kB / 0.9516 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002794/0.541, allocations: 247.1 kB / 0.9518 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.079e-05/0.5411, allocations: 7.625 kB / 0.9518 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.086e-05/0.5411, allocations: 20.8 kB / 0.9518 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002231/0.5413, allocations: 223.7 kB / 0.952 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.5413, allocations: 0 / 0.952 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.473e-06/0.5414, allocations: 0 / 0.952 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.5414, allocations: 1.312 kB / 0.952 GB, free: 7.035 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.0002828/0.5417, allocations: 403.5 kB / 0.9524 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.5417, allocations: 9.812 kB / 0.9524 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.214e-05/0.5417, allocations: 36.19 kB / 0.9525 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.639e-05/0.5417, allocations: 7.062 kB / 0.9525 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.638e-05/0.5418, allocations: 163.5 kB / 0.9526 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.767e-06/0.5418, allocations: 6.312 kB / 0.9526 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.245e-05/0.5418, allocations: 2.656 kB / 0.9526 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001249/0.542, allocations: 79.28 kB / 0.9527 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.542, allocations: 0 / 0.9527 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.542, allocations: 5.203 kB / 0.9527 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.966e-06/0.542, allocations: 0 / 0.9527 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.216e-05/0.5421, allocations: 33.61 kB / 0.9528 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.865e-05/0.5422, allocations: 160 kB / 0.9529 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.799e-05/0.5422, allocations: 63.86 kB / 0.953 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.41e-05/0.5423, allocations: 57.55 kB / 0.953 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.426e-06/0.5423, allocations: 0 / 0.953 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.198e-05/0.5423, allocations: 39.56 kB / 0.9531 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.5423, allocations: 1.156 kB / 0.9531 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0002525/0.5426, allocations: 193 kB / 0.9533 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.176e-05/0.5426, allocations: 87.92 kB / 0.9533 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.079e-05/0.5427, allocations: 114.4 kB / 0.9534 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.137e-06/0.5427, allocations: 26.98 kB / 0.9535 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.693e-05/0.5427, allocations: 89.56 kB / 0.9536 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.592e-05/0.5427, allocations: 19.81 kB / 0.9536 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.397e-05/0.5428, allocations: 24.95 kB / 0.9536 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.352e-05/0.5428, allocations: 312.1 kB / 0.9539 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.805e-05/0.5429, allocations: 37.22 kB / 0.9539 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.304e-05/0.5429, allocations: 41.38 kB / 0.954 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001031/0.543, allocations: 137.9 kB / 0.9541 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.543, allocations: 4 kB / 0.9541 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00015/0.5432, allocations: 159.4 kB / 0.9543 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/0.5432, allocations: 36.92 kB / 0.9543 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.5432, allocations: 0 / 0.9543 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.548e-06/0.5432, allocations: 1.312 kB / 0.9543 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.463e-06/0.5432, allocations: 4 kB / 0.9543 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.5432, allocations: 0 / 0.9543 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.925e-05/0.5433, allocations: 10.36 kB / 0.9543 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.5434, allocations: 4.688 kB / 0.9543 GB, free: 4.918 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 6.24e-05/0.5434, allocations: 152.7 kB / 0.9545 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.576e-05/0.5434, allocations: 12.31 kB / 0.9545 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.059e-05/0.5435, allocations: 10.36 kB / 0.9545 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.22e-07/0.5435, allocations: 3.938 kB / 0.9545 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.5435, allocations: 0 / 0.9545 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.693e-06/0.5435, allocations: 1.188 kB / 0.9545 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.612e-05/0.5435, allocations: 165.4 kB / 0.9546 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.5435, allocations: 4.922 kB / 0.9546 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.42e-07/0.5435, allocations: 3.938 kB / 0.9547 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.5435, allocations: 1.219 kB / 0.9547 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.5436, allocations: 11.17 kB / 0.9547 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.42e-07/0.5436, allocations: 0 / 0.9547 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.5436, allocations: 0 / 0.9547 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001819/0.5438, allocations: 199.7 kB / 0.9549 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.456e-05/0.5438, allocations: 82.98 kB / 0.9549 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.5438, allocations: 2.375 kB / 0.9549 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.278e-05/0.5438, allocations: 4.281 kB / 0.9549 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.848e-05/0.5439, allocations: 14.92 kB / 0.955 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/0.5439, allocations: 9.219 kB / 0.955 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.724e-05/0.5439, allocations: 91.67 kB / 0.955 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.5439, allocations: 0 / 0.955 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002574/0.5442, allocations: 66.97 kB / 0.9551 GB, free: 4.184 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.0004714/0.5447, allocations: 0.7967 MB / 0.9559 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001915/0.5449, allocations: 200.7 kB / 0.9561 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.5449, allocations: 0 / 0.9561 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.488e-05/0.545, allocations: 156.7 kB / 0.9562 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001347/0.5451, allocations: 8.219 kB / 0.9562 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003422/0.5455, allocations: 223.9 kB / 0.9565 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.029e-05/0.5455, allocations: 0.6947 MB / 0.9571 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.278e-06/0.5456, allocations: 0 / 0.9571 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.745e-05/0.5456, allocations: 15.44 kB / 0.9571 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.5456, allocations: 0 / 0.9571 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0114/0.557, allocations: 2.987 MB / 0.9601 GB, free: 0.8359 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001466/0.5572, allocations: 219 kB / 0.9603 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.557/2.114, allocations: 0 / 0.9603 GB, free: 0.5781 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