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.0008688/0.0008688, 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.001034/0.001034, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.9495/0.9495, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.782/1.782, allocations: 377.9 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.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: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 3.938 kB / 0.981 GB, free: 2.59 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.142e-05/2.348e-05, allocations: 2.281 kB / 0.981 GB, free: 2.586 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.001647/0.001671, allocations: 1.278 MB / 0.9822 GB, free: 1.297 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0008235/0.002494, allocations: 0.8258 MB / 0.983 GB, free: 480 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.367e-05/0.002518, allocations: 0 / 0.983 GB, free: 480 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.087e-05/0.002549, allocations: 3.984 kB / 0.983 GB, free: 476 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.0002292/0.002778, allocations: 11.92 kB / 0.983 GB, free: 464 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001325/0.00291, allocations: 57.17 kB / 0.9831 GB, free: 408 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 6.756e-05/0.002978, allocations: 19.92 kB / 0.9831 GB, free: 388 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 3.603e-05/0.003014, allocations: 4 kB / 0.9831 GB, free: 384 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 8.02e-05/0.003094, allocations: 19.97 kB / 0.9831 GB, free: 364 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 7.712e-05/0.003171, allocations: 10.52 kB / 0.9831 GB, free: 356 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.582e-05/0.003187, allocations: 0 / 0.9831 GB, free: 356 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 3.468e-05/0.003222, allocations: 4 kB / 0.9831 GB, free: 352 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 4.329e-05/0.003265, allocations: 11.97 kB / 0.9832 GB, free: 340 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.3e-05/0.003288, allocations: 8 kB / 0.9832 GB, free: 332 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 9.114e-05/0.003379, allocations: 27.84 kB / 0.9832 GB, free: 304 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.003381, allocations: 0 / 0.9832 GB, free: 304 kB / 0.9323 GB Notification: Performance of FrontEnd: time 1.022e-06/0.003382, allocations: 0 / 0.9832 GB, free: 304 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.597e-06/0.003386, allocations: 4 kB / 0.9832 GB, free: 300 kB / 0.9323 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.0002521/0.003638, allocations: 250.4 kB / 0.9834 GB, free: 16 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.003676, allocations: 15.97 kB / 0.9835 GB, free: 0 / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.139e-05/0.003727, allocations: 106 kB / 0.9836 GB, free: 15.89 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.177e-05/0.003779, allocations: 80.17 kB / 0.9836 GB, free: 15.81 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.421e-05/0.003873, allocations: 185.1 kB / 0.9838 GB, free: 15.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.048e-05/0.003914, allocations: 150.9 kB / 0.984 GB, free: 15.45 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.223e-05/0.003956, allocations: 154.9 kB / 0.9841 GB, free: 15.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.281e-05/0.004009, allocations: 105.5 kB / 0.9842 GB, free: 15.19 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.297e-05/0.004032, allocations: 83.45 kB / 0.9843 GB, free: 15.11 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.599e-05/0.004068, allocations: 154.9 kB / 0.9844 GB, free: 14.96 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.506e-05/0.004103, allocations: 162.7 kB / 0.9846 GB, free: 14.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.683e-05/0.00414, allocations: 154.5 kB / 0.9847 GB, free: 14.64 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000202/0.004342, allocations: 421 kB / 0.9851 GB, free: 14.19 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.427e-05/0.004406, allocations: 165.1 kB / 0.9853 GB, free: 14.02 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.423e-05/0.00443, allocations: 84.14 kB / 0.9854 GB, free: 13.93 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/0.00445, allocations: 75.28 kB / 0.9854 GB, free: 13.86 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.595e-05/0.004486, allocations: 113.8 kB / 0.9855 GB, free: 13.74 MB / 0.948 GB Notification: Performance of pre-optimization done (n=0): time 8.21e-07/0.004487, allocations: 0 / 0.9855 GB, free: 13.74 MB / 0.948 GB Notification: Performance of matching and sorting (n=0): time 5.737e-05/0.004545, allocations: 29.7 kB / 0.9856 GB, free: 13.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.585e-05/0.00459, allocations: 130.6 kB / 0.9857 GB, free: 13.56 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.269e-05/0.004683, allocations: 113.8 kB / 0.9858 GB, free: 13.44 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.138e-05/0.004694, allocations: 25.7 kB / 0.9858 GB, free: 13.41 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.826e-05/0.004723, allocations: 80.14 kB / 0.9859 GB, free: 13.33 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.063e-06/0.004725, allocations: 4 kB / 0.9859 GB, free: 13.32 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.752e-05/0.004752, allocations: 21.66 kB / 0.9859 GB, free: 13.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7e-05/0.004822, allocations: 314.8 kB / 0.9862 GB, free: 12.98 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.403e-05/0.004836, allocations: 4 kB / 0.9862 GB, free: 12.98 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.741e-05/0.004864, allocations: 33.69 kB / 0.9863 GB, free: 12.94 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.964e-05/0.004893, allocations: 20.8 kB / 0.9863 GB, free: 12.91 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.004895, allocations: 96 / 0.9863 GB, free: 12.91 MB / 0.948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.131e-05/0.004986, allocations: 49.62 kB / 0.9863 GB, free: 12.86 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/0.004997, allocations: 4 kB / 0.9863 GB, free: 12.86 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.005003, allocations: 4 kB / 0.9863 GB, free: 12.85 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.859e-06/0.005013, allocations: 0 / 0.9863 GB, free: 12.85 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.714e-06/0.005014, allocations: 3.938 kB / 0.9864 GB, free: 12.85 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.005019, allocations: 0 / 0.9864 GB, free: 12.85 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.542e-05/0.005084, allocations: 0 / 0.9864 GB, free: 12.85 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.005095, allocations: 7.984 kB / 0.9864 GB, free: 12.84 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 (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 6.389e-05/0.005158, allocations: 181.1 kB / 0.9865 GB, free: 12.65 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.573e-05/0.005194, allocations: 117 kB / 0.9866 GB, free: 12.53 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.146e-05/0.005226, allocations: 108.5 kB / 0.9867 GB, free: 12.42 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.903e-05/0.005265, allocations: 176.3 kB / 0.9869 GB, free: 12.24 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.573e-05/0.00531, allocations: 196.2 kB / 0.9871 GB, free: 12.04 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-05/0.005348, allocations: 176.3 kB / 0.9873 GB, free: 11.86 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000142/0.00549, allocations: 380.2 kB / 0.9876 GB, free: 11.44 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.409e-05/0.005514, allocations: 101 kB / 0.9877 GB, free: 11.34 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.353e-05/0.005538, allocations: 105 kB / 0.9878 GB, free: 11.23 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.025e-05/0.005578, allocations: 180.2 kB / 0.988 GB, free: 11.04 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.307e-05/0.005621, allocations: 176.3 kB / 0.9882 GB, free: 10.86 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.936e-05/0.005661, allocations: 184.5 kB / 0.9883 GB, free: 10.68 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.204e-05/0.005703, allocations: 192.2 kB / 0.9885 GB, free: 10.48 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.134e-05/0.005794, allocations: 307.7 kB / 0.9888 GB, free: 10.16 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.715e-05/0.005841, allocations: 112.9 kB / 0.9889 GB, free: 10.04 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.393e-05/0.005895, allocations: 184.2 kB / 0.9891 GB, free: 9.852 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.153e-05/0.005947, allocations: 109 kB / 0.9892 GB, free: 9.738 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.688e-05/0.005994, allocations: 184.1 kB / 0.9894 GB, free: 9.551 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.541e-05/0.006019, allocations: 101 kB / 0.9895 GB, free: 9.445 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.493e-05/0.006054, allocations: 91.27 kB / 0.9896 GB, free: 9.355 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.006054, allocations: 0 / 0.9896 GB, free: 9.355 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001482/0.006202, allocations: 4 kB / 0.9896 GB, free: 9.352 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.0003683/0.00657, allocations: 0.8201 MB / 0.9904 GB, free: 8.504 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 5.987e-05/0.00663, allocations: 7.984 kB / 0.9904 GB, free: 8.496 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.006632, allocations: 0 / 0.9904 GB, free: 8.496 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.082e-06/0.006633, allocations: 0 / 0.9904 GB, free: 8.496 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002374/0.00687, allocations: 464.2 kB / 0.9908 GB, free: 8.039 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006908/0.007561, allocations: 1.297 MB / 0.9921 GB, free: 6.66 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.771e-05/0.007599, allocations: 63.55 kB / 0.9921 GB, free: 6.578 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 1.637e-05/0.007615, allocations: 3.984 kB / 0.9922 GB, free: 6.574 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.369e-05/0.007639, allocations: 12.5 kB / 0.9922 GB, free: 6.562 MB / 0.948 GB Notification: Performance of SimCode: time 5.11e-07/0.007639, allocations: 0 / 0.9922 GB, free: 6.562 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01468/0.02232, allocations: 1.935 MB / 0.9941 GB, free: 4.793 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.809/6.832, allocations: 7.984 kB / 0.9941 GB, free: 4.785 MB / 0.948 GB " [Timeout remaining time 293] (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/jenkins/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: 11.18468402326107]