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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001783/0.001783, allocations: 109.1 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.047/3.047, allocations: 497.2 MB / 0.7811 GB, free: 33.77 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002574/0.002574, allocations: 67.17 kB / 1.134 GB, free: 33.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3537/0.3563, allocations: 173.9 MB / 1.304 GB, free: 1.496 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002481/0.3588, allocations: 1.235 MB / 1.305 GB, free: 256 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00166/0.3605, allocations: 1.012 MB / 1.306 GB, free: 15.23 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.829e-05/0.3605, allocations: 8 kB / 1.306 GB, free: 15.22 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.502e-05/0.3605, allocations: 0 / 1.306 GB, free: 15.22 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0004615/0.361, allocations: 111.5 kB / 1.306 GB, free: 15.11 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 5.02e-06/0.361, allocations: 0 / 1.306 GB, free: 15.11 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 4.266e-05/0.361, allocations: 3.984 kB / 1.306 GB, free: 15.11 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.662e-05/0.3611, allocations: 7.984 kB / 1.306 GB, free: 15.1 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.123e-05/0.3611, allocations: 7.938 kB / 1.306 GB, free: 15.09 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/0.3612, allocations: 0 / 1.306 GB, free: 15.09 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 6.502e-06/0.3612, allocations: 0 / 1.306 GB, free: 15.09 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002248/0.3614, allocations: 123.8 kB / 1.306 GB, free: 14.97 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 6.773e-06/0.3614, allocations: 3.984 kB / 1.306 GB, free: 14.97 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 1.183e-05/0.3614, allocations: 4 kB / 1.306 GB, free: 14.96 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001982/0.3616, allocations: 107.9 kB / 1.307 GB, free: 14.86 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3616, allocations: 0 / 1.307 GB, free: 14.86 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.774e-06/0.3616, allocations: 0 / 1.307 GB, free: 14.86 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.3616, allocations: 0 / 1.307 GB, free: 14.86 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.0003678/0.362, allocations: 351.1 kB / 1.307 GB, free: 14.47 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.362, allocations: 8.922 kB / 1.307 GB, free: 14.46 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.513e-05/0.3621, allocations: 106 kB / 1.307 GB, free: 14.35 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.489e-05/0.3622, allocations: 84.2 kB / 1.307 GB, free: 14.27 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001701/0.3623, allocations: 239.7 kB / 1.307 GB, free: 13.99 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.623e-05/0.3624, allocations: 158.9 kB / 1.307 GB, free: 13.84 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.579e-05/0.3625, allocations: 150.9 kB / 1.308 GB, free: 13.69 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.448e-05/0.3625, allocations: 104.9 kB / 1.308 GB, free: 13.58 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.168e-05/0.3626, allocations: 79.22 kB / 1.308 GB, free: 13.5 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.348e-05/0.3626, allocations: 154.6 kB / 1.308 GB, free: 13.35 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.877e-05/0.3627, allocations: 154.6 kB / 1.308 GB, free: 13.2 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.601e-05/0.3628, allocations: 150.6 kB / 1.308 GB, free: 13.05 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003021/0.3631, allocations: 445.9 kB / 1.309 GB, free: 12.56 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 9.259e-05/0.3632, allocations: 169.1 kB / 1.309 GB, free: 12.39 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.806e-05/0.3632, allocations: 84.08 kB / 1.309 GB, free: 12.3 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.126e-05/0.3632, allocations: 83.22 kB / 1.309 GB, free: 12.22 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.159e-05/0.3633, allocations: 105.8 kB / 1.309 GB, free: 12.11 MB / 1.014 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.3633, allocations: 3.938 kB / 1.309 GB, free: 12.1 MB / 1.014 GB Notification: Performance of matching and sorting (n=0): time 7.839e-05/0.3634, allocations: 37.64 kB / 1.309 GB, free: 12.06 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.886e-05/0.3634, allocations: 130.7 kB / 1.309 GB, free: 11.92 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.988e-05/0.3635, allocations: 97.84 kB / 1.309 GB, free: 11.81 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.3635, allocations: 25.7 kB / 1.309 GB, free: 11.78 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 4.091e-05/0.3636, allocations: 80.14 kB / 1.309 GB, free: 11.7 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.362e-06/0.3636, allocations: 0 / 1.309 GB, free: 11.7 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.517e-05/0.3636, allocations: 13.72 kB / 1.309 GB, free: 11.68 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.3638, allocations: 314.8 kB / 1.31 GB, free: 11.36 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.021e-06/0.3638, allocations: 8.062 kB / 1.31 GB, free: 11.36 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.015e-06/0.3638, allocations: 0 / 1.31 GB, free: 11.36 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.17e-05/0.3638, allocations: 75.28 kB / 1.31 GB, free: 11.28 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.125e-05/0.3638, allocations: 75.28 kB / 1.31 GB, free: 11.21 MB / 1.014 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.851e-05/0.3639, allocations: 37.69 kB / 1.31 GB, free: 11.16 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.506e-05/0.3639, allocations: 83.27 kB / 1.31 GB, free: 11.08 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.706e-05/0.364, allocations: 79.22 kB / 1.31 GB, free: 11 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.142e-05/0.3641, allocations: 154.6 kB / 1.31 GB, free: 10.85 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.017e-05/0.3641, allocations: 79.28 kB / 1.31 GB, free: 10.77 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.351e-05/0.3641, allocations: 154.6 kB / 1.31 GB, free: 10.62 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.702e-05/0.3642, allocations: 79.3 kB / 1.31 GB, free: 10.54 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.893e-05/0.3643, allocations: 87.22 kB / 1.311 GB, free: 10.46 MB / 1.014 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.0001365/0.3644, allocations: 260.4 kB / 1.311 GB, free: 10.19 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.837e-05/0.3645, allocations: 108.9 kB / 1.311 GB, free: 10.08 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.367e-05/0.3645, allocations: 108.1 kB / 1.311 GB, free: 9.961 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.721e-05/0.3646, allocations: 184.1 kB / 1.311 GB, free: 9.773 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-05/0.3647, allocations: 180.3 kB / 1.311 GB, free: 9.59 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.996e-05/0.3648, allocations: 184.2 kB / 1.312 GB, free: 9.402 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002621/0.365, allocations: 401.2 kB / 1.312 GB, free: 8.953 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.706e-05/0.3651, allocations: 104.9 kB / 1.312 GB, free: 8.844 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.464e-05/0.3651, allocations: 108.9 kB / 1.312 GB, free: 8.73 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.043e-05/0.3652, allocations: 184.2 kB / 1.312 GB, free: 8.543 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.244e-05/0.3653, allocations: 188.2 kB / 1.312 GB, free: 8.352 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.368e-05/0.3654, allocations: 176.3 kB / 1.313 GB, free: 8.172 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.783e-05/0.3654, allocations: 180.3 kB / 1.313 GB, free: 7.988 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000159/0.3656, allocations: 307.8 kB / 1.313 GB, free: 7.664 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 8.143e-05/0.3657, allocations: 186 kB / 1.313 GB, free: 7.457 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.063e-05/0.3658, allocations: 180.3 kB / 1.313 GB, free: 7.273 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.283e-05/0.3658, allocations: 101 kB / 1.314 GB, free: 7.168 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.41e-05/0.3659, allocations: 188.2 kB / 1.314 GB, free: 6.977 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.482e-05/0.366, allocations: 101 kB / 1.314 GB, free: 6.871 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.294e-05/0.366, allocations: 83.28 kB / 1.314 GB, free: 6.789 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.366, allocations: 0 / 1.314 GB, free: 6.789 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003325/0.3664, allocations: 43.73 kB / 1.314 GB, free: 6.746 MB / 1.014 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.0008816/0.3672, allocations: 0.9504 MB / 1.315 GB, free: 5.809 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 3.97e-05/0.3673, allocations: 4 kB / 1.315 GB, free: 5.805 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3673, allocations: 0 / 1.315 GB, free: 5.805 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.102e-06/0.3673, allocations: 0 / 1.315 GB, free: 5.805 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003973/0.3677, allocations: 469.9 kB / 1.315 GB, free: 5.344 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001257/0.3689, allocations: 1.552 MB / 1.317 GB, free: 3.715 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002848/0.3692, allocations: 0.6768 MB / 1.318 GB, free: 3.012 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 9.788e-06/0.3692, allocations: 0 / 1.318 GB, free: 3.012 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.986e-05/0.3692, allocations: 7.438 kB / 1.318 GB, free: 3.004 MB / 1.014 GB Notification: Performance of SimCode: time 3.1e-07/0.3692, allocations: 0 / 1.318 GB, free: 3.004 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02614/0.3954, allocations: 1.915 MB / 1.319 GB, free: 1.254 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.825/8.22, allocations: 4.281 kB / 1.319 GB, free: 1.25 MB / 1.014 GB " [Timeout remaining time 292] (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_2/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: 14.767764642834663]