Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.000836/0.000836, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0009288/0.0009288, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.8969/0.8969, allocations: 177.2 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.651/1.651, allocations: 359 MB / 0.6037 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 0.9505 GB, free: 3.488 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.403e-05/2.592e-05, allocations: 5.094 kB / 0.9505 GB, free: 3.484 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002496/0.002522, allocations: 1.259 MB / 0.9517 GB, free: 2.207 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.00142/0.003942, allocations: 1.092 MB / 0.9528 GB, free: 1.109 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.789e-05/0.00397, allocations: 4 kB / 0.9528 GB, free: 1.105 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.012e-05/0.00399, allocations: 0 / 0.9528 GB, free: 1.105 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0005109/0.004501, allocations: 111.5 kB / 0.9529 GB, free: 0.9961 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 4.538e-06/0.004505, allocations: 0 / 0.9529 GB, free: 0.9961 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 4.517e-05/0.00455, allocations: 11.92 kB / 0.9529 GB, free: 0.9844 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.626e-05/0.004596, allocations: 0 / 0.9529 GB, free: 0.9844 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 2.635e-05/0.004623, allocations: 0 / 0.9529 GB, free: 0.9844 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.925e-05/0.004672, allocations: 4 kB / 0.9529 GB, free: 0.9805 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 8.115e-06/0.00468, allocations: 0 / 0.9529 GB, free: 0.9805 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002268/0.004907, allocations: 115.7 kB / 0.953 GB, free: 0.8672 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 9.528e-06/0.004917, allocations: 4 kB / 0.953 GB, free: 0.8633 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.157e-05/0.004928, allocations: 4 kB / 0.953 GB, free: 0.8594 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002078/0.005136, allocations: 115.7 kB / 0.9532 GB, free: 0.7461 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.514e-06/0.005138, allocations: 3.938 kB / 0.9532 GB, free: 0.7422 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.603e-06/0.00514, allocations: 0 / 0.9532 GB, free: 0.7422 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.005144, allocations: 3.938 kB / 0.9532 GB, free: 0.7383 MB / 0.9011 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.0002996/0.005444, allocations: 270 kB / 0.9534 GB, free: 456 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.005488, allocations: 8.031 kB / 0.9534 GB, free: 448 kB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.85e-05/0.005537, allocations: 106 kB / 0.9535 GB, free: 332 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.551e-05/0.005592, allocations: 84.22 kB / 0.9536 GB, free: 248 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.00572, allocations: 181.1 kB / 0.9538 GB, free: 40 kB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.097e-05/0.005781, allocations: 154.9 kB / 0.9539 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001172/0.005898, allocations: 154.9 kB / 0.9541 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.379e-05/0.005962, allocations: 109.5 kB / 0.9542 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.744e-05/0.005989, allocations: 75.47 kB / 0.9543 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.8e-05/0.006037, allocations: 154.5 kB / 0.9544 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.172e-05/0.006079, allocations: 150.6 kB / 0.9545 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.555e-05/0.006125, allocations: 154.6 kB / 0.9547 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002593/0.006384, allocations: 417 kB / 0.9551 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 7.746e-05/0.006461, allocations: 173.1 kB / 0.9553 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.887e-05/0.00649, allocations: 80.14 kB / 0.9553 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.353e-05/0.006514, allocations: 75.28 kB / 0.9554 GB, free: 14.31 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.112e-05/0.006555, allocations: 117.8 kB / 0.9555 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=0): time 1.153e-06/0.006556, allocations: 0 / 0.9555 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of matching and sorting (n=0): time 7.053e-05/0.006627, allocations: 29.64 kB / 0.9555 GB, free: 14.15 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.031e-05/0.006677, allocations: 130.6 kB / 0.9557 GB, free: 14.01 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.646e-05/0.006773, allocations: 101.8 kB / 0.9558 GB, free: 13.9 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/0.006784, allocations: 25.7 kB / 0.9558 GB, free: 13.87 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 2.488e-05/0.006809, allocations: 80.14 kB / 0.9559 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-06/0.006811, allocations: 0 / 0.9559 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.612e-05/0.006837, allocations: 17.72 kB / 0.9559 GB, free: 13.76 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.92e-05/0.006927, allocations: 310.8 kB / 0.9562 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.909e-06/0.006931, allocations: 4.125 kB / 0.9562 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.919e-06/0.006936, allocations: 4 kB / 0.9562 GB, free: 13.44 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.326e-05/0.00696, allocations: 75.28 kB / 0.9563 GB, free: 13.37 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-05/0.006979, allocations: 75.28 kB / 0.9563 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.169e-05/0.007031, allocations: 29.7 kB / 0.9564 GB, free: 13.26 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.347e-05/0.007064, allocations: 79.28 kB / 0.9564 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.942e-05/0.007093, allocations: 91.14 kB / 0.9565 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.126e-05/0.007145, allocations: 150.6 kB / 0.9567 GB, free: 12.94 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.401e-05/0.007169, allocations: 83.27 kB / 0.9567 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.242e-05/0.007211, allocations: 158.6 kB / 0.9569 GB, free: 12.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.731e-05/0.007278, allocations: 79.28 kB / 0.957 GB, free: 12.62 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.343e-05/0.007302, allocations: 79.22 kB / 0.957 GB, free: 12.55 MB / 0.9167 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 9.714e-05/0.007399, allocations: 260.4 kB / 0.9573 GB, free: 12.28 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.072e-05/0.00745, allocations: 108.9 kB / 0.9574 GB, free: 12.17 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.166e-05/0.007491, allocations: 112 kB / 0.9575 GB, free: 12.05 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.229e-05/0.007544, allocations: 184.3 kB / 0.9577 GB, free: 11.86 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.335e-05/0.007597, allocations: 176.3 kB / 0.9578 GB, free: 11.68 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.635e-05/0.007653, allocations: 180.2 kB / 0.958 GB, free: 11.5 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001859/0.007839, allocations: 372.3 kB / 0.9584 GB, free: 11.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-05/0.007873, allocations: 108.9 kB / 0.9585 GB, free: 10.97 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.037e-05/0.007903, allocations: 109 kB / 0.9586 GB, free: 10.86 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.192e-05/0.007955, allocations: 180.2 kB / 0.9588 GB, free: 10.68 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.642e-05/0.008012, allocations: 188.1 kB / 0.9589 GB, free: 10.48 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.82e-05/0.00806, allocations: 180.3 kB / 0.9591 GB, free: 10.3 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.656e-05/0.008106, allocations: 180.2 kB / 0.9593 GB, free: 10.12 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001168/0.008223, allocations: 307.8 kB / 0.9596 GB, free: 9.793 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.572e-05/0.008259, allocations: 109 kB / 0.9597 GB, free: 9.68 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.666e-05/0.008315, allocations: 180.2 kB / 0.9598 GB, free: 9.496 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.128e-05/0.008387, allocations: 104.9 kB / 0.9599 GB, free: 9.387 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.99e-05/0.008437, allocations: 180.3 kB / 0.9601 GB, free: 9.203 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.208e-05/0.008469, allocations: 112.9 kB / 0.9602 GB, free: 9.086 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.085e-05/0.00851, allocations: 87.27 kB / 0.9603 GB, free: 9 MB / 0.9167 GB Notification: Performance of sort global known variables: time 8e-08/0.00851, allocations: 0 / 0.9603 GB, free: 9 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000362/0.008872, allocations: 35.81 kB / 0.9603 GB, free: 8.965 MB / 0.9167 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.001108/0.00998, allocations: 0.9614 MB / 0.9613 GB, free: 8.02 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 4.271e-05/0.01002, allocations: 3.938 kB / 0.9613 GB, free: 8.016 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.01002, allocations: 0 / 0.9613 GB, free: 8.016 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.717e-06/0.01003, allocations: 7.938 kB / 0.9613 GB, free: 8.008 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003419/0.01037, allocations: 455.7 kB / 0.9617 GB, free: 7.559 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001099/0.01147, allocations: 1.567 MB / 0.9633 GB, free: 5.91 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.936e-05/0.01152, allocations: 55.34 kB / 0.9633 GB, free: 5.836 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 1.1e-05/0.01153, allocations: 7.938 kB / 0.9633 GB, free: 5.828 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.382e-05/0.01155, allocations: 8.5 kB / 0.9633 GB, free: 5.82 MB / 0.9167 GB Notification: Performance of SimCode: time 6.21e-07/0.01155, allocations: 0 / 0.9633 GB, free: 5.82 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02122/0.03278, allocations: 2.532 MB / 0.9658 GB, free: 3.441 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.769/6.802, allocations: 8.266 kB / 0.9658 GB, free: 3.438 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.fmu > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 10.888548280112445]