Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.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.001323/0.001323, 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.001433/0.001433, allocations: 210.2 kB / 22.24 MB, free: 5.262 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.437/1.437, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.307/3.307, allocations: 0.5107 GB / 0.8158 GB, free: 17.93 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",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.002048/0.002048, allocations: 72.7 kB / 1.186 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3784/0.3804, allocations: 181.9 MB / 1.363 GB, free: 14.1 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002422/0.3829, allocations: 1.269 MB / 1.365 GB, free: 12.82 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001726/0.3846, allocations: 1.083 MB / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.771e-05/0.3846, allocations: 0 / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.9e-05/0.3846, allocations: 0 / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004585/0.3851, allocations: 107.6 kB / 1.366 GB, free: 11.62 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 3.156e-06/0.3851, allocations: 0 / 1.366 GB, free: 11.62 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 3.461e-05/0.3851, allocations: 3.938 kB / 1.366 GB, free: 11.62 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.213e-05/0.3852, allocations: 4 kB / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.683e-05/0.3852, allocations: 7.984 kB / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.348e-05/0.3852, allocations: 0 / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.953e-06/0.3852, allocations: 0 / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002225/0.3855, allocations: 111.8 kB / 1.366 GB, free: 11.5 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.983e-06/0.3855, allocations: 4 kB / 1.366 GB, free: 11.49 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.676e-05/0.3855, allocations: 7.875 kB / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002007/0.3857, allocations: 96.06 kB / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3857, allocations: 0 / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of FrontEnd: time 4.708e-06/0.3857, allocations: 3.984 kB / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.7e-06/0.3857, allocations: 0 / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003505/0.3861, allocations: 274 kB / 1.366 GB, free: 11.09 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.3861, allocations: 12.03 kB / 1.366 GB, free: 11.08 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.135e-05/0.3862, allocations: 106 kB / 1.366 GB, free: 10.96 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.466e-05/0.3862, allocations: 80.16 kB / 1.366 GB, free: 10.89 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001526/0.3864, allocations: 185.8 kB / 1.367 GB, free: 10.68 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.168e-05/0.3864, allocations: 154.9 kB / 1.367 GB, free: 10.53 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.02e-05/0.3865, allocations: 150.9 kB / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.939e-05/0.3866, allocations: 114 kB / 1.367 GB, free: 10.26 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.656e-05/0.3866, allocations: 75.28 kB / 1.367 GB, free: 10.19 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.79e-05/0.3867, allocations: 150.6 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-05/0.3868, allocations: 150.6 kB / 1.367 GB, free: 9.891 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.777e-05/0.3868, allocations: 158.5 kB / 1.368 GB, free: 9.734 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003005/0.3871, allocations: 417 kB / 1.368 GB, free: 9.285 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.3872, allocations: 169.1 kB / 1.368 GB, free: 9.109 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.021e-05/0.3873, allocations: 80.14 kB / 1.368 GB, free: 9.027 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.697e-05/0.3873, allocations: 79.22 kB / 1.368 GB, free: 8.949 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.121e-05/0.3874, allocations: 113.8 kB / 1.368 GB, free: 8.828 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 9.01e-07/0.3874, allocations: 0 / 1.368 GB, free: 8.828 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 7.406e-05/0.3874, allocations: 33.64 kB / 1.368 GB, free: 8.789 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.195e-05/0.3875, allocations: 126.7 kB / 1.369 GB, free: 8.652 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.907e-05/0.3876, allocations: 93.86 kB / 1.369 GB, free: 8.551 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.3876, allocations: 29.83 kB / 1.369 GB, free: 8.516 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.923e-05/0.3877, allocations: 80.14 kB / 1.369 GB, free: 8.434 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.974e-06/0.3877, allocations: 0 / 1.369 GB, free: 8.434 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.403e-05/0.3877, allocations: 13.72 kB / 1.369 GB, free: 8.414 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.3878, allocations: 318.8 kB / 1.369 GB, free: 8.094 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.569e-06/0.3878, allocations: 0 / 1.369 GB, free: 8.094 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.665e-06/0.3879, allocations: 0 / 1.369 GB, free: 8.094 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.318e-05/0.3879, allocations: 75.28 kB / 1.369 GB, free: 8.02 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.404e-05/0.3879, allocations: 79.22 kB / 1.369 GB, free: 7.941 MB / 1.061 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.986e-05/0.388, allocations: 37.58 kB / 1.369 GB, free: 7.898 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.008e-05/0.388, allocations: 79.28 kB / 1.369 GB, free: 7.82 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-05/0.3881, allocations: 79.28 kB / 1.369 GB, free: 7.742 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.683e-05/0.3881, allocations: 158.5 kB / 1.37 GB, free: 7.586 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.949e-05/0.3882, allocations: 75.41 kB / 1.37 GB, free: 7.512 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.944e-05/0.3882, allocations: 158.6 kB / 1.37 GB, free: 7.355 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.305e-05/0.3883, allocations: 91.17 kB / 1.37 GB, free: 7.266 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.405e-05/0.3883, allocations: 75.28 kB / 1.37 GB, free: 7.191 MB / 1.061 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 (0): * Single equations (assignments): 0 * 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.0001322/0.3885, allocations: 261.1 kB / 1.37 GB, free: 6.926 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.638e-05/0.3885, allocations: 108.9 kB / 1.37 GB, free: 6.812 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.411e-05/0.3886, allocations: 108.2 kB / 1.37 GB, free: 6.695 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.65e-05/0.3887, allocations: 188.2 kB / 1.371 GB, free: 6.504 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.056e-05/0.3888, allocations: 184.2 kB / 1.371 GB, free: 6.316 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.918e-05/0.3888, allocations: 176.3 kB / 1.371 GB, free: 6.137 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002596/0.3891, allocations: 380.2 kB / 1.371 GB, free: 5.715 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.462e-05/0.3891, allocations: 108.9 kB / 1.371 GB, free: 5.602 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.335e-05/0.3892, allocations: 105 kB / 1.371 GB, free: 5.492 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.332e-05/0.3893, allocations: 180.2 kB / 1.372 GB, free: 5.309 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.089e-05/0.3894, allocations: 180.2 kB / 1.372 GB, free: 5.125 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.759e-05/0.3894, allocations: 184.2 kB / 1.372 GB, free: 4.938 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-05/0.3895, allocations: 180.2 kB / 1.372 GB, free: 4.754 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001544/0.3897, allocations: 303.8 kB / 1.372 GB, free: 4.434 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.6e-05/0.3897, allocations: 108.9 kB / 1.373 GB, free: 4.32 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.516e-05/0.3898, allocations: 188.2 kB / 1.373 GB, free: 4.129 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.516e-05/0.3899, allocations: 101 kB / 1.373 GB, free: 4.023 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.145e-05/0.39, allocations: 192.2 kB / 1.373 GB, free: 3.828 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.269e-05/0.39, allocations: 101 kB / 1.373 GB, free: 3.723 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.542e-05/0.3901, allocations: 79.28 kB / 1.373 GB, free: 3.645 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3901, allocations: 0 / 1.373 GB, free: 3.645 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003219/0.3904, allocations: 43.8 kB / 1.373 GB, free: 3.602 MB / 1.061 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 (0): * Single equations (assignments): 0 * 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.000918/0.3913, allocations: 0.9599 MB / 1.374 GB, free: 2.656 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 3.783e-05/0.3913, allocations: 8 kB / 1.374 GB, free: 2.648 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.3914, allocations: 4 kB / 1.374 GB, free: 2.645 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.333e-06/0.3914, allocations: 3.938 kB / 1.374 GB, free: 2.641 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004017/0.3918, allocations: 451.7 kB / 1.375 GB, free: 2.195 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00131/0.3931, allocations: 1.548 MB / 1.376 GB, free: 0.5703 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.487e-05/0.3931, allocations: 59.3 kB / 1.376 GB, free: 0.4922 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.466e-06/0.3931, allocations: 0 / 1.376 GB, free: 0.4922 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.509e-05/0.3932, allocations: 7.438 kB / 1.376 GB, free: 496 kB / 1.061 GB Notification: Performance of SimCode: time 3.21e-07/0.3932, allocations: 4.125 kB / 1.376 GB, free: 492 kB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03073/0.4239, allocations: 2.398 MB / 1.379 GB, free: 14.23 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.47, allocations: 1.781 kB / 1.379 GB, free: 14.23 MB / 1.076 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.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.282933702226728]