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.001387/0.001387, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001505/0.001505, allocations: 221.8 kB / 22.25 MB, free: 5.254 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.577/1.577, allocations: 230.6 MB / 256 MB, free: 7.785 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.279/3.279, allocations: 0.49 GB / 0.7951 GB, free: 35.55 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.003132/0.003132, allocations: 66.67 kB / 1.154 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3632/0.3663, allocations: 176.1 MB / 1.326 GB, free: 1.504 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.00277/0.3691, allocations: 1.486 MB / 1.327 GB, free: 12 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001447/0.3705, allocations: 0.7636 MB / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.21e-05/0.3706, allocations: 0 / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002948/0.3709, allocations: 135.7 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0006508/0.3715, allocations: 183.6 kB / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001921/0.3717, allocations: 80.02 kB / 1.328 GB, free: 14.85 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001214/0.3719, allocations: 71.8 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 8.949e-05/0.3719, allocations: 7.984 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 5.898e-05/0.372, allocations: 39.89 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001509/0.3722, allocations: 95.81 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.527e-05/0.3722, allocations: 4 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004502/0.3726, allocations: 247.6 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001469/0.3728, allocations: 115.7 kB / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.006e-05/0.3728, allocations: 67.41 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000445/0.3733, allocations: 350.6 kB / 1.329 GB, free: 13.87 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.3733, allocations: 0 / 1.329 GB, free: 13.87 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.773e-06/0.3733, allocations: 0 / 1.329 GB, free: 13.87 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.3733, allocations: 0 / 1.329 GB, free: 13.87 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.0009017/0.3742, allocations: 0.5546 MB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.3742, allocations: 8.031 kB / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.652e-05/0.3743, allocations: 38.73 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.01e-05/0.3743, allocations: 36.7 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009473/0.3753, allocations: 0.8637 MB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.3753, allocations: 384 / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.318e-06/0.3753, allocations: 384 / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002174/0.3755, allocations: 89.72 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.3755, allocations: 0 / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.3756, allocations: 4 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.3756, allocations: 4 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002217/0.3758, allocations: 99.94 kB / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007379/0.3765, allocations: 0.5388 MB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001953/0.3767, allocations: 106.5 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001296/0.3768, allocations: 60.83 kB / 1.332 GB, free: 11.35 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.153e-05/0.3769, allocations: 19.98 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.226e-05/0.3769, allocations: 38.56 kB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.332e-06/0.3769, allocations: 0 / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0004827/0.3774, allocations: 213.3 kB / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/0.3775, allocations: 51.41 kB / 1.332 GB, free: 11 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00128/0.3787, allocations: 1.216 MB / 1.333 GB, free: 9.773 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/0.3788, allocations: 25.7 kB / 1.333 GB, free: 9.742 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001395/0.3789, allocations: 176.1 kB / 1.333 GB, free: 9.566 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.841e-05/0.3789, allocations: 8.078 kB / 1.333 GB, free: 9.559 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.593e-05/0.379, allocations: 17.72 kB / 1.333 GB, free: 9.535 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001704/0.3791, allocations: 350.7 kB / 1.334 GB, free: 9.184 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001137/0.3792, allocations: 47.97 kB / 1.334 GB, free: 9.137 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001045/0.3793, allocations: 51.97 kB / 1.334 GB, free: 9.086 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002142/0.3796, allocations: 104.8 kB / 1.334 GB, free: 8.98 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3796, allocations: 0 / 1.334 GB, free: 8.98 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003018/0.3799, allocations: 169.4 kB / 1.334 GB, free: 8.809 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.3799, allocations: 4 kB / 1.334 GB, free: 8.805 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.3799, allocations: 4 kB / 1.334 GB, free: 8.801 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.3799, allocations: 0 / 1.334 GB, free: 8.801 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.955e-05/0.38, allocations: 7.984 kB / 1.334 GB, free: 8.793 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.38, allocations: 3.984 kB / 1.334 GB, free: 8.789 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.214e-05/0.3801, allocations: 11.98 kB / 1.334 GB, free: 8.777 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.7e-06/0.3801, allocations: 0 / 1.334 GB, free: 8.777 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.0001449/0.3802, allocations: 170.3 kB / 1.334 GB, free: 8.602 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.553e-05/0.3803, allocations: 35.75 kB / 1.334 GB, free: 8.566 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003325/0.3806, allocations: 172.2 kB / 1.335 GB, free: 8.391 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.3806, allocations: 0 / 1.335 GB, free: 8.391 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.3806, allocations: 3.938 kB / 1.335 GB, free: 8.387 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.3806, allocations: 0 / 1.335 GB, free: 8.387 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002934/0.3809, allocations: 256.6 kB / 1.335 GB, free: 8.094 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.3809, allocations: 4 kB / 1.335 GB, free: 8.09 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.201e-05/0.381, allocations: 12.02 kB / 1.335 GB, free: 8.078 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.381, allocations: 3.984 kB / 1.335 GB, free: 8.074 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.381, allocations: 4 kB / 1.335 GB, free: 8.07 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.381, allocations: 7.938 kB / 1.335 GB, free: 8.062 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.381, allocations: 3.938 kB / 1.335 GB, free: 8.059 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003567/0.3814, allocations: 263.2 kB / 1.335 GB, free: 7.785 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001207/0.3815, allocations: 51.73 kB / 1.335 GB, free: 7.734 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.985e-05/0.3815, allocations: 0 / 1.335 GB, free: 7.734 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.3816, allocations: 12.02 kB / 1.335 GB, free: 7.723 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.469e-05/0.3817, allocations: 4 kB / 1.335 GB, free: 7.719 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-06/0.3817, allocations: 0 / 1.335 GB, free: 7.719 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000984/0.3826, allocations: 0.952 MB / 1.336 GB, free: 6.77 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3826, allocations: 0 / 1.336 GB, free: 6.77 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003729/0.383, allocations: 75.81 kB / 1.336 GB, free: 6.695 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.0008597/0.3839, allocations: 0.8488 MB / 1.337 GB, free: 5.82 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002707/0.3841, allocations: 107.9 kB / 1.337 GB, free: 5.715 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.3841, allocations: 0 / 1.337 GB, free: 5.715 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001147/0.3843, allocations: 55.91 kB / 1.337 GB, free: 5.66 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003568/0.3846, allocations: 23.53 kB / 1.337 GB, free: 5.641 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007432/0.3921, allocations: 6.768 MB / 1.344 GB, free: 14.79 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002124/0.3923, allocations: 171.9 kB / 1.344 GB, free: 14.61 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001027/0.3924, allocations: 38.94 kB / 1.344 GB, free: 14.57 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000169/0.3925, allocations: 95.39 kB / 1.344 GB, free: 14.47 MB / 1.045 GB Notification: Performance of SimCode: time 1.503e-06/0.3925, allocations: 0 / 1.344 GB, free: 14.47 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03718/0.4297, allocations: 7.863 MB / 1.352 GB, free: 6.77 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.6, allocations: 4 kB / 1.352 GB, free: 6.766 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Examples.Interpolate_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Examples_Interpolate_fmu --startTime=0 --stopTime=500 --stepSize=0.2 --timeout=400 --tolerance=1e-06 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.mat","/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: 18.577350363018923]