Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.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.001681/0.001681, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.002058/0.002058, allocations: 216.4 kB / 22.25 MB, free: 5.117 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.524/1.524, allocations: 230.6 MB / 256 MB, free: 7.996 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.095/3.095, allocations: 0.49 GB / 0.7951 GB, free: 33.3 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.GetTimeSpanTMY3,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",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.002015/0.002015, allocations: 69.64 kB / 1.154 GB, free: 25.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3292/0.3312, allocations: 176.1 MB / 1.326 GB, free: 1.934 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.00251/0.3337, allocations: 1.277 MB / 1.327 GB, free: 0.6484 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001287/0.335, allocations: 0.834 MB / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.882e-05/0.335, allocations: 0 / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.593e-05/0.3351, allocations: 3.938 kB / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002136/0.3353, allocations: 7.984 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002008/0.3355, allocations: 51.86 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.369e-05/0.3356, allocations: 19.92 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.857e-05/0.3356, allocations: 0 / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 7.029e-05/0.3357, allocations: 19.91 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001337/0.3358, allocations: 16 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.496e-05/0.3358, allocations: 0 / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.301e-05/0.3359, allocations: 4 kB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.517e-05/0.3359, allocations: 11.97 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.017e-05/0.3359, allocations: 7.938 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 9.461e-05/0.336, allocations: 32.06 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.336, allocations: 0 / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.222e-06/0.336, allocations: 0 / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.336, allocations: 0 / 1.328 GB, free: 15.64 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.0003098/0.3364, allocations: 250.4 kB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.3364, allocations: 12.03 kB / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.363e-05/0.3364, allocations: 106 kB / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.676e-05/0.3365, allocations: 80.22 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001338/0.3367, allocations: 193.8 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.271e-05/0.3367, allocations: 150.9 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.943e-05/0.3368, allocations: 154.9 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.465e-05/0.3369, allocations: 109.5 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.736e-05/0.3369, allocations: 79.22 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.548e-05/0.337, allocations: 154.5 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-05/0.337, allocations: 150.6 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.875e-05/0.3371, allocations: 154.6 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003003/0.3374, allocations: 429 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.344e-05/0.3375, allocations: 169.1 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.94e-05/0.3375, allocations: 84.08 kB / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.525e-05/0.3375, allocations: 75.28 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.098e-05/0.3376, allocations: 105.8 kB / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 8.51e-07/0.3376, allocations: 4 kB / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.313e-05/0.3377, allocations: 29.64 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.94e-05/0.3378, allocations: 138.6 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.3379, allocations: 105.9 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.3379, allocations: 25.7 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.591e-05/0.3379, allocations: 84.12 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.573e-06/0.3379, allocations: 0 / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.514e-05/0.338, allocations: 13.72 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.3381, allocations: 318.8 kB / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.019e-05/0.3381, allocations: 3.984 kB / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.652e-05/0.3381, allocations: 15.94 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.493e-05/0.3382, allocations: 12.86 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3382, allocations: 0 / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001075/0.3383, allocations: 45.62 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.3383, allocations: 7.938 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.3383, allocations: 4.125 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.3383, allocations: 0 / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.62e-07/0.3383, allocations: 0 / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.3383, allocations: 0 / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.556e-05/0.3384, allocations: 7.984 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.3384, allocations: 4 kB / 1.331 GB, free: 12.22 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 (1): * Single equations (assignments): 0 * Array equations: 1 * 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.0001107/0.3385, allocations: 189.1 kB / 1.331 GB, free: 12.03 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.803e-05/0.3386, allocations: 108.9 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.996e-05/0.3387, allocations: 108.5 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-05/0.3387, allocations: 188.2 kB / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.442e-05/0.3388, allocations: 180.3 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.148e-05/0.3389, allocations: 176.3 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000257/0.3391, allocations: 376.2 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.363e-05/0.3392, allocations: 109.2 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.578e-05/0.3392, allocations: 104.9 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.614e-05/0.3393, allocations: 188.4 kB / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.897e-05/0.3394, allocations: 188.3 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.518e-05/0.3395, allocations: 180.2 kB / 1.333 GB, free: 10.03 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.057e-05/0.3395, allocations: 176.3 kB / 1.333 GB, free: 9.848 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001526/0.3397, allocations: 307.8 kB / 1.334 GB, free: 9.523 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.17e-05/0.3397, allocations: 116.9 kB / 1.334 GB, free: 9.402 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.942e-05/0.3398, allocations: 180.2 kB / 1.334 GB, free: 9.219 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.878e-05/0.3399, allocations: 105 kB / 1.334 GB, free: 9.109 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.254e-05/0.34, allocations: 192.2 kB / 1.334 GB, free: 8.914 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.164e-05/0.34, allocations: 101 kB / 1.334 GB, free: 8.809 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.881e-05/0.3401, allocations: 83.27 kB / 1.334 GB, free: 8.727 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3401, allocations: 0 / 1.334 GB, free: 8.727 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002349/0.3403, allocations: 4 kB / 1.334 GB, free: 8.723 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.0006264/0.3409, allocations: 0.8378 MB / 1.335 GB, free: 7.859 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.698e-05/0.341, allocations: 8 kB / 1.335 GB, free: 7.852 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.341, allocations: 0 / 1.335 GB, free: 7.852 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.963e-06/0.341, allocations: 0 / 1.335 GB, free: 7.852 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003777/0.3414, allocations: 459.8 kB / 1.336 GB, free: 7.398 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/0.3425, allocations: 1.298 MB / 1.337 GB, free: 6.02 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002741/0.3428, allocations: 0.6768 MB / 1.338 GB, free: 5.316 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.926e-05/0.3428, allocations: 0 / 1.338 GB, free: 5.316 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.632e-05/0.3428, allocations: 7.438 kB / 1.338 GB, free: 5.309 MB / 1.029 GB Notification: Performance of SimCode: time 4.6e-07/0.3428, allocations: 0 / 1.338 GB, free: 5.309 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02747/0.3703, allocations: 1.356 MB / 1.339 GB, free: 4.102 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.51/10.88, allocations: 14.78 kB / 1.339 GB, free: 4.09 MB / 1.029 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_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_GetTimeSpanTMY3.fmu > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.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.581833593998454]