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.00125/0.00125, allocations: 108 kB / 15.6 MB, free: 132 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.001423/0.001423, allocations: 191.9 kB / 16.53 MB, free: 6.391 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.353/1.353, 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.334/2.334, allocations: 390.3 MB / 0.6647 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 59.91 kB / 0.8127 GB, free: 14.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5979/0.5994, allocations: 140.4 MB / 0.9497 GB, free: 9.191 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001735/0.6012, allocations: 0.6041 MB / 0.9503 GB, free: 8.723 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001454/0.6026, allocations: 1.429 MB / 0.9517 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.295e-05/0.6027, allocations: 0 / 0.9517 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.552e-05/0.6027, allocations: 4.469 kB / 0.9517 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.121e-05/0.6028, allocations: 5.766 kB / 0.9517 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005908/0.6034, allocations: 210.7 kB / 0.9519 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.191e-05/0.6035, allocations: 41.11 kB / 0.952 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.558e-05/0.6035, allocations: 5.438 kB / 0.952 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.531e-05/0.6035, allocations: 15.98 kB / 0.952 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.349e-05/0.6036, allocations: 20.83 kB / 0.952 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.497e-05/0.6036, allocations: 2.812 kB / 0.952 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003261/0.6039, allocations: 249.7 kB / 0.9523 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.364e-05/0.604, allocations: 15.45 kB / 0.9523 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.938e-05/0.604, allocations: 8.344 kB / 0.9523 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002473/0.6043, allocations: 220.8 kB / 0.9525 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.6043, allocations: 0 / 0.9525 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.483e-06/0.6043, allocations: 0 / 0.9525 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.107e-06/0.6043, allocations: 0 / 0.9525 GB, free: 7.129 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.0003044/0.6046, allocations: 408.1 kB / 0.9529 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.6046, allocations: 9.156 kB / 0.9529 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.748e-05/0.6047, allocations: 33.25 kB / 0.9529 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.912e-05/0.6047, allocations: 11.61 kB / 0.9529 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.528e-05/0.6048, allocations: 166.7 kB / 0.9531 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.6048, allocations: 1.375 kB / 0.9531 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.147e-05/0.6048, allocations: 2.688 kB / 0.9531 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001294/0.6049, allocations: 79.77 kB / 0.9532 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.001e-06/0.605, allocations: 4 kB / 0.9532 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.605, allocations: 1.406 kB / 0.9532 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.605, allocations: 0 / 0.9532 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.548e-05/0.605, allocations: 38 kB / 0.9532 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.707e-05/0.6051, allocations: 160.9 kB / 0.9534 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.517e-05/0.6052, allocations: 63.44 kB / 0.9534 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.75e-05/0.6053, allocations: 52.58 kB / 0.9535 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.883e-06/0.6053, allocations: 1.5 kB / 0.9535 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.638e-05/0.6053, allocations: 38.5 kB / 0.9535 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.6053, allocations: 1.406 kB / 0.9535 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0002751/0.6056, allocations: 192.4 kB / 0.9537 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.957e-05/0.6056, allocations: 88.25 kB / 0.9538 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.696e-05/0.6057, allocations: 114.2 kB / 0.9539 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.287e-06/0.6057, allocations: 26.86 kB / 0.9539 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.896e-05/0.6057, allocations: 86.23 kB / 0.954 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.21e-05/0.6058, allocations: 26.8 kB / 0.954 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.491e-05/0.6058, allocations: 21.91 kB / 0.954 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.576e-05/0.6059, allocations: 319.9 kB / 0.9543 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.893e-05/0.6059, allocations: 32.98 kB / 0.9544 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.202e-05/0.606, allocations: 33.56 kB / 0.9544 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001183/0.6061, allocations: 142 kB / 0.9545 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.6061, allocations: 0 / 0.9545 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000154/0.6063, allocations: 158.8 kB / 0.9547 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.586e-05/0.6063, allocations: 38 kB / 0.9547 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.6063, allocations: 4.062 kB / 0.9547 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.6063, allocations: 0 / 0.9547 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.152e-06/0.6063, allocations: 5.266 kB / 0.9547 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.6063, allocations: 3.938 kB / 0.9547 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.973e-05/0.6064, allocations: 9.922 kB / 0.9548 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.991e-05/0.6065, allocations: 4.562 kB / 0.9548 GB, free: 5.004 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.559e-05/0.6065, allocations: 148.8 kB / 0.9549 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.776e-05/0.6065, allocations: 12.72 kB / 0.9549 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.005e-05/0.6066, allocations: 5.531 kB / 0.9549 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.6066, allocations: 4 kB / 0.9549 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.6066, allocations: 1.219 kB / 0.9549 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.694e-06/0.6066, allocations: 0 / 0.9549 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.304e-05/0.6066, allocations: 169.6 kB / 0.9551 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.6067, allocations: 1.188 kB / 0.9551 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.102e-06/0.6067, allocations: 3.938 kB / 0.9551 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.6067, allocations: 1.031 kB / 0.9551 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.6067, allocations: 6.344 kB / 0.9551 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.6067, allocations: 1.062 kB / 0.9551 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.6067, allocations: 0 / 0.9551 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001932/0.6069, allocations: 207.8 kB / 0.9553 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.492e-05/0.6069, allocations: 82.36 kB / 0.9554 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.84e-05/0.6069, allocations: 6.422 kB / 0.9554 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.624e-05/0.607, allocations: 5.844 kB / 0.9554 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.631e-05/0.607, allocations: 6.188 kB / 0.9554 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/0.607, allocations: 8.859 kB / 0.9554 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.908e-05/0.6071, allocations: 91.8 kB / 0.9555 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6071, allocations: 0 / 0.9555 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002818/0.6073, allocations: 78.48 kB / 0.9556 GB, free: 4.266 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.0004893/0.6078, allocations: 0.7895 MB / 0.9563 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002083/0.6081, allocations: 199.2 kB / 0.9565 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.6081, allocations: 1.25 kB / 0.9565 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.843e-05/0.6082, allocations: 156.7 kB / 0.9567 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001405/0.6083, allocations: 5.219 kB / 0.9567 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003726/0.6087, allocations: 218.7 kB / 0.9569 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.846e-05/0.6088, allocations: 0.6866 MB / 0.9576 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.378e-06/0.6088, allocations: 0 / 0.9576 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.859e-05/0.6088, allocations: 11.44 kB / 0.9576 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of SimCode: time 3.1e-07/0.6088, allocations: 1.375 kB / 0.9576 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01734/0.6262, allocations: 3.078 MB / 0.9606 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.487/8.113, allocations: 9.781 kB / 0.9606 GB, free: 0.8086 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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