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.00229/0.00229, allocations: 103.2 kB / 16.45 MB, free: 6.5 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.002713/0.002713, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.621/1.621, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.378/3.378, allocations: 0.49 GB / 0.7916 GB, free: 33.46 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.002079/0.002079, allocations: 67.94 kB / 1.149 GB, free: 26.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3242, allocations: 176.1 MB / 1.321 GB, free: 3.34 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.002631/0.3268, allocations: 1.49 MB / 1.322 GB, free: 1.844 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001312/0.3281, allocations: 0.818 MB / 1.323 GB, free: 1.02 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.742e-05/0.3281, allocations: 0 / 1.323 GB, free: 1.02 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0002373/0.3284, allocations: 139.7 kB / 1.323 GB, free: 0.8828 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0005423/0.3289, allocations: 179.6 kB / 1.323 GB, free: 0.707 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001681/0.3291, allocations: 72.08 kB / 1.323 GB, free: 0.6367 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000111/0.3292, allocations: 79.8 kB / 1.324 GB, free: 0.5586 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 8.204e-05/0.3293, allocations: 3.938 kB / 1.324 GB, free: 0.5547 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.723e-05/0.3293, allocations: 39.89 kB / 1.324 GB, free: 0.5156 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001402/0.3295, allocations: 99.73 kB / 1.324 GB, free: 428 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.529e-05/0.3295, allocations: 4 kB / 1.324 GB, free: 424 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004137/0.3299, allocations: 227.7 kB / 1.324 GB, free: 196 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001538/0.3301, allocations: 111.7 kB / 1.324 GB, free: 84 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.000107/0.3302, allocations: 95.27 kB / 1.324 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004868/0.3307, allocations: 346.6 kB / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.3307, allocations: 0 / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.183e-06/0.3307, allocations: 4 kB / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.013e-05/0.3307, allocations: 0 / 1.324 GB, free: 15.64 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.0009025/0.3316, allocations: 0.6298 MB / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.3316, allocations: 11.98 kB / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.012e-05/0.3317, allocations: 30.75 kB / 1.325 GB, free: 14.91 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.161e-05/0.3317, allocations: 36.7 kB / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009471/0.3327, allocations: 0.9125 MB / 1.326 GB, free: 13.92 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.3327, allocations: 384 / 1.326 GB, free: 13.92 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.491e-05/0.3327, allocations: 4.375 kB / 1.326 GB, free: 13.92 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002222/0.3329, allocations: 89.78 kB / 1.326 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.3329, allocations: 0 / 1.326 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.3329, allocations: 0 / 1.326 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.3329, allocations: 0 / 1.326 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002426/0.3332, allocations: 107.9 kB / 1.326 GB, free: 13.72 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007338/0.3339, allocations: 0.5748 MB / 1.327 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002122/0.3341, allocations: 110.5 kB / 1.327 GB, free: 12.98 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001412/0.3343, allocations: 52.89 kB / 1.327 GB, free: 12.92 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.702e-05/0.3343, allocations: 23.98 kB / 1.327 GB, free: 12.9 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.3344, allocations: 30.56 kB / 1.327 GB, free: 12.86 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.3344, allocations: 0 / 1.327 GB, free: 12.86 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0004908/0.3348, allocations: 225.2 kB / 1.327 GB, free: 12.63 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.611e-05/0.3349, allocations: 51.41 kB / 1.327 GB, free: 12.57 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001208/0.3361, allocations: 1.209 MB / 1.328 GB, free: 11.35 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.3361, allocations: 25.7 kB / 1.328 GB, free: 11.32 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/0.3362, allocations: 176.1 kB / 1.329 GB, free: 11.14 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.003e-05/0.3363, allocations: 7.953 kB / 1.329 GB, free: 11.14 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.488e-05/0.3363, allocations: 17.84 kB / 1.329 GB, free: 11.11 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001815/0.3365, allocations: 354.7 kB / 1.329 GB, free: 10.76 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001195/0.3366, allocations: 43.97 kB / 1.329 GB, free: 10.71 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001108/0.3367, allocations: 55.95 kB / 1.329 GB, free: 10.66 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002385/0.3369, allocations: 112.8 kB / 1.329 GB, free: 10.55 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3369, allocations: 0 / 1.329 GB, free: 10.55 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003146/0.3373, allocations: 165.4 kB / 1.329 GB, free: 10.38 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/0.3373, allocations: 6.344 kB / 1.329 GB, free: 10.38 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.341e-06/0.3373, allocations: 0 / 1.329 GB, free: 10.38 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.3373, allocations: 0 / 1.329 GB, free: 10.38 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.747e-05/0.3374, allocations: 11.94 kB / 1.329 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.3374, allocations: 3.984 kB / 1.329 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.378e-05/0.3375, allocations: 12.02 kB / 1.329 GB, free: 10.35 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/0.3375, allocations: 4 kB / 1.329 GB, free: 10.34 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.0001708/0.3377, allocations: 169.7 kB / 1.33 GB, free: 10.17 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.717e-05/0.3377, allocations: 35.77 kB / 1.33 GB, free: 10.13 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003719/0.3381, allocations: 176 kB / 1.33 GB, free: 9.949 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.3381, allocations: 0 / 1.33 GB, free: 9.949 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.3381, allocations: 4 kB / 1.33 GB, free: 9.945 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.3381, allocations: 4.031 kB / 1.33 GB, free: 9.941 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003101/0.3384, allocations: 297.5 kB / 1.33 GB, free: 9.602 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3384, allocations: 0 / 1.33 GB, free: 9.602 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.098e-05/0.3385, allocations: 7.984 kB / 1.33 GB, free: 9.594 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.3385, allocations: 4 kB / 1.33 GB, free: 9.59 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.3385, allocations: 0 / 1.33 GB, free: 9.59 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3385, allocations: 0 / 1.33 GB, free: 9.59 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3385, allocations: 0 / 1.33 GB, free: 9.59 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003624/0.3389, allocations: 271.1 kB / 1.33 GB, free: 9.309 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000135/0.339, allocations: 128.8 kB / 1.33 GB, free: 9.164 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.843e-05/0.339, allocations: 0 / 1.33 GB, free: 9.164 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.3391, allocations: 7.984 kB / 1.33 GB, free: 9.156 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.361e-05/0.3392, allocations: 0 / 1.33 GB, free: 9.156 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.3392, allocations: 4 kB / 1.33 GB, free: 9.152 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0009571/0.3401, allocations: 0.952 MB / 1.331 GB, free: 8.207 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3401, allocations: 4.031 kB / 1.331 GB, free: 8.203 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003847/0.3405, allocations: 75.86 kB / 1.331 GB, free: 8.129 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.000849/0.3414, allocations: 0.8448 MB / 1.332 GB, free: 7.258 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002872/0.3417, allocations: 111.9 kB / 1.332 GB, free: 7.148 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3417, allocations: 0 / 1.332 GB, free: 7.148 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001216/0.3418, allocations: 51.97 kB / 1.332 GB, free: 7.098 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003706/0.3422, allocations: 17.56 kB / 1.332 GB, free: 7.078 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007357/0.3495, allocations: 6.783 MB / 1.339 GB, free: 220 kB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004466/0.35, allocations: 0.7752 MB / 1.34 GB, free: 15.41 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 8.212e-05/0.35, allocations: 42.92 kB / 1.34 GB, free: 15.37 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001364/0.3502, allocations: 99.34 kB / 1.34 GB, free: 15.27 MB / 1.045 GB Notification: Performance of SimCode: time 7.81e-07/0.3502, allocations: 0 / 1.34 GB, free: 15.27 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03559/0.3858, allocations: 7.174 MB / 1.347 GB, free: 8.199 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.646/9.032, allocations: 14.56 kB / 1.347 GB, free: 8.188 MB / 1.045 GB " [Timeout remaining time 291] (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: 16.213698073057458]