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.001523/0.001523, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001719/0.001719, allocations: 217.9 kB / 22.26 MB, free: 5.125 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.42/1.42, allocations: 230.6 MB / 256 MB, free: 7.977 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.061/3.061, allocations: 0.49 GB / 0.7951 GB, free: 33.52 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.001971/0.001971, allocations: 61.39 kB / 1.154 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3481/0.3501, allocations: 176.1 MB / 1.326 GB, free: 1.996 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002401/0.3525, allocations: 1.269 MB / 1.327 GB, free: 0.7188 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001723/0.3542, allocations: 1.103 MB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.554e-05/0.3543, allocations: 0 / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 1.486e-05/0.3543, allocations: 0 / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000441/0.3547, allocations: 111.5 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 4.188e-06/0.3547, allocations: 0 / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 4.094e-05/0.3548, allocations: 3.938 kB / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.153e-05/0.3548, allocations: 4 kB / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 1.405e-05/0.3548, allocations: 4 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001/0.3549, allocations: 3.828 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.143e-06/0.3549, allocations: 0 / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002334/0.3551, allocations: 131.8 kB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.919e-06/0.3552, allocations: 0 / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 1.305e-05/0.3552, allocations: 0 / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001984/0.3554, allocations: 107.9 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3554, allocations: 0 / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3554, allocations: 0 / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.3554, allocations: 0 / 1.329 GB, free: 15.25 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.0003235/0.3557, allocations: 282 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.3557, allocations: 8.031 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.812e-05/0.3558, allocations: 106 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.2e-05/0.3559, allocations: 80.22 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000151/0.356, allocations: 181.8 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.78e-05/0.3561, allocations: 150.9 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.287e-05/0.3561, allocations: 162.9 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.863e-05/0.3562, allocations: 112.9 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.085e-05/0.3562, allocations: 75.28 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.742e-05/0.3563, allocations: 150.6 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.124e-05/0.3564, allocations: 150.6 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.505e-05/0.3564, allocations: 154.5 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002979/0.3567, allocations: 421 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 8.958e-05/0.3568, allocations: 169.1 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.729e-05/0.3569, allocations: 80.14 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.119e-05/0.3569, allocations: 79.22 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.082e-05/0.357, allocations: 113.8 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.357, allocations: 0 / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.176e-05/0.357, allocations: 29.7 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.066e-05/0.3571, allocations: 134.7 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.3572, allocations: 93.86 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.3572, allocations: 29.64 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.915e-05/0.3572, allocations: 80.27 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.437e-06/0.3573, allocations: 7.984 kB / 1.331 GB, free: 12.28 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.93e-05/0.3573, allocations: 9.719 kB / 1.331 GB, free: 12.26 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.3574, allocations: 310.8 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.09e-06/0.3574, allocations: 0 / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.598e-06/0.3574, allocations: 4 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.383e-05/0.3574, allocations: 79.22 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-05/0.3575, allocations: 79.28 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.814e-05/0.3575, allocations: 33.62 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.644e-05/0.3576, allocations: 87.28 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.656e-05/0.3576, allocations: 79.22 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.968e-05/0.3577, allocations: 154.5 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.253e-05/0.3577, allocations: 75.41 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-05/0.3578, allocations: 158.5 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.917e-05/0.3579, allocations: 79.3 kB / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.909e-05/0.3579, allocations: 83.22 kB / 1.332 GB, free: 11.04 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.0001409/0.3581, allocations: 264.4 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.373e-05/0.3582, allocations: 108.9 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.08e-05/0.3582, allocations: 112.1 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.243e-05/0.3583, allocations: 180.3 kB / 1.333 GB, free: 10.35 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.437e-05/0.3584, allocations: 184.3 kB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-05/0.3585, allocations: 188.2 kB / 1.333 GB, free: 9.973 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002324/0.3587, allocations: 364.3 kB / 1.334 GB, free: 9.566 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.529e-05/0.3587, allocations: 112.9 kB / 1.334 GB, free: 9.449 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.056e-05/0.3588, allocations: 105 kB / 1.334 GB, free: 9.34 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.063e-05/0.3589, allocations: 176.3 kB / 1.334 GB, free: 9.16 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.215e-05/0.359, allocations: 188.2 kB / 1.334 GB, free: 8.969 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001039/0.3591, allocations: 180.3 kB / 1.335 GB, free: 8.785 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001202/0.3592, allocations: 180.2 kB / 1.335 GB, free: 8.602 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001657/0.3594, allocations: 303.8 kB / 1.335 GB, free: 8.281 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.584e-05/0.3594, allocations: 116.8 kB / 1.335 GB, free: 8.16 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.504e-05/0.3595, allocations: 176.3 kB / 1.335 GB, free: 7.98 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.816e-05/0.3596, allocations: 108.9 kB / 1.335 GB, free: 7.867 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.958e-05/0.3597, allocations: 184.2 kB / 1.336 GB, free: 7.68 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.291e-05/0.3597, allocations: 101 kB / 1.336 GB, free: 7.574 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.88e-05/0.3598, allocations: 87.28 kB / 1.336 GB, free: 7.488 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3598, allocations: 0 / 1.336 GB, free: 7.488 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003254/0.3601, allocations: 43.73 kB / 1.336 GB, free: 7.445 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.0009045/0.361, allocations: 0.9452 MB / 1.337 GB, free: 6.508 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 4.178e-05/0.361, allocations: 4 kB / 1.337 GB, free: 6.504 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.361, allocations: 0 / 1.337 GB, free: 6.504 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.206e-06/0.3611, allocations: 3.938 kB / 1.337 GB, free: 6.5 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003759/0.3614, allocations: 463.7 kB / 1.337 GB, free: 6.043 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00124/0.3627, allocations: 1.556 MB / 1.339 GB, free: 4.41 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002776/0.3629, allocations: 0.6729 MB / 1.339 GB, free: 3.711 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.268e-06/0.363, allocations: 0 / 1.339 GB, free: 3.711 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.388e-05/0.363, allocations: 7.438 kB / 1.339 GB, free: 3.703 MB / 1.029 GB Notification: Performance of SimCode: time 4.01e-07/0.363, allocations: 0 / 1.339 GB, free: 3.703 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03078/0.3938, allocations: 1.981 MB / 1.341 GB, free: 1.871 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.5/10.9, allocations: 6.641 kB / 1.341 GB, free: 1.867 MB / 1.029 GB " [Timeout remaining time 289] (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: 17.579892392001057]