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.009397/0.009397, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.00207/0.002071, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.41/1.41, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.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.563/2.563, allocations: 437 MB / 0.7105 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 63.84 kB / 1.018 GB, free: 9.871 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8531/0.855, allocations: 151.6 MB / 1.166 GB, free: 3.789 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.002127/0.8572, allocations: 0.6232 MB / 1.167 GB, free: 3.172 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002124/0.8593, allocations: 1.434 MB / 1.168 GB, free: 1.723 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.38e-05/0.8594, allocations: 0 / 1.168 GB, free: 1.723 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 6.094e-05/0.8595, allocations: 3.938 kB / 1.168 GB, free: 1.719 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.786e-05/0.8595, allocations: 4 kB / 1.168 GB, free: 1.715 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009501/0.8605, allocations: 208.9 kB / 1.168 GB, free: 1.512 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001104/0.8606, allocations: 35.95 kB / 1.168 GB, free: 1.477 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 5.823e-05/0.8607, allocations: 11.98 kB / 1.168 GB, free: 1.465 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 3.678e-05/0.8607, allocations: 15.94 kB / 1.168 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.445e-05/0.8608, allocations: 19.97 kB / 1.168 GB, free: 1.43 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.8608, allocations: 0 / 1.168 GB, free: 1.43 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004536/0.8612, allocations: 255.6 kB / 1.169 GB, free: 1.18 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 6.26e-05/0.8613, allocations: 7.938 kB / 1.169 GB, free: 1.172 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.704e-05/0.8614, allocations: 15.88 kB / 1.169 GB, free: 1.156 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003629/0.8617, allocations: 219.2 kB / 1.169 GB, free: 0.9453 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.8618, allocations: 0 / 1.169 GB, free: 0.9453 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.794e-06/0.8618, allocations: 0 / 1.169 GB, free: 0.9453 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.59e-06/0.8618, allocations: 0 / 1.169 GB, free: 0.9453 MB / 0.8887 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.0004671/0.8623, allocations: 404.7 kB / 1.169 GB, free: 0.4961 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.8623, allocations: 12.86 kB / 1.169 GB, free: 496 kB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.489e-05/0.8624, allocations: 38.75 kB / 1.169 GB, free: 448 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.775e-05/0.8624, allocations: 12.88 kB / 1.169 GB, free: 436 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001233/0.8625, allocations: 168.3 kB / 1.17 GB, free: 228 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.8625, allocations: 4.375 kB / 1.17 GB, free: 224 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.417e-05/0.8626, allocations: 384 / 1.17 GB, free: 224 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000176/0.8627, allocations: 73.78 kB / 1.17 GB, free: 144 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.8628, allocations: 7.938 kB / 1.17 GB, free: 136 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.968e-06/0.8628, allocations: 4 kB / 1.17 GB, free: 132 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.8628, allocations: 0 / 1.17 GB, free: 132 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.818e-05/0.8629, allocations: 39.95 kB / 1.17 GB, free: 92 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001835/0.8631, allocations: 165.6 kB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 9.853e-05/0.8632, allocations: 62.5 kB / 1.17 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.238e-05/0.8632, allocations: 48.86 kB / 1.17 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.49e-05/0.8633, allocations: 4 kB / 1.17 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.8633, allocations: 42.5 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.8633, allocations: 0 / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.0003758/0.8637, allocations: 183.5 kB / 1.17 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.871e-05/0.8638, allocations: 93.03 kB / 1.17 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.626e-05/0.8639, allocations: 110.1 kB / 1.17 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.8639, allocations: 29.7 kB / 1.17 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.804e-05/0.8639, allocations: 84.14 kB / 1.17 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.41e-05/0.864, allocations: 27.73 kB / 1.171 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.879e-05/0.864, allocations: 25.75 kB / 1.171 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.8642, allocations: 314.8 kB / 1.171 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.202e-05/0.8642, allocations: 31.98 kB / 1.171 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.548e-05/0.8643, allocations: 40.28 kB / 1.171 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001575/0.8645, allocations: 144.3 kB / 1.171 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.8645, allocations: 0 / 1.171 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002014/0.8647, allocations: 155.2 kB / 1.171 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 4.422e-05/0.8647, allocations: 37.69 kB / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.8648, allocations: 0 / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.8648, allocations: 4.062 kB / 1.171 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.593e-06/0.8648, allocations: 0 / 1.171 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.8648, allocations: 4 kB / 1.171 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001517/0.865, allocations: 11.94 kB / 1.171 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.629e-05/0.865, allocations: 4 kB / 1.171 GB, free: 14.33 MB / 0.9044 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.000123/0.8651, allocations: 151.5 kB / 1.171 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.829e-05/0.8651, allocations: 7.938 kB / 1.171 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.639e-05/0.8652, allocations: 4.375 kB / 1.171 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.8652, allocations: 0 / 1.171 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.8652, allocations: 4 kB / 1.171 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.8652, allocations: 3.938 kB / 1.171 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001314/0.8653, allocations: 177.5 kB / 1.172 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.8653, allocations: 4 kB / 1.172 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.384e-06/0.8653, allocations: 3.938 kB / 1.172 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.8654, allocations: 0 / 1.172 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.8654, allocations: 4 kB / 1.172 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.8654, allocations: 0 / 1.172 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.8654, allocations: 0 / 1.172 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002683/0.8657, allocations: 202.7 kB / 1.172 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.177e-05/0.8657, allocations: 85 kB / 1.172 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.197e-05/0.8658, allocations: 7.984 kB / 1.172 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.961e-05/0.8658, allocations: 4 kB / 1.172 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.661e-05/0.8658, allocations: 8 kB / 1.172 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.588e-05/0.8659, allocations: 7.984 kB / 1.172 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.582e-05/0.8659, allocations: 87.28 kB / 1.172 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1e-07/0.8659, allocations: 0 / 1.172 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003821/0.8663, allocations: 75.86 kB / 1.172 GB, free: 13.4 MB / 0.9044 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.0008107/0.8671, allocations: 0.7936 MB / 1.173 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002807/0.8674, allocations: 195.2 kB / 1.173 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.8674, allocations: 0 / 1.173 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001609/0.8676, allocations: 151.3 kB / 1.173 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001671/0.8678, allocations: 12.16 kB / 1.173 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000523/0.8683, allocations: 222.3 kB / 1.173 GB, free: 11.94 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002812/0.8686, allocations: 0.6846 MB / 1.174 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 5.931e-06/0.8686, allocations: 0 / 1.174 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.11e-05/0.8687, allocations: 11.44 kB / 1.174 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of SimCode: time 2.51e-07/0.8687, allocations: 3.938 kB / 1.174 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02151/0.8902, allocations: 3.116 MB / 1.177 GB, free: 8.219 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.746/8.637, allocations: 5.516 kB / 1.177 GB, free: 8.215 MB / 0.9044 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 & python3 -m fmpy simulate --output-file Buildings_10_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_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.csv","/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