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.00114/0.00114, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0009548/0.0009548, allocations: 169.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.8949/0.8949, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.745/1.745, allocations: 377.8 MB / 0.6221 GB, free: 8.641 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 0.981 GB, free: 2.551 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.076e-05/2.287e-05, allocations: 2.281 kB / 0.981 GB, free: 2.547 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.001699/0.001722, allocations: 1.267 MB / 0.9822 GB, free: 1.27 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001027/0.002749, allocations: 1.103 MB / 0.9833 GB, free: 164 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.54e-05/0.002774, allocations: 0 / 0.9833 GB, free: 164 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 1.629e-05/0.002791, allocations: 0 / 0.9833 GB, free: 164 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.0003869/0.003178, allocations: 111.5 kB / 0.9834 GB, free: 52 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 3.637e-06/0.003181, allocations: 0 / 0.9834 GB, free: 52 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 3.807e-05/0.003219, allocations: 4 kB / 0.9834 GB, free: 48 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 4.48e-05/0.003264, allocations: 3.984 kB / 0.9834 GB, free: 44 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 2.361e-05/0.003288, allocations: 0 / 0.9834 GB, free: 44 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 4.691e-05/0.003335, allocations: 6.578 kB / 0.9834 GB, free: 40 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 7.595e-06/0.003342, allocations: 0 / 0.9834 GB, free: 40 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001758/0.003518, allocations: 115.7 kB / 0.9835 GB, free: 15.93 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 6.042e-06/0.003524, allocations: 0 / 0.9835 GB, free: 15.93 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 1.099e-05/0.003535, allocations: 0 / 0.9835 GB, free: 15.93 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001671/0.003702, allocations: 119.7 kB / 0.9836 GB, free: 15.81 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.003704, allocations: 0 / 0.9836 GB, free: 15.81 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.303e-06/0.003706, allocations: 3.938 kB / 0.9836 GB, free: 15.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.00371, allocations: 0 / 0.9836 GB, free: 15.8 MB / 0.948 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.000273/0.003983, allocations: 270.1 kB / 0.9839 GB, free: 15.51 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.004024, allocations: 8.031 kB / 0.9839 GB, free: 15.5 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.095e-05/0.004065, allocations: 106 kB / 0.984 GB, free: 15.39 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.689e-05/0.004112, allocations: 88.22 kB / 0.9841 GB, free: 15.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.004222, allocations: 181.1 kB / 0.9842 GB, free: 15.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.062e-05/0.004263, allocations: 150.9 kB / 0.9844 GB, free: 14.95 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.69e-05/0.0043, allocations: 154.9 kB / 0.9845 GB, free: 14.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.506e-05/0.004355, allocations: 105.5 kB / 0.9846 GB, free: 14.69 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.406e-05/0.004379, allocations: 75.47 kB / 0.9847 GB, free: 14.62 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.989e-05/0.004419, allocations: 162.4 kB / 0.9849 GB, free: 14.46 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.59e-05/0.004455, allocations: 150.6 kB / 0.985 GB, free: 14.31 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.288e-05/0.004498, allocations: 162.5 kB / 0.9852 GB, free: 14.15 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002056/0.004703, allocations: 413 kB / 0.9856 GB, free: 13.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.527e-05/0.004779, allocations: 173.1 kB / 0.9857 GB, free: 13.52 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.56e-05/0.004804, allocations: 84.14 kB / 0.9858 GB, free: 13.44 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.445e-05/0.004829, allocations: 79.28 kB / 0.9859 GB, free: 13.36 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.75e-05/0.004866, allocations: 113.8 kB / 0.986 GB, free: 13.24 MB / 0.948 GB Notification: Performance of pre-optimization done (n=0): time 6.61e-07/0.004867, allocations: 0 / 0.986 GB, free: 13.24 MB / 0.948 GB Notification: Performance of matching and sorting (n=0): time 5.76e-05/0.004924, allocations: 29.64 kB / 0.986 GB, free: 13.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/0.004972, allocations: 126.7 kB / 0.9861 GB, free: 13.07 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.188e-05/0.005054, allocations: 97.84 kB / 0.9862 GB, free: 12.96 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.015e-06/0.005062, allocations: 25.7 kB / 0.9863 GB, free: 12.93 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.594e-05/0.005088, allocations: 84.14 kB / 0.9863 GB, free: 12.84 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.633e-06/0.00509, allocations: 0 / 0.9863 GB, free: 12.84 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.785e-05/0.005108, allocations: 17.84 kB / 0.9864 GB, free: 12.82 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.415e-05/0.005182, allocations: 310.8 kB / 0.9866 GB, free: 12.51 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.531e-06/0.005187, allocations: 0 / 0.9866 GB, free: 12.51 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.407e-06/0.005191, allocations: 0 / 0.9866 GB, free: 12.51 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.123e-05/0.005212, allocations: 75.28 kB / 0.9867 GB, free: 12.43 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.941e-05/0.005231, allocations: 79.22 kB / 0.9868 GB, free: 12.36 MB / 0.948 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.562e-05/0.005267, allocations: 33.69 kB / 0.9868 GB, free: 12.32 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.778e-05/0.005295, allocations: 79.28 kB / 0.9869 GB, free: 12.24 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.128e-05/0.005316, allocations: 83.22 kB / 0.987 GB, free: 12.16 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.439e-05/0.00536, allocations: 154.5 kB / 0.9871 GB, free: 12 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.913e-05/0.00538, allocations: 79.33 kB / 0.9872 GB, free: 11.93 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.801e-05/0.005418, allocations: 166.5 kB / 0.9874 GB, free: 11.76 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.077e-05/0.005468, allocations: 75.28 kB / 0.9874 GB, free: 11.69 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.701e-05/0.005485, allocations: 75.28 kB / 0.9875 GB, free: 11.61 MB / 0.948 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 8.576e-05/0.005571, allocations: 264.4 kB / 0.9878 GB, free: 11.34 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.093e-05/0.005612, allocations: 104.9 kB / 0.9879 GB, free: 11.23 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.739e-05/0.005649, allocations: 112.1 kB / 0.988 GB, free: 11.12 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.943e-05/0.005699, allocations: 184.2 kB / 0.9881 GB, free: 10.93 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-05/0.005747, allocations: 176.3 kB / 0.9883 GB, free: 10.75 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-05/0.005797, allocations: 184.2 kB / 0.9885 GB, free: 10.57 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001436/0.00594, allocations: 372.2 kB / 0.9888 GB, free: 10.15 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.47e-05/0.005965, allocations: 108.9 kB / 0.9889 GB, free: 10.04 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.615e-05/0.005991, allocations: 108.9 kB / 0.9891 GB, free: 9.926 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.461e-05/0.006036, allocations: 180.2 kB / 0.9892 GB, free: 9.742 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.617e-05/0.006082, allocations: 180.2 kB / 0.9894 GB, free: 9.559 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.436e-05/0.006126, allocations: 184.2 kB / 0.9896 GB, free: 9.371 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.23e-05/0.006169, allocations: 180.3 kB / 0.9897 GB, free: 9.188 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.993e-05/0.006269, allocations: 315.7 kB / 0.99 GB, free: 8.855 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.026e-05/0.006299, allocations: 105 kB / 0.9901 GB, free: 8.746 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.097e-05/0.00635, allocations: 184.1 kB / 0.9903 GB, free: 8.559 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.244e-05/0.006402, allocations: 105 kB / 0.9904 GB, free: 8.449 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.858e-05/0.006451, allocations: 188.2 kB / 0.9906 GB, free: 8.258 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.38e-05/0.006475, allocations: 105 kB / 0.9907 GB, free: 8.148 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.433e-05/0.006509, allocations: 79.28 kB / 0.9908 GB, free: 8.07 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.006509, allocations: 0 / 0.9908 GB, free: 8.07 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000251/0.00676, allocations: 39.8 kB / 0.9908 GB, free: 8.031 MB / 0.948 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.0007386/0.007499, allocations: 0.9625 MB / 0.9918 GB, free: 7.09 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 4.491e-05/0.007544, allocations: 7.875 kB / 0.9918 GB, free: 7.082 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.007546, allocations: 0 / 0.9918 GB, free: 7.082 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.037e-06/0.00755, allocations: 8 kB / 0.9918 GB, free: 7.074 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002985/0.007848, allocations: 459.7 kB / 0.9922 GB, free: 6.621 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009975/0.008846, allocations: 1.563 MB / 0.9937 GB, free: 4.977 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.06e-05/0.008896, allocations: 51.36 kB / 0.9938 GB, free: 4.906 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 1.594e-05/0.008912, allocations: 4 kB / 0.9938 GB, free: 4.902 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.494e-05/0.008937, allocations: 8.5 kB / 0.9938 GB, free: 4.895 MB / 0.948 GB Notification: Performance of SimCode: time 5.31e-07/0.008938, allocations: 0 / 0.9938 GB, free: 4.895 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01796/0.0269, allocations: 2.535 MB / 0.9963 GB, free: 2.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.728/6.755, allocations: 13.67 kB / 0.9963 GB, free: 2.496 MB / 0.948 GB " [Timeout remaining time 293] (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/jenkins/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: 10.963783784769475]