Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001874/0.001874, allocations: 213.7 kB / 22.25 MB, free: 4.855 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.522/1.522, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.176/3.176, allocations: 0.4892 GB / 0.7943 GB, free: 35.48 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Interpolate,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Interpolate,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002336/0.002336, allocations: 78.25 kB / 1.153 GB, free: 25.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3468/0.3491, allocations: 176.1 MB / 1.325 GB, free: 2.285 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.002988/0.3521, allocations: 1.525 MB / 1.327 GB, free: 0.7539 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001492/0.3536, allocations: 0.7129 MB / 1.327 GB, free: 36 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.764e-05/0.3536, allocations: 0 / 1.327 GB, free: 36 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0002795/0.3539, allocations: 131.7 kB / 1.327 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001231/0.354, allocations: 75.83 kB / 1.327 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007732/0.3548, allocations: 187.8 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001361/0.3549, allocations: 67.81 kB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.054e-05/0.355, allocations: 0 / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 7.954e-05/0.3551, allocations: 39.89 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001489/0.3552, allocations: 91.81 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/0.3552, allocations: 0 / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005001/0.3557, allocations: 235.6 kB / 1.328 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001003/0.3558, allocations: 59.83 kB / 1.328 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.298e-05/0.3559, allocations: 43.61 kB / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004514/0.3563, allocations: 283 kB / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3563, allocations: 4 kB / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3563, allocations: 3.938 kB / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.3564, allocations: 0 / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.00074/0.3571, allocations: 452.7 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.3571, allocations: 12.03 kB / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.651e-05/0.3572, allocations: 30.75 kB / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.665e-05/0.3572, allocations: 20.8 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002641/0.3575, allocations: 210.7 kB / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.3575, allocations: 384 / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.185e-06/0.3575, allocations: 384 / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001966/0.3577, allocations: 85.78 kB / 1.329 GB, free: 13.97 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.3577, allocations: 7.922 kB / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-06/0.3577, allocations: 0 / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.3577, allocations: 0 / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002216/0.3579, allocations: 83.94 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005766/0.3585, allocations: 359.8 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001912/0.3587, allocations: 90.53 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000119/0.3588, allocations: 52.88 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.924e-05/0.3589, allocations: 15.98 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.649e-05/0.3589, allocations: 42.5 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.303e-06/0.3589, allocations: 0 / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.000467/0.3594, allocations: 173.5 kB / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.28e-05/0.3594, allocations: 55.53 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003951/0.3598, allocations: 356.5 kB / 1.33 GB, free: 12.66 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.3598, allocations: 29.7 kB / 1.33 GB, free: 12.63 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.36, allocations: 136.1 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.602e-05/0.36, allocations: 7.938 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.159e-05/0.36, allocations: 29.72 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001633/0.3602, allocations: 338.8 kB / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001703/0.3604, allocations: 95.94 kB / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001642/0.3605, allocations: 95.89 kB / 1.331 GB, free: 11.92 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003126/0.3608, allocations: 210.7 kB / 1.331 GB, free: 11.71 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3608, allocations: 7.938 kB / 1.331 GB, free: 11.71 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003841/0.3612, allocations: 245.4 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.3612, allocations: 14.33 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.3612, allocations: 0 / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.3613, allocations: 0 / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.334e-05/0.3613, allocations: 4 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.3613, allocations: 8 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.187e-05/0.3614, allocations: 15.88 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.591e-06/0.3614, allocations: 0 / 1.332 GB, free: 11.42 MB / 1.029 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 (3): * Single equations (assignments): 2 * Array equations: 1 * Algorithm blocks: 0 * 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.0001329/0.3616, allocations: 154.2 kB / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.307e-05/0.3616, allocations: 23.81 kB / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000304/0.3619, allocations: 138.7 kB / 1.332 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.3619, allocations: 0 / 1.332 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.3619, allocations: 7.922 kB / 1.332 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.3619, allocations: 4.031 kB / 1.332 GB, free: 11.08 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000242/0.3622, allocations: 208.6 kB / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3622, allocations: 0 / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.833e-05/0.3622, allocations: 7.984 kB / 1.332 GB, free: 10.83 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.3622, allocations: 4 kB / 1.332 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.3622, allocations: 0 / 1.332 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.3622, allocations: 0 / 1.332 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3622, allocations: 0 / 1.332 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003296/0.3626, allocations: 243.2 kB / 1.332 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.1e-05/0.3626, allocations: 27.84 kB / 1.332 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.035e-05/0.3626, allocations: 0 / 1.332 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.857e-05/0.3627, allocations: 4 kB / 1.332 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.44e-05/0.3628, allocations: 7.984 kB / 1.332 GB, free: 10.53 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.3628, allocations: 4 kB / 1.332 GB, free: 10.53 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002661/0.363, allocations: 251 kB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.363, allocations: 0 / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003608/0.3634, allocations: 67.86 kB / 1.333 GB, free: 10.22 MB / 1.029 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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.0008543/0.3643, allocations: 0.8253 MB / 1.334 GB, free: 9.367 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003316/0.3646, allocations: 143.9 kB / 1.334 GB, free: 9.227 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.3646, allocations: 0 / 1.334 GB, free: 9.227 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000118/0.3647, allocations: 51.95 kB / 1.334 GB, free: 9.176 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003148/0.365, allocations: 8.656 kB / 1.334 GB, free: 9.168 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003277/0.3683, allocations: 2.74 MB / 1.336 GB, free: 6.352 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001303/0.3684, allocations: 127.2 kB / 1.336 GB, free: 6.211 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.62e-05/0.3685, allocations: 16.48 kB / 1.337 GB, free: 6.195 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.104e-05/0.3686, allocations: 51.42 kB / 1.337 GB, free: 6.145 MB / 1.029 GB Notification: Performance of SimCode: time 5.51e-07/0.3686, allocations: 0 / 1.337 GB, free: 6.145 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03444/0.403, allocations: 4.853 MB / 1.341 GB, free: 1.453 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.86, allocations: 8.25 kB / 1.341 GB, free: 1.449 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate_res.csv --start-time 0 --stop-time 500 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.2 Buildings_12_Buildings_Utilities_Math_Functions_Examples_Interpolate.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_Interpolate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate.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: 18.784576294012368]