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.001359/0.001359, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001466/0.001466, allocations: 217.1 kB / 22.25 MB, free: 5.105 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.438/1.438, allocations: 230.6 MB / 256 MB, free: 7.82 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.084/3.084, allocations: 0.49 GB / 0.7951 GB, free: 35.62 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.00202/0.00202, allocations: 66.25 kB / 1.154 GB, free: 25.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3598/0.3619, allocations: 176.1 MB / 1.326 GB, free: 1.535 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002429/0.3643, allocations: 1.256 MB / 1.327 GB, free: 280 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001719/0.366, allocations: 1.091 MB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.703e-05/0.366, allocations: 0 / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 1.682e-05/0.3661, allocations: 0 / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004475/0.3665, allocations: 107.5 kB / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 3.286e-06/0.3665, allocations: 0 / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 3.795e-05/0.3665, allocations: 0 / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.986e-05/0.3666, allocations: 11.98 kB / 1.328 GB, free: 15.06 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 1.543e-05/0.3666, allocations: 7.984 kB / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.143e-05/0.3667, allocations: 0 / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.962e-06/0.3667, allocations: 0 / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000207/0.3669, allocations: 107.9 kB / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.282e-06/0.3669, allocations: 0 / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.272e-05/0.3669, allocations: 7.938 kB / 1.328 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002014/0.3671, allocations: 96.05 kB / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3671, allocations: 0 / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.313e-06/0.3671, allocations: 7.938 kB / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.596e-06/0.3671, allocations: 0 / 1.328 GB, free: 14.84 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.000327/0.3674, allocations: 274 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.3675, allocations: 20.02 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.943e-05/0.3676, allocations: 110 kB / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.347e-05/0.3676, allocations: 76.22 kB / 1.329 GB, free: 14.33 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001548/0.3678, allocations: 185.8 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.357e-05/0.3678, allocations: 150.9 kB / 1.329 GB, free: 13.97 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.504e-05/0.3679, allocations: 150.9 kB / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.021e-05/0.368, allocations: 108.9 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.337e-05/0.368, allocations: 79.28 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.785e-05/0.3681, allocations: 154.6 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.927e-05/0.3681, allocations: 150.6 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.962e-05/0.3682, allocations: 162.5 kB / 1.33 GB, free: 13.17 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003132/0.3685, allocations: 417 kB / 1.33 GB, free: 12.72 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.599e-05/0.3686, allocations: 169.1 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.953e-05/0.3687, allocations: 84.14 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.793e-05/0.3687, allocations: 79.22 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.343e-05/0.3688, allocations: 105.8 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.3688, allocations: 0 / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.071e-05/0.3688, allocations: 37.62 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.648e-05/0.3689, allocations: 126.7 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.369, allocations: 101.8 kB / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.369, allocations: 29.83 kB / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.585e-05/0.3691, allocations: 80.14 kB / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.403e-06/0.3691, allocations: 0 / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.027e-05/0.3691, allocations: 9.719 kB / 1.331 GB, free: 11.85 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.3692, allocations: 314.8 kB / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.937e-06/0.3692, allocations: 3.938 kB / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.214e-06/0.3693, allocations: 0 / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.39e-05/0.3693, allocations: 75.28 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.044e-05/0.3693, allocations: 75.28 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.143e-05/0.3694, allocations: 41.56 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.986e-05/0.3694, allocations: 83.28 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-05/0.3695, allocations: 79.28 kB / 1.332 GB, free: 11.17 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.553e-05/0.3696, allocations: 158.5 kB / 1.332 GB, free: 11.02 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.084e-05/0.3696, allocations: 75.41 kB / 1.332 GB, free: 10.94 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.565e-05/0.3697, allocations: 154.6 kB / 1.332 GB, free: 10.79 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.336e-05/0.3697, allocations: 83.22 kB / 1.332 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.072e-05/0.3698, allocations: 75.28 kB / 1.332 GB, free: 10.63 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.0001716/0.3699, allocations: 265.5 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.352e-05/0.37, allocations: 112.9 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.773e-05/0.3701, allocations: 108.1 kB / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-05/0.3702, allocations: 180.3 kB / 1.333 GB, free: 9.941 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.568e-05/0.3702, allocations: 188.2 kB / 1.333 GB, free: 9.75 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.996e-05/0.3703, allocations: 180.2 kB / 1.333 GB, free: 9.566 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002469/0.3706, allocations: 376.2 kB / 1.334 GB, free: 9.148 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.561e-05/0.3706, allocations: 104.9 kB / 1.334 GB, free: 9.039 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.502e-05/0.3707, allocations: 101 kB / 1.334 GB, free: 8.934 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.21e-05/0.3708, allocations: 188.2 kB / 1.334 GB, free: 8.742 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.452e-05/0.3709, allocations: 176.3 kB / 1.334 GB, free: 8.562 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.5e-05/0.3709, allocations: 184.2 kB / 1.334 GB, free: 8.375 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.554e-05/0.371, allocations: 180.3 kB / 1.335 GB, free: 8.191 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001709/0.3712, allocations: 303.8 kB / 1.335 GB, free: 7.871 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.579e-05/0.3712, allocations: 112.9 kB / 1.335 GB, free: 7.754 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.837e-05/0.3713, allocations: 184.2 kB / 1.335 GB, free: 7.566 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.015e-05/0.3714, allocations: 101 kB / 1.335 GB, free: 7.461 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.446e-05/0.3715, allocations: 188.2 kB / 1.335 GB, free: 7.27 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.204e-05/0.3716, allocations: 109 kB / 1.336 GB, free: 7.156 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.087e-05/0.3716, allocations: 79.28 kB / 1.336 GB, free: 7.078 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3716, allocations: 0 / 1.336 GB, free: 7.078 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000357/0.372, allocations: 43.73 kB / 1.336 GB, free: 7.035 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.0009671/0.373, allocations: 0.9598 MB / 1.337 GB, free: 6.094 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 4.083e-05/0.373, allocations: 0 / 1.337 GB, free: 6.094 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.373, allocations: 4 kB / 1.337 GB, free: 6.09 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.473e-06/0.373, allocations: 0 / 1.337 GB, free: 6.09 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004206/0.3734, allocations: 456.2 kB / 1.337 GB, free: 5.641 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001364/0.3748, allocations: 1.56 MB / 1.339 GB, free: 4.004 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.367e-05/0.3748, allocations: 59.34 kB / 1.339 GB, free: 3.926 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.167e-05/0.3748, allocations: 3.984 kB / 1.339 GB, free: 3.922 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.762e-05/0.3749, allocations: 7.562 kB / 1.339 GB, free: 3.914 MB / 1.029 GB Notification: Performance of SimCode: time 3.1e-07/0.3749, allocations: 4 kB / 1.339 GB, free: 3.91 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.031/0.4059, allocations: 2.406 MB / 1.341 GB, free: 1.645 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.54, allocations: 0 / 1.341 GB, free: 1.645 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.103479456010973]