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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001865/0.001865, allocations: 105.9 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002012/0.002012, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 225.6 MB / 247.8 MB, free: 3.746 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.725/2.725, allocations: 443.5 MB / 0.7287 GB, free: 14.5 MB / 0.5762 GB " [Timeout remaining time 176] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002577/0.002577, allocations: 71.89 kB / 1.056 GB, free: 2.402 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.3331, allocations: 160.7 MB / 1.213 GB, free: 1.379 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001711/0.3348, allocations: 0.6141 MB / 1.214 GB, free: 0.7617 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001979/0.3368, allocations: 1.447 MB / 1.215 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.654e-05/0.3369, allocations: 4 kB / 1.215 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 5.602e-05/0.3369, allocations: 3.938 kB / 1.215 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.663e-05/0.3369, allocations: 0 / 1.215 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006878/0.3376, allocations: 203.5 kB / 1.215 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.013e-05/0.3377, allocations: 43.91 kB / 1.215 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.395e-05/0.3378, allocations: 3.984 kB / 1.215 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.535e-05/0.3378, allocations: 15.98 kB / 1.215 GB, free: 15.03 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.313e-05/0.3378, allocations: 23.91 kB / 1.215 GB, free: 15 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.358e-05/0.3379, allocations: 4 kB / 1.215 GB, free: 15 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004338/0.3383, allocations: 255.6 kB / 1.216 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.651e-05/0.3383, allocations: 7.938 kB / 1.216 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.609e-05/0.3384, allocations: 15.92 kB / 1.216 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003054/0.3387, allocations: 219.6 kB / 1.216 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.3387, allocations: 4 kB / 1.216 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.042e-06/0.3387, allocations: 4 kB / 1.216 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.3387, allocations: 0 / 1.216 GB, free: 14.5 MB / 0.9669 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.0004465/0.3391, allocations: 404.7 kB / 1.216 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.3392, allocations: 8.031 kB / 1.216 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.999e-05/0.3392, allocations: 42.69 kB / 1.216 GB, free: 14 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.888e-05/0.3392, allocations: 4.891 kB / 1.216 GB, free: 13.99 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001556/0.3394, allocations: 164.4 kB / 1.216 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.3394, allocations: 384 / 1.216 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.733e-05/0.3394, allocations: 8.359 kB / 1.216 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/0.3396, allocations: 77.78 kB / 1.216 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.3396, allocations: 3.984 kB / 1.216 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.3396, allocations: 4 kB / 1.216 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.586e-06/0.3396, allocations: 0 / 1.216 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.19e-05/0.3396, allocations: 35.92 kB / 1.216 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001622/0.3398, allocations: 169.5 kB / 1.217 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.184e-05/0.3399, allocations: 55.28 kB / 1.217 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.181e-05/0.34, allocations: 44.86 kB / 1.217 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.047e-06/0.34, allocations: 4 kB / 1.217 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/0.34, allocations: 34.5 kB / 1.217 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 9.51e-07/0.34, allocations: 3.938 kB / 1.217 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0003235/0.3403, allocations: 187.2 kB / 1.217 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.525e-05/0.3404, allocations: 81.11 kB / 1.217 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.225e-05/0.3405, allocations: 113.8 kB / 1.217 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/0.3405, allocations: 29.7 kB / 1.217 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.618e-05/0.3405, allocations: 88.16 kB / 1.217 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.628e-05/0.3406, allocations: 23.97 kB / 1.217 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.442e-05/0.3406, allocations: 25.7 kB / 1.217 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.3408, allocations: 310.8 kB / 1.218 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.273e-05/0.3408, allocations: 39.97 kB / 1.218 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.574e-05/0.3409, allocations: 39.95 kB / 1.218 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001546/0.341, allocations: 136.2 kB / 1.218 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.341, allocations: 4 kB / 1.218 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002001/0.3412, allocations: 155.9 kB / 1.218 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.424e-05/0.3413, allocations: 41.7 kB / 1.218 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.3413, allocations: 0 / 1.218 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.3413, allocations: 0 / 1.218 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.886e-06/0.3413, allocations: 7.984 kB / 1.218 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.3413, allocations: 0 / 1.218 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/0.3414, allocations: 11.89 kB / 1.218 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.243e-05/0.3414, allocations: 4 kB / 1.218 GB, free: 11.91 MB / 0.9669 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.0001126/0.3415, allocations: 151.5 kB / 1.218 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.968e-05/0.3416, allocations: 11.92 kB / 1.218 GB, free: 11.74 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.265e-05/0.3416, allocations: 8.375 kB / 1.218 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-06/0.3416, allocations: 0 / 1.218 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.3416, allocations: 0 / 1.218 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.3416, allocations: 0 / 1.218 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001359/0.3417, allocations: 169.6 kB / 1.218 GB, free: 11.51 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.3417, allocations: 0 / 1.218 GB, free: 11.51 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.465e-06/0.3417, allocations: 3.938 kB / 1.218 GB, free: 11.51 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.3417, allocations: 3.984 kB / 1.218 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.3417, allocations: 4 kB / 1.218 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.3417, allocations: 0 / 1.218 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.3417, allocations: 0 / 1.218 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002709/0.342, allocations: 202.7 kB / 1.219 GB, free: 11.28 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.595e-05/0.3421, allocations: 85 kB / 1.219 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.786e-05/0.3421, allocations: 4 kB / 1.219 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.826e-05/0.3421, allocations: 7.984 kB / 1.219 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.93e-05/0.3422, allocations: 8 kB / 1.219 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/0.3422, allocations: 7.938 kB / 1.219 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.438e-05/0.3422, allocations: 87.27 kB / 1.219 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3422, allocations: 4.031 kB / 1.219 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003163/0.3425, allocations: 83.8 kB / 1.219 GB, free: 10.98 MB / 0.9669 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.0007831/0.3433, allocations: 0.7973 MB / 1.22 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000259/0.3436, allocations: 155.3 kB / 1.22 GB, free: 9.98 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.3436, allocations: 4.094 kB / 1.22 GB, free: 9.977 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001234/0.3437, allocations: 119.3 kB / 1.22 GB, free: 9.848 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000149/0.3439, allocations: 9.656 kB / 1.22 GB, free: 9.84 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005062/0.3444, allocations: 234.2 kB / 1.22 GB, free: 9.57 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003247/0.3447, allocations: 0.6885 MB / 1.221 GB, free: 8.855 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 5.82e-06/0.3447, allocations: 0 / 1.221 GB, free: 8.855 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.307e-05/0.3447, allocations: 11.44 kB / 1.221 GB, free: 8.848 MB / 0.9669 GB Notification: Performance of SimCode: time 3.11e-07/0.3447, allocations: 0 / 1.221 GB, free: 8.848 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02709/0.3718, allocations: 3.125 MB / 1.224 GB, free: 5.84 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.285/8.657, allocations: 1.203 kB / 1.224 GB, free: 5.84 MB / 0.9669 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.031286481767893]