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.001366/0.001366, 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.001511/0.001511, allocations: 211.6 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.544/1.544, 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.372/3.372, allocations: 0.4892 GB / 0.7943 GB, free: 35.7 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.002022/0.002022, allocations: 59.97 kB / 1.153 GB, free: 25.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3704/0.3724, allocations: 176.1 MB / 1.325 GB, free: 2.375 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.003026/0.3755, allocations: 1.494 MB / 1.327 GB, free: 0.875 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001621/0.3771, allocations: 0.7596 MB / 1.327 GB, free: 112 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.163e-05/0.3771, allocations: 4 kB / 1.327 GB, free: 108 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0003255/0.3775, allocations: 135.8 kB / 1.327 GB, free: 15.97 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0007997/0.3783, allocations: 183.4 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002381/0.3785, allocations: 84 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001449/0.3786, allocations: 63.81 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.3788, allocations: 15.92 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 8.065e-05/0.3789, allocations: 43.88 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001794/0.379, allocations: 83.83 kB / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.3791, allocations: 4 kB / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005358/0.3796, allocations: 239.6 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002181/0.3798, allocations: 111.7 kB / 1.328 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000104/0.3799, allocations: 75.41 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005693/0.3805, allocations: 350.6 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.3805, allocations: 3.938 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.435e-06/0.3805, allocations: 0 / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.555e-06/0.3805, allocations: 0 / 1.329 GB, free: 14.74 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.001046/0.3815, allocations: 0.5468 MB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.3816, allocations: 16.02 kB / 1.329 GB, free: 14.15 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.451e-05/0.3816, allocations: 30.75 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.399e-05/0.3817, allocations: 32.7 kB / 1.329 GB, free: 14.08 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001063/0.3828, allocations: 0.8638 MB / 1.33 GB, free: 13.19 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.206e-06/0.3828, allocations: 8.375 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.207e-05/0.3828, allocations: 384 / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002127/0.383, allocations: 89.72 kB / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.383, allocations: 0 / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.383, allocations: 0 / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.383, allocations: 0 / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002202/0.3832, allocations: 95.94 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007832/0.384, allocations: 0.5466 MB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001981/0.3842, allocations: 114.5 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001303/0.3844, allocations: 52.89 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.831e-05/0.3844, allocations: 23.92 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.3844, allocations: 34.55 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.3844, allocations: 0 / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0005161/0.385, allocations: 217.5 kB / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.071e-05/0.385, allocations: 51.41 kB / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001427/0.3864, allocations: 1.209 MB / 1.332 GB, free: 10.66 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.3865, allocations: 29.64 kB / 1.332 GB, free: 10.62 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001637/0.3866, allocations: 180.1 kB / 1.333 GB, free: 10.44 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.118e-05/0.3866, allocations: 7.953 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.779e-05/0.3867, allocations: 13.72 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002166/0.3869, allocations: 350.7 kB / 1.333 GB, free: 10.06 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001234/0.387, allocations: 51.97 kB / 1.333 GB, free: 10.01 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001297/0.3871, allocations: 52 kB / 1.333 GB, free: 9.961 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002235/0.3874, allocations: 100.8 kB / 1.333 GB, free: 9.859 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3874, allocations: 4 kB / 1.333 GB, free: 9.855 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003461/0.3877, allocations: 165.4 kB / 1.333 GB, free: 9.688 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/0.3877, allocations: 4 kB / 1.333 GB, free: 9.684 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.3878, allocations: 0 / 1.333 GB, free: 9.684 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.302e-05/0.3878, allocations: 4.094 kB / 1.333 GB, free: 9.68 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.3879, allocations: 15.92 kB / 1.333 GB, free: 9.664 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.3879, allocations: 0 / 1.333 GB, free: 9.664 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.429e-05/0.388, allocations: 11.98 kB / 1.333 GB, free: 9.652 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.388, allocations: 4 kB / 1.333 GB, free: 9.648 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.0001903/0.3882, allocations: 170.2 kB / 1.334 GB, free: 9.473 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.464e-05/0.3882, allocations: 35.7 kB / 1.334 GB, free: 9.438 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003708/0.3886, allocations: 172.2 kB / 1.334 GB, free: 9.262 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/0.3886, allocations: 0 / 1.334 GB, free: 9.262 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.3886, allocations: 0 / 1.334 GB, free: 9.262 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.3886, allocations: 0 / 1.334 GB, free: 9.262 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003503/0.389, allocations: 256.6 kB / 1.334 GB, free: 8.969 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.389, allocations: 0 / 1.334 GB, free: 8.969 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.468e-05/0.389, allocations: 11.98 kB / 1.334 GB, free: 8.957 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.389, allocations: 0 / 1.334 GB, free: 8.957 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.389, allocations: 3.938 kB / 1.334 GB, free: 8.953 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.389, allocations: 0 / 1.334 GB, free: 8.953 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.389, allocations: 0 / 1.334 GB, free: 8.953 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003855/0.3894, allocations: 271.2 kB / 1.334 GB, free: 8.672 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000137/0.3896, allocations: 55.73 kB / 1.334 GB, free: 8.617 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.869e-05/0.3896, allocations: 0 / 1.334 GB, free: 8.617 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.3897, allocations: 7.984 kB / 1.334 GB, free: 8.609 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.9e-05/0.3898, allocations: 4 kB / 1.334 GB, free: 8.605 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.3898, allocations: 4 kB / 1.334 GB, free: 8.602 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001176/0.3909, allocations: 0.9481 MB / 1.335 GB, free: 7.656 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3909, allocations: 0 / 1.335 GB, free: 7.656 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000453/0.3914, allocations: 83.89 kB / 1.335 GB, free: 7.574 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.001043/0.3924, allocations: 0.8448 MB / 1.336 GB, free: 6.703 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003084/0.3927, allocations: 103.9 kB / 1.336 GB, free: 6.602 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.3927, allocations: 4 kB / 1.336 GB, free: 6.598 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001215/0.3929, allocations: 56.06 kB / 1.336 GB, free: 6.543 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003851/0.3932, allocations: 19.06 kB / 1.336 GB, free: 6.527 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008056/0.4013, allocations: 6.772 MB / 1.343 GB, free: 15.68 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001963/0.4015, allocations: 170.1 kB / 1.343 GB, free: 15.49 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 9.153e-05/0.4016, allocations: 42.92 kB / 1.343 GB, free: 15.45 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001482/0.4017, allocations: 95.39 kB / 1.343 GB, free: 15.35 MB / 1.045 GB Notification: Performance of SimCode: time 8.82e-07/0.4017, allocations: 0 / 1.343 GB, free: 15.35 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03856/0.4403, allocations: 7.828 MB / 1.351 GB, free: 7.684 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.83, allocations: 16.84 kB / 1.351 GB, free: 7.672 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.83151593292132]