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.001911/0.001911, allocations: 111 kB / 16.46 MB, free: 6.453 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.00201/0.00201, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.457/1.457, allocations: 230.6 MB / 252.8 MB, free: 8.961 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.29/3.29, allocations: 0.49 GB / 0.7916 GB, free: 33.37 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.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.002015/0.002015, allocations: 71.14 kB / 1.149 GB, free: 26.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3583/0.3603, allocations: 176.1 MB / 1.321 GB, free: 3.332 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002667/0.363, allocations: 1.257 MB / 1.322 GB, free: 2.066 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001783/0.3648, allocations: 1.016 MB / 1.323 GB, free: 1.043 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.313e-05/0.3648, allocations: 0 / 1.323 GB, free: 1.043 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.753e-05/0.3648, allocations: 0 / 1.323 GB, free: 1.043 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0005862/0.3654, allocations: 107.6 kB / 1.323 GB, free: 0.9375 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 4.458e-06/0.3654, allocations: 0 / 1.323 GB, free: 0.9375 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 5.476e-05/0.3655, allocations: 7.938 kB / 1.323 GB, free: 0.9297 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.414e-05/0.3655, allocations: 3.984 kB / 1.323 GB, free: 0.9258 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.588e-05/0.3655, allocations: 0 / 1.323 GB, free: 0.9258 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001159/0.3656, allocations: 10 kB / 1.323 GB, free: 0.918 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 6.612e-06/0.3656, allocations: 0 / 1.323 GB, free: 0.918 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002686/0.3659, allocations: 127.8 kB / 1.323 GB, free: 0.793 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 5.15e-06/0.3659, allocations: 3.938 kB / 1.323 GB, free: 0.7891 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 1.807e-05/0.3659, allocations: 7.984 kB / 1.323 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002574/0.3662, allocations: 100 kB / 1.323 GB, free: 0.6836 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.236e-06/0.3662, allocations: 3.984 kB / 1.323 GB, free: 0.6797 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.292e-06/0.3662, allocations: 0 / 1.323 GB, free: 0.6797 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.878e-06/0.3662, allocations: 3.938 kB / 1.323 GB, free: 0.6758 MB / 1.014 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.0003813/0.3666, allocations: 343.1 kB / 1.324 GB, free: 300 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.3666, allocations: 19.92 kB / 1.324 GB, free: 280 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.513e-05/0.3667, allocations: 110 kB / 1.324 GB, free: 160 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.178e-05/0.3668, allocations: 84.17 kB / 1.324 GB, free: 76 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000201/0.367, allocations: 239.7 kB / 1.324 GB, free: 15.8 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.037e-05/0.3671, allocations: 154.9 kB / 1.324 GB, free: 15.65 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.648e-05/0.3671, allocations: 150.9 kB / 1.324 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.346e-05/0.3672, allocations: 104.9 kB / 1.325 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.491e-05/0.3672, allocations: 83.27 kB / 1.325 GB, free: 15.31 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.645e-05/0.3673, allocations: 150.6 kB / 1.325 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.114e-05/0.3674, allocations: 150.6 kB / 1.325 GB, free: 15.01 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.777e-05/0.3674, allocations: 154.5 kB / 1.325 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003259/0.3678, allocations: 446 kB / 1.325 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001061/0.3679, allocations: 173.1 kB / 1.326 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.272e-05/0.3679, allocations: 80.14 kB / 1.326 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.551e-05/0.368, allocations: 83.22 kB / 1.326 GB, free: 14.03 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.581e-05/0.368, allocations: 109.8 kB / 1.326 GB, free: 13.91 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.368, allocations: 0 / 1.326 GB, free: 13.91 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.189e-05/0.3681, allocations: 33.7 kB / 1.326 GB, free: 13.88 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.952e-05/0.3682, allocations: 126.7 kB / 1.326 GB, free: 13.74 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.3683, allocations: 97.8 kB / 1.326 GB, free: 13.63 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.3683, allocations: 25.7 kB / 1.326 GB, free: 13.6 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.043e-05/0.3683, allocations: 88.12 kB / 1.326 GB, free: 13.51 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.214e-06/0.3683, allocations: 0 / 1.326 GB, free: 13.51 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.232e-05/0.3684, allocations: 9.719 kB / 1.326 GB, free: 13.5 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.3685, allocations: 315 kB / 1.327 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.02e-06/0.3685, allocations: 4 kB / 1.327 GB, free: 13.18 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.087e-06/0.3685, allocations: 0 / 1.327 GB, free: 13.18 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.701e-05/0.3685, allocations: 75.28 kB / 1.327 GB, free: 13.1 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.431e-05/0.3686, allocations: 79.22 kB / 1.327 GB, free: 13.02 MB / 1.029 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.139e-05/0.3686, allocations: 33.69 kB / 1.327 GB, free: 12.98 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.202e-05/0.3687, allocations: 83.28 kB / 1.327 GB, free: 12.9 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.843e-05/0.3687, allocations: 79.22 kB / 1.327 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.311e-05/0.3688, allocations: 158.5 kB / 1.327 GB, free: 12.67 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.496e-05/0.3688, allocations: 79.39 kB / 1.327 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.498e-05/0.3689, allocations: 162.5 kB / 1.327 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.599e-05/0.369, allocations: 79.3 kB / 1.327 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.142e-05/0.369, allocations: 75.28 kB / 1.327 GB, free: 12.28 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.000135/0.3691, allocations: 264.4 kB / 1.328 GB, free: 12.01 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.4e-05/0.3692, allocations: 108.9 kB / 1.328 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.635e-05/0.3693, allocations: 112.1 kB / 1.328 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.957e-05/0.3694, allocations: 180.2 kB / 1.328 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-05/0.3694, allocations: 180.3 kB / 1.328 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.171e-05/0.3695, allocations: 180.3 kB / 1.328 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00026/0.3698, allocations: 405.2 kB / 1.329 GB, free: 10.77 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.459e-05/0.3698, allocations: 112.9 kB / 1.329 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.443e-05/0.3699, allocations: 104.9 kB / 1.329 GB, free: 10.55 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.621e-05/0.3699, allocations: 176.3 kB / 1.329 GB, free: 10.37 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-05/0.37, allocations: 180.3 kB / 1.329 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.89e-05/0.3701, allocations: 192.2 kB / 1.33 GB, free: 9.988 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.413e-05/0.3702, allocations: 176.3 kB / 1.33 GB, free: 9.809 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001648/0.3703, allocations: 303.8 kB / 1.33 GB, free: 9.488 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.482e-05/0.3704, allocations: 186 kB / 1.33 GB, free: 9.281 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.513e-05/0.3705, allocations: 180.2 kB / 1.33 GB, free: 9.098 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.861e-05/0.3706, allocations: 105 kB / 1.33 GB, free: 8.988 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.196e-05/0.3707, allocations: 188.2 kB / 1.331 GB, free: 8.797 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.597e-05/0.3707, allocations: 104.9 kB / 1.331 GB, free: 8.688 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.957e-05/0.3708, allocations: 83.27 kB / 1.331 GB, free: 8.605 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3708, allocations: 0 / 1.331 GB, free: 8.605 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003449/0.3711, allocations: 39.81 kB / 1.331 GB, free: 8.566 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.0009723/0.3721, allocations: 0.9555 MB / 1.332 GB, free: 7.621 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 3.926e-05/0.3721, allocations: 0 / 1.332 GB, free: 7.621 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3721, allocations: 0 / 1.332 GB, free: 7.621 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.452e-06/0.3721, allocations: 0 / 1.332 GB, free: 7.621 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003947/0.3725, allocations: 459.7 kB / 1.332 GB, free: 7.168 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001392/0.3739, allocations: 1.56 MB / 1.334 GB, free: 5.531 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002985/0.3742, allocations: 0.669 MB / 1.334 GB, free: 4.836 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.155e-05/0.3742, allocations: 7.922 kB / 1.334 GB, free: 4.828 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.421e-05/0.3743, allocations: 11.44 kB / 1.334 GB, free: 4.816 MB / 1.029 GB Notification: Performance of SimCode: time 4.4e-07/0.3743, allocations: 4.031 kB / 1.334 GB, free: 4.812 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02892/0.4032, allocations: 1.893 MB / 1.336 GB, free: 3.074 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.829/8.232, allocations: 12.03 kB / 1.336 GB, free: 3.066 MB / 1.029 GB " [Timeout remaining time 292] (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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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: 15.139739745063707]