Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001768/0.001768, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002257/0.002257, allocations: 213.9 kB / 22.24 MB, free: 4.855 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.505/1.505, 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.109/3.109, allocations: 0.4892 GB / 0.7943 GB, free: 35.33 MB / 0.6231 GB " [Timeout remaining time 177] 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.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="Buildings_12_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.002071/0.002071, allocations: 69.89 kB / 1.153 GB, free: 25.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3777/0.3798, allocations: 176.1 MB / 1.325 GB, free: 2.355 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.00274/0.3825, allocations: 1.254 MB / 1.326 GB, free: 1.094 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001807/0.3843, allocations: 1.095 MB / 1.327 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.163e-05/0.3844, allocations: 4 kB / 1.327 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.53e-05/0.3844, allocations: 3.938 kB / 1.327 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005049/0.3849, allocations: 103.5 kB / 1.327 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 3.807e-06/0.3849, allocations: 0 / 1.327 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 3.497e-05/0.3849, allocations: 0 / 1.327 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.542e-05/0.385, allocations: 7.938 kB / 1.327 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 1.791e-05/0.385, allocations: 4 kB / 1.327 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.592e-05/0.3851, allocations: 3.984 kB / 1.327 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.963e-06/0.3851, allocations: 0 / 1.327 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002219/0.3853, allocations: 107.9 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.422e-06/0.3853, allocations: 0 / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 1.892e-05/0.3853, allocations: 7.875 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003423/0.3857, allocations: 100 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.3857, allocations: 0 / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3857, allocations: 0 / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.3857, allocations: 0 / 1.328 GB, free: 15.66 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004131/0.3861, allocations: 278 kB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.3861, allocations: 12.03 kB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001217/0.3862, allocations: 106 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.057e-05/0.3863, allocations: 76.22 kB / 1.328 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001743/0.3865, allocations: 193.8 kB / 1.328 GB, free: 14.94 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.136e-05/0.3866, allocations: 150.9 kB / 1.328 GB, free: 14.79 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8e-05/0.3866, allocations: 150.9 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.662e-05/0.3867, allocations: 112.9 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.201e-05/0.3868, allocations: 79.27 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001205/0.3869, allocations: 154.6 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.125e-05/0.387, allocations: 154.6 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.708e-05/0.3871, allocations: 150.6 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005343/0.3876, allocations: 417 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001164/0.3877, allocations: 173.1 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.207e-05/0.3878, allocations: 88.08 kB / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.456e-05/0.3878, allocations: 83.22 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.925e-05/0.3879, allocations: 105.8 kB / 1.33 GB, free: 13.08 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/0.3879, allocations: 0 / 1.33 GB, free: 13.08 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.177e-05/0.388, allocations: 25.7 kB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.545e-05/0.3881, allocations: 134.6 kB / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/0.3882, allocations: 97.84 kB / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.3882, allocations: 25.7 kB / 1.33 GB, free: 12.77 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.184e-05/0.3883, allocations: 84.14 kB / 1.33 GB, free: 12.68 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.823e-06/0.3883, allocations: 128 / 1.33 GB, free: 12.68 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.478e-05/0.3883, allocations: 13.72 kB / 1.33 GB, free: 12.66 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001643/0.3884, allocations: 310.8 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.531e-06/0.3884, allocations: 0 / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.283e-06/0.3885, allocations: 4 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.029e-05/0.3885, allocations: 83.22 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.224e-05/0.3885, allocations: 75.28 kB / 1.331 GB, free: 12.19 MB / 1.029 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.034e-05/0.3886, allocations: 29.64 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.497e-05/0.3887, allocations: 83.28 kB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.412e-05/0.3887, allocations: 83.2 kB / 1.331 GB, free: 11.99 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.927e-05/0.3888, allocations: 154.6 kB / 1.331 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.519e-05/0.3888, allocations: 87.34 kB / 1.331 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.794e-05/0.3889, allocations: 154.6 kB / 1.331 GB, free: 11.6 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.685e-05/0.389, allocations: 75.28 kB / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.839e-05/0.389, allocations: 83.22 kB / 1.332 GB, free: 11.45 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 (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.0001463/0.3892, allocations: 256.4 kB / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.579e-05/0.3893, allocations: 112.9 kB / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.725e-05/0.3893, allocations: 112.1 kB / 1.332 GB, free: 10.94 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.224e-05/0.3894, allocations: 180.3 kB / 1.332 GB, free: 10.76 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.654e-05/0.3895, allocations: 180.3 kB / 1.332 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.324e-05/0.3896, allocations: 180.2 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002912/0.3899, allocations: 380.3 kB / 1.333 GB, free: 9.969 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001175/0.39, allocations: 108.9 kB / 1.333 GB, free: 9.855 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.409e-05/0.3901, allocations: 101 kB / 1.333 GB, free: 9.75 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001023/0.3902, allocations: 176.3 kB / 1.333 GB, free: 9.57 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001841/0.3904, allocations: 188.2 kB / 1.333 GB, free: 9.379 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.5e-05/0.3905, allocations: 176.3 kB / 1.334 GB, free: 9.199 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.083e-05/0.3906, allocations: 188.2 kB / 1.334 GB, free: 9.008 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003553/0.3909, allocations: 299.8 kB / 1.334 GB, free: 8.691 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.743e-05/0.391, allocations: 112.9 kB / 1.334 GB, free: 8.574 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002339/0.3912, allocations: 180.3 kB / 1.334 GB, free: 8.391 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.3913, allocations: 104.9 kB / 1.335 GB, free: 8.281 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001896/0.3915, allocations: 184.3 kB / 1.335 GB, free: 8.094 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.968e-05/0.3916, allocations: 112.9 kB / 1.335 GB, free: 7.977 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.474e-05/0.3916, allocations: 79.27 kB / 1.335 GB, free: 7.898 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3916, allocations: 0 / 1.335 GB, free: 7.898 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004325/0.3921, allocations: 43.75 kB / 1.335 GB, free: 7.855 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 (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.001532/0.3936, allocations: 0.9573 MB / 1.336 GB, free: 6.914 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 5.876e-05/0.3937, allocations: 0 / 1.336 GB, free: 6.914 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.3937, allocations: 0 / 1.336 GB, free: 6.914 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 6.853e-06/0.3937, allocations: 11.94 kB / 1.336 GB, free: 6.902 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006614/0.3943, allocations: 457.8 kB / 1.336 GB, free: 6.453 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001721/0.396, allocations: 1.556 MB / 1.338 GB, free: 4.82 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.778e-05/0.3961, allocations: 59.34 kB / 1.338 GB, free: 4.742 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.121e-05/0.3961, allocations: 0 / 1.338 GB, free: 4.742 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.355e-05/0.3962, allocations: 7.438 kB / 1.338 GB, free: 4.734 MB / 1.029 GB Notification: Performance of SimCode: time 1.543e-06/0.3962, allocations: 0 / 1.338 GB, free: 4.734 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0334/0.4296, allocations: 2.388 MB / 1.34 GB, free: 2.488 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.52, allocations: 11.72 kB / 1.34 GB, free: 2.48 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.fmu > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.336042151786387]