Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.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.00136/0.00136, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001537/0.001537, allocations: 211.8 kB / 22.24 MB, free: 5.258 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.533/1.533, allocations: 230.6 MB / 256 MB, free: 7.789 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.292/3.292, allocations: 0.4892 GB / 0.7943 GB, free: 35.71 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.Examples.Interpolate,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Interpolate,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_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.002067/0.002067, allocations: 68.34 kB / 1.153 GB, free: 25.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3233/0.3253, allocations: 176.1 MB / 1.325 GB, free: 2.359 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.004006/0.3293, allocations: 1.496 MB / 1.327 GB, free: 0.8594 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002066/0.3314, allocations: 0.7635 MB / 1.327 GB, free: 92 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.396e-05/0.3315, allocations: 0 / 1.327 GB, free: 92 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0003633/0.3318, allocations: 127.9 kB / 1.327 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0008221/0.3326, allocations: 187.5 kB / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002599/0.3329, allocations: 76.02 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001615/0.3331, allocations: 75.73 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.271e-05/0.3332, allocations: 4 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 9.151e-05/0.3332, allocations: 43.88 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001818/0.3334, allocations: 87.83 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.35e-05/0.3335, allocations: 8 kB / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006839/0.3341, allocations: 235.6 kB / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002155/0.3343, allocations: 111.7 kB / 1.328 GB, free: 15.15 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001163/0.3345, allocations: 67.41 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006508/0.3351, allocations: 358.5 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.3351, allocations: 0 / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3351, allocations: 0 / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.112e-06/0.3351, allocations: 0 / 1.329 GB, free: 14.73 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.001151/0.3363, allocations: 0.5507 MB / 1.329 GB, free: 14.15 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.3363, allocations: 15.97 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.764e-05/0.3364, allocations: 34.75 kB / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.841e-05/0.3365, allocations: 36.7 kB / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001287/0.3377, allocations: 0.8599 MB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.3378, allocations: 4.375 kB / 1.33 GB, free: 13.17 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.678e-06/0.3378, allocations: 384 / 1.33 GB, free: 13.17 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002678/0.338, allocations: 89.72 kB / 1.33 GB, free: 13.08 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.338, allocations: 0 / 1.33 GB, free: 13.08 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.3381, allocations: 0 / 1.33 GB, free: 13.08 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.3381, allocations: 0 / 1.33 GB, free: 13.08 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003189/0.3384, allocations: 107.9 kB / 1.33 GB, free: 12.97 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009899/0.3394, allocations: 0.5349 MB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002622/0.3396, allocations: 102.5 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001733/0.3398, allocations: 64.75 kB / 1.331 GB, free: 12.22 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 6.342e-05/0.3399, allocations: 23.98 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/0.3399, allocations: 30.56 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.803e-06/0.3399, allocations: 0 / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.00069/0.3406, allocations: 217.4 kB / 1.331 GB, free: 11.94 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.998e-05/0.3406, allocations: 51.41 kB / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002029/0.3427, allocations: 1.209 MB / 1.332 GB, free: 10.65 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.973e-05/0.3427, allocations: 25.7 kB / 1.332 GB, free: 10.62 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002065/0.3429, allocations: 176.1 kB / 1.333 GB, free: 10.44 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.93e-05/0.3429, allocations: 11.95 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.944e-05/0.343, allocations: 9.719 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002432/0.3432, allocations: 354.9 kB / 1.333 GB, free: 10.06 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001936/0.3434, allocations: 55.91 kB / 1.333 GB, free: 10 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001763/0.3436, allocations: 47.97 kB / 1.333 GB, free: 9.957 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003534/0.344, allocations: 108.8 kB / 1.333 GB, free: 9.848 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.344, allocations: 4 kB / 1.333 GB, free: 9.844 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0005101/0.3445, allocations: 161.5 kB / 1.333 GB, free: 9.68 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.3445, allocations: 4 kB / 1.333 GB, free: 9.676 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.3445, allocations: 7.984 kB / 1.333 GB, free: 9.668 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.3445, allocations: 0 / 1.333 GB, free: 9.668 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001335/0.3447, allocations: 8 kB / 1.333 GB, free: 9.66 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.3447, allocations: 0 / 1.333 GB, free: 9.66 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001386/0.3448, allocations: 7.984 kB / 1.333 GB, free: 9.652 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.521e-05/0.3448, allocations: 7.984 kB / 1.333 GB, free: 9.645 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 (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 prepare postOptimizeDAE: time 0.0002563/0.3451, allocations: 174.2 kB / 1.334 GB, free: 9.465 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/0.3452, allocations: 35.8 kB / 1.334 GB, free: 9.43 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005458/0.3457, allocations: 172.2 kB / 1.334 GB, free: 9.254 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.3457, allocations: 0 / 1.334 GB, free: 9.254 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.3457, allocations: 0 / 1.334 GB, free: 9.254 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.563e-06/0.3457, allocations: 7.922 kB / 1.334 GB, free: 9.246 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004792/0.3462, allocations: 248.6 kB / 1.334 GB, free: 8.961 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.3462, allocations: 0 / 1.334 GB, free: 8.961 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001013/0.3463, allocations: 11.98 kB / 1.334 GB, free: 8.949 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.725e-06/0.3463, allocations: 4.031 kB / 1.334 GB, free: 8.945 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.425e-06/0.3463, allocations: 0 / 1.334 GB, free: 8.945 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.3463, allocations: 0 / 1.334 GB, free: 8.945 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3463, allocations: 3.938 kB / 1.334 GB, free: 8.941 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000569/0.3469, allocations: 271.1 kB / 1.334 GB, free: 8.66 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001991/0.3471, allocations: 55.73 kB / 1.334 GB, free: 8.605 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.706e-05/0.3472, allocations: 0 / 1.334 GB, free: 8.605 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001947/0.3474, allocations: 7.984 kB / 1.334 GB, free: 8.598 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.866e-05/0.3474, allocations: 0 / 1.334 GB, free: 8.598 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.3474, allocations: 8.031 kB / 1.334 GB, free: 8.59 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001701/0.3491, allocations: 0.9481 MB / 1.335 GB, free: 7.645 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3491, allocations: 0 / 1.335 GB, free: 7.645 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0006703/0.3498, allocations: 79.86 kB / 1.335 GB, free: 7.566 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.001319/0.3511, allocations: 0.8487 MB / 1.336 GB, free: 6.691 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004463/0.3515, allocations: 104 kB / 1.336 GB, free: 6.59 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 7.243e-06/0.3515, allocations: 4 kB / 1.336 GB, free: 6.586 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001987/0.3517, allocations: 51.97 kB / 1.336 GB, free: 6.535 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005653/0.3523, allocations: 17.66 kB / 1.336 GB, free: 6.52 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01321/0.3655, allocations: 6.776 MB / 1.343 GB, free: 15.66 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003029/0.3658, allocations: 177 kB / 1.343 GB, free: 15.47 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001292/0.3659, allocations: 42.92 kB / 1.343 GB, free: 15.43 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001917/0.3661, allocations: 91.41 kB / 1.343 GB, free: 15.34 MB / 1.045 GB Notification: Performance of SimCode: time 1.253e-06/0.3661, allocations: 0 / 1.343 GB, free: 15.34 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04365/0.4098, allocations: 7.832 MB / 1.351 GB, free: 7.664 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/12.04, allocations: 6.906 kB / 1.351 GB, free: 7.66 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Math.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_Examples_Interpolate.fmu > Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Interpolate_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_Interpolate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.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: 19.040132354944944]